{"$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":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AC1","name":"Text alternatives","shortDescription":{"text":"Text alternatives"},"helpUri":"https://codehealth.canine.dev/dimensions/AC1"},{"id":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC4","name":"Keyboard semantics","shortDescription":{"text":"Keyboard semantics"},"helpUri":"https://codehealth.canine.dev/dimensions/AC4"},{"id":"AC5","name":"ARIA correctness","shortDescription":{"text":"ARIA correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/AC5"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"C2","name":"Access Controls","shortDescription":{"text":"Access Controls"},"helpUri":"https://codehealth.canine.dev/dimensions/C2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R4","name":"Test Coverage","shortDescription":{"text":"Test Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/R4"},{"id":"R5","name":"Dependency Freshness","shortDescription":{"text":"Dependency Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/R5"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"extension-detail.ExtensionDetail (cyclomatic 115): extension-detail.ExtensionDetail has cyclomatic complexity 115 (threshold 15). Of this number, 45 points are the body\u0027s own statements and 70 belong to 25 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/extension-detail.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f8638cbf7ad8e12bddd297d740f1ab7c81e0a163d3c7bc0e0584eb6f77e2e63"}},{"ruleId":"D1","level":"warning","message":{"text":"marketplace.MarketplacePage (cyclomatic 94): marketplace.MarketplacePage has cyclomatic complexity 94 (threshold 15). Of this number, 52 points are the body\u0027s own statements and 42 belong to 9 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/marketplace.tsx"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"50db0d91b8ffc5b05ffb6687d6a977f6aab34c5e42b74284da83116ee5418779"}},{"ruleId":"D1","level":"warning","message":{"text":"audit.AuditPage (cyclomatic 77): audit.AuditPage has cyclomatic complexity 77 (threshold 15). Of this number, 35 points are the body\u0027s own statements and 42 belong to 23 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/audit.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"440cf46df2dababab74673ac2efd8c11187a8476c509eb7c3e4b5848c275edba"}},{"ruleId":"D1","level":"warning","message":{"text":"settings.SettingsPage (cyclomatic 69): settings.SettingsPage has cyclomatic complexity 69 (threshold 15). Most of this is not in the body itself: 14 of the 69 points are its own statements and the rest belongs to 17 function items inside it that branch (a function literal at line 389, a function literal at line 442, handleAddPath, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/settings.tsx"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"56ee867ca3b4515fffc38506b18aa8812180103aba392bd95614e091c8c995c4"}},{"ruleId":"D1","level":"warning","message":{"text":"install-dialog.InstallDialog (cyclomatic 69): install-dialog.InstallDialog has cyclomatic complexity 69 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 38 belong to 18 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/install-dialog.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"4598491e568704b8d4db00416d8c9a55cf9071219144aa55e24ebcb47bf40ec0"}},{"ruleId":"D1","level":"warning","message":{"text":"extension-store.useExtensionStore (cyclomatic 60): extension-store.useExtensionStore has cyclomatic complexity 60 (threshold 15). Of this number, 50 points are the body\u0027s own statements and 10 belong to 9 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/extension-store.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed82fbd7d570332b63003ed7da4af8855ddf08f52e01d96d67c682117ad1d9d1"}},{"ruleId":"D1","level":"warning","message":{"text":"hk_core::service::delete_extension (cyclomatic 50): hk_core::service::delete_extension has cyclomatic complexity 50 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/service.rs"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccae1f94e83f97612cd269b850032c9c9b62a83eb721ad5ab4b405917c57677c"}},{"ruleId":"D1","level":"warning","message":{"text":"bulk-install-dialog.BulkInstallDialog (cyclomatic 49): bulk-install-dialog.BulkInstallDialog has cyclomatic complexity 49 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 16 belong to 10 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/bulk-install-dialog.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"1499f81bd9f369dfd8438215fbffff5d8dd56fc41de8bd1bae511c6e6ca66577"}},{"ruleId":"D1","level":"warning","message":{"text":"marketplace-store.useMarketplaceStore (cyclomatic 49): marketplace-store.useMarketplaceStore has cyclomatic complexity 49 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 17 belong to 12 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/marketplace-store.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"308f9feb99f4a8ccbf2f1ecd0e14cd849e0c8390a55d22ea85892e5bbdb60351"}},{"ruleId":"D1","level":"warning","message":{"text":"overview.OverviewPage (cyclomatic 47): overview.OverviewPage has cyclomatic complexity 47 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 23 belong to 10 function literals inside it that branch. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/overview.tsx"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"b19bb407f551119c6d3735c60069ca3afa412ccfe030d843ffe4f175f50a74d0"}},{"ruleId":"D1","level":"warning","message":{"text":"config-file-entry.ConfigFileEntry (cyclomatic 42): config-file-entry.ConfigFileEntry has cyclomatic complexity 42 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 11 belong to 6 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/agents/config-file-entry.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2e8186268e63405848fd8d0288cc0ffecf76706bb8a012b74a51c4a53f8183a"}},{"ruleId":"D1","level":"warning","message":{"text":"delete-dialog.DeleteDialog (cyclomatic 41): delete-dialog.DeleteDialog has cyclomatic complexity 41 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 21 belong to 9 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/delete-dialog.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a6ed6da068e20cea232e7c4eeac6b8dcba0d4f386d74832b4d27645481aff2c"}},{"ruleId":"D1","level":"warning","message":{"text":"extension-table.ExtensionTable (cyclomatic 41): extension-table.ExtensionTable has cyclomatic complexity 41 (threshold 15). Most of this is not in the body itself: 9 of the 41 points are its own statements and the rest belongs to 17 function literals inside it that branch (lines 336, 58, 393, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/extension-table.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"e96427d8984a8bbb73fe2656de788f1f75b85b7218d9bf0a650e4d91f8f327aa"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-detail.AgentDetail (cyclomatic 40): agent-detail.AgentDetail has cyclomatic complexity 40 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 22 belong to 9 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/agents/agent-detail.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"af326c322daff45f73a20527bbbddaccb7f9e0d9e4f0713b4f0b92c788ceccb7"}},{"ruleId":"D1","level":"warning","message":{"text":"hk_core::scanner::scan_cli_binaries (cyclomatic 39): hk_core::scanner::scan_cli_binaries has cyclomatic complexity 39 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/scanner.rs"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b12322790241ba5cc2c3f6b8157c589eed36ddb5be7b58f412e54349e7cecf1"}},{"ruleId":"D1","level":"warning","message":{"text":"hk_core::service::get_extension_content (cyclomatic 36): hk_core::service::get_extension_content has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/service.rs"},"region":{"startLine":1135}}}],"partialFingerprints":{"codehealthFindingId/v1":"62d81b6310a340c74e54e9b8352bb6901a312b5c83ee4872d5c61a7893ebe1d8"}},{"ruleId":"D1","level":"warning","message":{"text":"App.App (cyclomatic 36): App.App has cyclomatic complexity 36 (threshold 15). Most of this is not in the body itself: 4 of the 36 points are its own statements and the rest belongs to 11 function literals inside it that branch (lines 141, 66, 75, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/App.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"86b4586d6a00df7464757e105ec870bf7d116d7c7bddbf011c2d896c260943c4"}},{"ruleId":"D1","level":"warning","message":{"text":"hk_desktop::commands::extensions::check_updates (cyclomatic 35): hk_desktop::commands::extensions::check_updates has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/extensions.rs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ecff4ad7b968fc6de58778cdef93a42b27c2e9ffa45c412adc0467e6ff682b1"}},{"ruleId":"D1","level":"warning","message":{"text":"hk_web::handlers::install::check_updates (cyclomatic 33): hk_web::handlers::install::check_updates has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-web/src/handlers/install.rs"},"region":{"startLine":954}}}],"partialFingerprints":{"codehealthFindingId/v1":"7399d0f1487d9529174ee8287f9ef06d6e61fcf384c77a1120bf00d77c847ca4"}},{"ruleId":"D1","level":"warning","message":{"text":"extensions.ExtensionsPage (cyclomatic 32): extensions.ExtensionsPage has cyclomatic complexity 32 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 11 belong to 5 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/extensions.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf05479890cdb10cea2b0f19c971fb4cd73d90fababa32243a9343d7d1590de6"}},{"ruleId":"D1","level":"warning","message":{"text":"extension-filters.ExtensionFilters (cyclomatic 30): extension-filters.ExtensionFilters has cyclomatic complexity 30 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 12 belong to 5 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/extension-filters.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"1020d55c1b8b1cbd3bf67a72b7c70e625164cd3c9a87e010e9793992bacee9fa"}},{"ruleId":"D1","level":"warning","message":{"text":"hk_core::deployer::remove_hook (cyclomatic 28): hk_core::deployer::remove_hook has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/deployer.rs"},"region":{"startLine":2286}}}],"partialFingerprints":{"codehealthFindingId/v1":"c282afc1ae7bf719211a5634ba8e29aad814205f715bdd0240451d25d6e03143"}},{"ruleId":"D1","level":"warning","message":{"text":"editor-configs-tab.EditorConfigsTab (cyclomatic 28): editor-configs-tab.EditorConfigsTab has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 11 of the 28 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 69, toggleSelectAll, a function literal at line 223, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/kits/editor-configs-tab.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"3620457f6d68a5ea521585a4eb07f6c9f5e7ef8f6a1606474ff048c6f573e5ff"}},{"ruleId":"D1","level":"warning","message":{"text":"kits.KitsPage (cyclomatic 27): kits.KitsPage has cyclomatic complexity 27 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 11 belong to 8 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/kits.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3be5ffc590996b3fb6cdf2d067a21e373412846066ac9b7f235e764dfc4d9ef"}},{"ruleId":"D1","level":"warning","message":{"text":"kit-detail-drawer.KitDetailDrawer (cyclomatic 27): kit-detail-drawer.KitDetailDrawer has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 11 of the 27 points are its own statements and the rest belongs to 9 function items inside it that branch (a function literal at line 282, a function literal at line 96, a function literal at line 440, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/kits/kit-detail-drawer.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"02fa5544d87063c558702950ca84b4e9f16289f25770762f9852c525f5ea2063"}},{"ruleId":"D1","level":"warning","message":{"text":"new-skills-dialog.NewSkillsDialog (cyclomatic 26): new-skills-dialog.NewSkillsDialog has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 12 of the 26 points are its own statements and the rest belongs to 10 function items inside it that branch (handleInstall, a function literal at line 45, a function literal at line 52, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/new-skills-dialog.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"4de5300ab8a0e9f56a28fcff9273a97c977cee15cdbb63c30ddb70288266a60b"}},{"ruleId":"D1","level":"warning","message":{"text":"hk_core::deployer::read_hook_config (cyclomatic 25): hk_core::deployer::read_hook_config has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/deployer.rs"},"region":{"startLine":3035}}}],"partialFingerprints":{"codehealthFindingId/v1":"003b4bccbec912d08a537d4a70b6dfa2d01f00e009e9e17b9b609565fff3195a"}},{"ruleId":"D1","level":"warning","message":{"text":"kit-editor-dialog.KitEditorDialog (cyclomatic 25): kit-editor-dialog.KitEditorDialog has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 9 of the 25 points are its own statements and the rest belongs to 10 function items inside it that branch (handleSave, a function literal at line 95, a function literal at line 169, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/kits/kit-editor-dialog.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"8abf9626248fd4094be97bffec096bc9d8de5a3e28798cd227e59e4453c692ac"}},{"ruleId":"D1","level":"warning","message":{"text":"hk_core::service::install_to_agent (cyclomatic 24): hk_core::service::install_to_agent has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/service.rs"},"region":{"startLine":1382}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdea30579a499d528a31638454932687e12e496704b8785106f15feb92cc4751"}},{"ruleId":"D1","level":"warning","message":{"text":"hk_core::scanner::infer_plugin_permissions (cyclomatic 23): hk_core::scanner::infer_plugin_permissions has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/scanner.rs"},"region":{"startLine":2032}}}],"partialFingerprints":{"codehealthFindingId/v1":"713690000b6fcd777e484faaed77371f0ff4bf4b317b9cbe88eb34354fac9054"}},{"ruleId":"D1","level":"warning","message":{"text":"hk_core::manager::toggle_mcp (cyclomatic 22): hk_core::manager::toggle_mcp has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/manager.rs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"c189bc7e9f83949f791d259fa9d14df1e4b7f56d7262358306fdab1a36c88fb2"}},{"ruleId":"D1","level":"warning","message":{"text":"scope-switcher-menu.ScopeSwitcherMenu (cyclomatic 22): scope-switcher-menu.ScopeSwitcherMenu has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 5 of the 22 points are its own statements and the rest belongs to 6 function items inside it that branch (isCurrent, a function literal at line 92, a function literal at line 73, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/scope-switcher-menu.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"1abf949e250fd3741bd92d995182f0f1129f0b227080c051ce232f408dbf3f80"}},{"ruleId":"D1","level":"warning","message":{"text":"editor-asset-tab.EditorAssetTab (cyclomatic 22): editor-asset-tab.EditorAssetTab has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 9 of the 22 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 133, a function literal at line 123, a function literal at line 296, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/kits/editor-asset-tab.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"87103b849933018e4e184b258082a367fa2ee5938c0c573f20c6d2c27320125b"}},{"ruleId":"D1","level":"warning","message":{"text":"install-plan.buildInstallPlan (cyclomatic 22): install-plan.buildInstallPlan has cyclomatic complexity 22 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 4 belong to 4 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/install-plan.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"e766e8be025b8d328d2975b63d6ebedd286e2847ebcc7c60b42154e07f336de6"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-config-store.useAgentConfigStore (cyclomatic 22): agent-config-store.useAgentConfigStore has cyclomatic complexity 22 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent 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":"src/stores/agent-config-store.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbdd7ca0191b07752d08977cf1ecea1da28647306d1a5606758ec38680f692e1"}},{"ruleId":"D1","level":"warning","message":{"text":"OverviewLive.OverviewLive (cyclomatic 22): OverviewLive.OverviewLive has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 4 of the 22 points are its own statements and the rest belongs to 8 function items inside it that branch (a function literal at line 137, focus, pointerMoved, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/src/components/landing/OverviewLive.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"43b88fff6de8ae7e202b3c9124d080021e08cd7c7e14cddf56b4f4e0170af9b4"}},{"ruleId":"D1","level":"warning","message":{"text":"install-dialog.InstallDialog (cyclomatic 21): install-dialog.InstallDialog has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (install-dialog.InstallDialog::runPreviewThenInstall) 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":"src/components/kits/install-dialog.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"98218911f3827b88ab149ec1b9b189c1b9b5aefb474179870a94cd7f9ca9b9ed"}},{"ruleId":"D1","level":"warning","message":{"text":"remove-from-project-dialog.RemoveFromProjectDialog (cyclomatic 21): remove-from-project-dialog.RemoveFromProjectDialog has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 7 of the 21 points are its own statements and the rest belongs to 6 function items inside it that branch (confirmRemove, a function literal at line 134, a function literal at line 79, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/kits/remove-from-project-dialog.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdf59d514810df6f3d9fc0a4371df77cb4be84ebe5f02a5639ea8efcbdc2abed"}},{"ruleId":"D1","level":"warning","message":{"text":"error-types.parseError (cyclomatic 21): error-types.parseError has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/error-types.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"4945261bc25f7dbe01974e17df362059052c9f4d88c907b176d78aebeccc8f28"}},{"ruleId":"D1","level":"warning","message":{"text":"errors.humanizeByMessage (cyclomatic 21): errors.humanizeByMessage has cyclomatic complexity 21 (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":"src/lib/errors.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"28c8cb40d93a2cacd2022da953ef08e84ec9187a2362bf584eb373549b3454de"}},{"ruleId":"D1","level":"warning","message":{"text":"hk_core::kits::install_plan::mcp_entry_exists (cyclomatic 20): hk_core::kits::install_plan::mcp_entry_exists has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/kits/install_plan.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"5322d62433feb89ce5bb5f5e50b6e6aed4e4ec81cb4f503c74146bd4b338753e"}},{"ruleId":"D1","level":"warning","message":{"text":"hk_core::scanner::parse_skill_frontmatter (cyclomatic 20): hk_core::scanner::parse_skill_frontmatter has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/scanner.rs"},"region":{"startLine":1630}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a0755e7abc87f5ec5c058367ff752db219b19495beee66713d0409b935c4b8d"}},{"ruleId":"D1","level":"warning","message":{"text":"hk_core::service::post_install_sync (cyclomatic 20): hk_core::service::post_install_sync has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/service.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"1131621b01515bef403a64898304c532b24546c551d9eb61bc87ef0b9d08939b"}},{"ruleId":"D1","level":"warning","message":{"text":"hk_core::manager::find_disabled_plugin_path (cyclomatic 19): hk_core::manager::find_disabled_plugin_path has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/manager.rs"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"75350a9fbf235453b03f4f7b2170c4a1fed02ba2a15e18fdf982127145ad44b8"}},{"ruleId":"D1","level":"warning","message":{"text":"extension-helpers.getCachedFiltered (cyclomatic 18): extension-helpers.getCachedFiltered has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/extension-helpers.ts"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d52dbf20ef185aac5847011081480dedee37d492392bc6157339f1bd5a3844f"}},{"ruleId":"D1","level":"warning","message":{"text":"scope-target-field.ScopeTargetField (cyclomatic 18): scope-target-field.ScopeTargetField has cyclomatic complexity 18 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/scope-target-field.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"1677f2da3671c5b0c6ba8c56403491b403f1af3424ff028e04186e8776300178"}},{"ruleId":"D1","level":"warning","message":{"text":"hk_cli::cmd_audit (cyclomatic 17): hk_cli::cmd_audit has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-cli/src/main.rs"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"a439d4d255b87c92810c0ee55d688f44ae0c6a6e84e8fc1b6b5ade44c2b8d9dc"}},{"ruleId":"D1","level":"warning","message":{"text":"hk_core::manager::resolve_and_copy_skill (cyclomatic 17): hk_core::manager::resolve_and_copy_skill has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/manager.rs"},"region":{"startLine":1008}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c7fef8b223287e374282a79dca69c8f554f3cadbb4b2c80e59a017addc241f9"}},{"ruleId":"D1","level":"warning","message":{"text":"hk_core::scanner::scan_all (cyclomatic 17): hk_core::scanner::scan_all has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/scanner.rs"},"region":{"startLine":1313}}}],"partialFingerprints":{"codehealthFindingId/v1":"5258206285d1e4e525a959779b691e2c68dd26512c152017f920511c73055ff3"}},{"ruleId":"D1","level":"warning","message":{"text":"hk_core::deployer::deploy_hook (cyclomatic 16): hk_core::deployer::deploy_hook has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/deployer.rs"},"region":{"startLine":1981}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a6b7d51f388c31a0544c5b5c87afa9de1dda9960836b040176ab87d7ad17785"}},{"ruleId":"D1","level":"warning","message":{"text":"hk_core::manager::toggle_hook (cyclomatic 16): hk_core::manager::toggle_hook has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/manager.rs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f0d0df50d952d6b830cd6053fd0753bb1b159ef0c750258e134323ae538a96a"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-list.AgentList (cyclomatic 16): agent-list.AgentList has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 2 of the 16 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 154, 138, 106). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/agents/agent-list.tsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a46d0807773ee2a5e7b279c0cc15296a1ab7318026a88690c6bccb5aa36ba0"}},{"ruleId":"D1","level":"warning","message":{"text":"install-dialog.InstallDialog::runPreviewThenInstall (cyclomatic 16): install-dialog.InstallDialog::runPreviewThenInstall has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (install-dialog.InstallDialog) 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":"src/components/kits/install-dialog.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cfc8413819dd946b53bc5d77983185b60285a087734fbc4218e95367ea456f7"}},{"ruleId":"D1","level":"warning","message":{"text":"path-input-dialog.PathInputDialog (cyclomatic 16): path-input-dialog.PathInputDialog has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 7 of the 16 points are its own statements and the rest belongs to 3 function items inside it that branch (pick, submit, a function literal at line 108). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/kits/path-input-dialog.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"44aef33e32a7d959169a805158989ac66dcc59e8592fcdf6157acfea446ebae6"}},{"ruleId":"D2","level":"warning","message":{"text":"hk_core::service::delete_extension (cognitive 157): hk_core::service::delete_extension has cognitive complexity 157 (threshold 15). Drivers by points: if/else 38 (124 pts), loops 8 (20 pts), match/switch 3 (11 pts), boolean chains 2 (nesting depth added 106). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/service.rs"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c0576cc9431d21a9e617e48d4153a02da6f6c9e8d9fd52e1f7ae2c55b972ef0"}},{"ruleId":"D2","level":"warning","message":{"text":"hk_core::service::get_extension_content (cognitive 124): hk_core::service::get_extension_content has cognitive complexity 124 (threshold 15). Drivers by points: if/else 29 (94 pts), loops 8 (28 pts), boolean chains 1, match/switch 1 (nesting depth added 85). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/service.rs"},"region":{"startLine":1135}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c1b63ea4d214ed14f16fcd83f3473f3c9b44cbf36bf8cca5abef876082b8751"}},{"ruleId":"D2","level":"warning","message":{"text":"extension-detail.ExtensionDetail (cognitive 93): extension-detail.ExtensionDetail has cognitive complexity 93 (threshold 15). Drivers by points: if/else 34 (49 pts), boolean chains 32, ternaries 8, loops 3 (4 pts) (nesting depth added 16). Of this number, 29 points are the body\u0027s own statements and 64 belong to 25 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/extension-detail.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f6675b1a9a168260d24bdea1797a13d519ba4971332bd1965d8c47719be2ffe"}},{"ruleId":"D2","level":"warning","message":{"text":"hk_core::scanner::scan_cli_binaries (cognitive 92): hk_core::scanner::scan_cli_binaries has cognitive complexity 92 (threshold 15). Drivers by points: if/else 27 (64 pts), loops 11 (25 pts), boolean chains 3 (nesting depth added 51). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/scanner.rs"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c20a192904ba24d3c336aeadf8265059797e828217fb885826098906ea700a6"}},{"ruleId":"D2","level":"warning","message":{"text":"extension-store.useExtensionStore (cognitive 86): extension-store.useExtensionStore has cognitive complexity 86 (threshold 15). Drivers by points: if/else 34 (44 pts), loops 13 (22 pts), ternaries 7 (11 pts), error handling 4 (6 pts), boolean chains 3 (nesting depth added 25). Of this number, 72 points are the body\u0027s own statements and 14 belong to 9 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/extension-store.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"8534806dfaea13bd27289054c5304e8ead3efe0ce67e623fe3149520ddc65a92"}},{"ruleId":"D2","level":"warning","message":{"text":"hk_core::manager::find_disabled_plugin_path (cognitive 84): hk_core::manager::find_disabled_plugin_path has cognitive complexity 84 (threshold 15). Drivers by points: if/else 15 (70 pts), loops 4 (13 pts), boolean chains 1 (nesting depth added 64). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/manager.rs"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"8479690214c7a481794296b15fcfb84804711e2eea6f28f8f3da72fd4c638895"}},{"ruleId":"D2","level":"warning","message":{"text":"install-dialog.InstallDialog (cognitive 77): install-dialog.InstallDialog has cognitive complexity 77 (threshold 15). Drivers by points: ternaries 22 (34 pts), if/else 22 (23 pts), boolean chains 18, error handling 2 (nesting depth added 13). Of this number, 35 points are the body\u0027s own statements and 42 belong to 18 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/install-dialog.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7eff57231f49bb51d6b86a7a2d699a957c8234eba3e5f01ba60fa2d1ee28a91"}},{"ruleId":"D2","level":"warning","message":{"text":"hk_desktop::commands::extensions::check_updates (cognitive 74): hk_desktop::commands::extensions::check_updates has cognitive complexity 74 (threshold 15). Drivers by points: if/else 20 (50 pts), loops 9 (15 pts), match/switch 3 (7 pts), boolean chains 2 (nesting depth added 40). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/extensions.rs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d18b501eec94d48fc8f1233e79f2cd669fe74d4c629595e415f91628defddb2"}},{"ruleId":"D2","level":"warning","message":{"text":"marketplace.MarketplacePage (cognitive 73): marketplace.MarketplacePage has cognitive complexity 73 (threshold 15). Drivers by points: boolean chains 33, if/else 20 (25 pts), ternaries 10 (12 pts), loops 1 (2 pts), error handling 1 (nesting depth added 8). Of this number, 33 points are the body\u0027s own statements and 40 belong to 9 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/marketplace.tsx"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"da09c1932c3703d96e37b63df91ee711fd249a0adf2c84bff7484817ed73d78e"}},{"ruleId":"D2","level":"warning","message":{"text":"settings.SettingsPage (cognitive 71): settings.SettingsPage has cognitive complexity 71 (threshold 15). Drivers by points: ternaries 19 (26 pts), boolean chains 22, if/else 15 (17 pts), error handling 3 (5 pts), loops 1 (nesting depth added 11). Most of this is not in the body itself: 12 of the 71 points are its own statements and the rest belongs to 17 function items inside it that branch (a function literal at line 389, handleAddPath, handleAddDiscovered, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/settings.tsx"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"f386bb5cd96aaf3dd5677d13dc6464269df380802977631253d1caafba558a54"}},{"ruleId":"D2","level":"warning","message":{"text":"hk_web::handlers::install::check_updates (cognitive 69): hk_web::handlers::install::check_updates has cognitive complexity 69 (threshold 15). Drivers by points: if/else 19 (47 pts), loops 8 (13 pts), match/switch 3 (7 pts), boolean chains 2 (nesting depth added 37). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-web/src/handlers/install.rs"},"region":{"startLine":954}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d5d8441a6c1dfb4bc8d421e0088f2207231d2c686e26afd7526b8b3d1c34012"}},{"ruleId":"D2","level":"warning","message":{"text":"marketplace-store.useMarketplaceStore (cognitive 64): marketplace-store.useMarketplaceStore has cognitive complexity 64 (threshold 15). Drivers by points: if/else 28 (41 pts), boolean chains 12, ternaries 5 (6 pts), error handling 5 (nesting depth added 14). Of this number, 34 points are the body\u0027s own statements and 30 belong to 12 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/marketplace-store.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"6646ebe7e1235a1aad583b5eb6472f5a0d8860f2da69f079feb3f7518eca4041"}},{"ruleId":"D2","level":"warning","message":{"text":"audit.AuditPage (cognitive 58): audit.AuditPage has cognitive complexity 58 (threshold 15). Drivers by points: if/else 22 (26 pts), boolean chains 21, loops 6 (8 pts), ternaries 3 (nesting depth added 6). Of this number, 21 points are the body\u0027s own statements and 37 belong to 23 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/audit.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a668b275d6ee6e43aac5db94e9cb5453b492e6711201e287ac41df1cf6bd6ef"}},{"ruleId":"D2","level":"warning","message":{"text":"install-plan.buildInstallPlan (cognitive 57): install-plan.buildInstallPlan has cognitive complexity 57 (threshold 15). Drivers by points: if/else 10 (36 pts), ternaries 4 (10 pts), loops 3 (6 pts), boolean chains 5 (nesting depth added 35). Of this number, 53 points are the body\u0027s own statements and 4 belong to 4 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/install-plan.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"abda10bd6d35c22c02cb77b5bb62806b971528816c4e1c79a2c5e77b0e3bbefc"}},{"ruleId":"D2","level":"warning","message":{"text":"hk_core::deployer::remove_hook (cognitive 51): hk_core::deployer::remove_hook has cognitive complexity 51 (threshold 15). Drivers by points: if/else 15 (42 pts), boolean chains 5, loops 1 (3 pts), match/switch 1 (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/deployer.rs"},"region":{"startLine":2286}}}],"partialFingerprints":{"codehealthFindingId/v1":"df8a2c82c414aebd9ac5d13879214c3069706cd7155b5ae48bab6aa51d5f0b6e"}},{"ruleId":"D2","level":"warning","message":{"text":"hk_core::service::install_to_agent (cognitive 51): hk_core::service::install_to_agent has cognitive complexity 51 (threshold 15). Drivers by points: if/else 12 (34 pts), loops 5 (14 pts), boolean chains 2, match/switch 1 (nesting depth added 31). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/service.rs"},"region":{"startLine":1382}}}],"partialFingerprints":{"codehealthFindingId/v1":"c139ac35f0a9ef6ae78b36e2d2961d7e1306006c53ffde9d0278715e01a94094"}},{"ruleId":"D2","level":"warning","message":{"text":"hk_core::scanner::scan_all (cognitive 49): hk_core::scanner::scan_all has cognitive complexity 49 (threshold 15). Drivers by points: if/else 10 (37 pts), loops 6 (11 pts), boolean chains 1 (nesting depth added 32). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/scanner.rs"},"region":{"startLine":1313}}}],"partialFingerprints":{"codehealthFindingId/v1":"2024a56229fd87701dabc8921bd3b239ece1fa93b08cf99731a1f97c5600c326"}},{"ruleId":"D2","level":"warning","message":{"text":"delete-dialog.DeleteDialog (cognitive 49): delete-dialog.DeleteDialog has cognitive complexity 49 (threshold 15). Drivers by points: boolean chains 15, if/else 8 (13 pts), ternaries 10 (13 pts), loops 3 (8 pts) (nesting depth added 13). Of this number, 24 points are the body\u0027s own statements and 25 belong to 9 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/delete-dialog.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"988f876faba5e97d6055666881267ecabd4d33b9aa9ae1625badc82763a3eba2"}},{"ruleId":"D2","level":"warning","message":{"text":"hk_core::manager::toggle_mcp (cognitive 45): hk_core::manager::toggle_mcp has cognitive complexity 45 (threshold 15). Drivers by points: if/else 19 (38 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/manager.rs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d5eae07186d57c07adcbe3f611e5a05152869e229869bafc3f348a351c43541"}},{"ruleId":"D2","level":"warning","message":{"text":"overview.OverviewPage (cognitive 45): overview.OverviewPage has cognitive complexity 45 (threshold 15). Drivers by points: boolean chains 15, if/else 7 (11 pts), loops 7 (10 pts), ternaries 4 (6 pts), match/switch 1 (3 pts) (nesting depth added 11). Of this number, 17 points are the body\u0027s own statements and 28 belong to 10 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/overview.tsx"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e4a5b50d0a866f779d09036b44930d0defeb269526d3fa6f28c079295879b49"}},{"ruleId":"D2","level":"warning","message":{"text":"App.App (cognitive 43): App.App has cognitive complexity 43 (threshold 15). Drivers by points: if/else 17 (19 pts), ternaries 9 (14 pts), boolean chains 8, loops 2 (nesting depth added 7). Most of this is not in the body itself: 3 of the 43 points are its own statements and the rest belongs to 11 function literals inside it that branch (lines 141, 66, 90, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/App.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc405d3c618a471c2d51611df36c2523bfc2ffb7a862ec2be975f607a7fbd2d"}},{"ruleId":"D2","level":"warning","message":{"text":"bulk-install-dialog.BulkInstallDialog (cognitive 43): bulk-install-dialog.BulkInstallDialog has cognitive complexity 43 (threshold 15). Drivers by points: boolean chains 24, ternaries 10 (14 pts), if/else 5 (nesting depth added 4). Of this number, 30 points are the body\u0027s own statements and 13 belong to 10 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/bulk-install-dialog.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb21a0ea307a4a9154076fcea89c35d5ef10f54da1dbeda02e51fce996c8dad"}},{"ruleId":"D2","level":"warning","message":{"text":"hk_core::scanner::parse_skill_frontmatter (cognitive 42): hk_core::scanner::parse_skill_frontmatter has cognitive complexity 42 (threshold 15). Drivers by points: if/else 15 (33 pts), loops 2 (5 pts), boolean chains 4 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/scanner.rs"},"region":{"startLine":1630}}}],"partialFingerprints":{"codehealthFindingId/v1":"03252271ad768ef426569d90c10ec85404ecc3c9af18ed19b52dfea9675cffea"}},{"ruleId":"D2","level":"warning","message":{"text":"hk_core::scanner::infer_plugin_permissions (cognitive 42): hk_core::scanner::infer_plugin_permissions has cognitive complexity 42 (threshold 15). Drivers by points: if/else 18 (34 pts), loops 3 (5 pts), boolean chains 3 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/scanner.rs"},"region":{"startLine":2032}}}],"partialFingerprints":{"codehealthFindingId/v1":"52b602fa6fb95e7bcbe2847b19007140f53cc027ab7b6fd40c5c11a7cf6e6fc0"}},{"ruleId":"D2","level":"warning","message":{"text":"clean-window-shot.repaint_corner_rims (cognitive 41): clean-window-shot.repaint_corner_rims has cognitive complexity 41 (threshold 15). Drivers by points: ternaries 6 (23 pts), loops 4 (10 pts), if/else 1 (5 pts), boolean chains 3 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/scripts/clean-window-shot.py"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"64d8d43128e9194635f8d34172c98a0d44c651e781d19a464517b126c68a9b73"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-detail.AgentDetail (cognitive 40): agent-detail.AgentDetail has cognitive complexity 40 (threshold 15). Drivers by points: boolean chains 15, if/else 9 (14 pts), ternaries 5 (8 pts), loops 3 (nesting depth added 8). Of this number, 21 points are the body\u0027s own statements and 19 belong to 9 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/agents/agent-detail.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5db6070e9a254d9935d33b8cd8e9af85ee1abc1323edc5efec91383ebbb905"}},{"ruleId":"D2","level":"warning","message":{"text":"hk_core::service::post_install_sync (cognitive 39): hk_core::service::post_install_sync has cognitive complexity 39 (threshold 15). Drivers by points: if/else 11 (21 pts), loops 6 (13 pts), match/switch 2 (5 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/service.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2eacf2d05708fe1ef93ba935fdfd6f1582b2d099e94cf7cb66fcc89000daa51"}},{"ruleId":"D2","level":"warning","message":{"text":"CursorAdapter::read_plugins (cognitive 37): CursorAdapter::read_plugins has cognitive complexity 37 (threshold 15). Drivers by points: if/else 11 (29 pts), loops 3 (8 pts) (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/adapter/cursor.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"8694b878cd7fcabb11c0a03a1232f8c66804b7ba0fa1a65d374d353b956d6428"}},{"ruleId":"D2","level":"warning","message":{"text":"hk_core::manager::toggle_hook (cognitive 37): hk_core::manager::toggle_hook has cognitive complexity 37 (threshold 15). Drivers by points: if/else 12 (26 pts), loops 3 (7 pts), match/switch 1 (4 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/manager.rs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bdae87df3bf3c36945d940be8124a93df35aa73095347d5cd53a9a3b4149736"}},{"ruleId":"D2","level":"warning","message":{"text":"hk_core::scanner::scan_agent_configs (cognitive 37): hk_core::scanner::scan_agent_configs has cognitive complexity 37 (threshold 15). Drivers by points: if/else 6 (21 pts), loops 8 (16 pts) (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/scanner.rs"},"region":{"startLine":2155}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f322c65effc606d4e99cf1002a4800358f0e5a6efbecb1b558ee8fb02aee461"}},{"ruleId":"D2","level":"warning","message":{"text":"hk_core::deployer::read_hook_config (cognitive 34): hk_core::deployer::read_hook_config has cognitive complexity 34 (threshold 15). Drivers by points: if/else 11 (22 pts), loops 4 (8 pts), boolean chains 3, match/switch 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/deployer.rs"},"region":{"startLine":3035}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1068098196e14debf3122027df04efdf18f5b3d8997ed2419e3f584e0df7fdd"}},{"ruleId":"D2","level":"warning","message":{"text":"extension-table.ExtensionTable (cognitive 33): extension-table.ExtensionTable has cognitive complexity 33 (threshold 15). Drivers by points: boolean chains 14, ternaries 12, if/else 7. Most of this is not in the body itself: 2 of the 33 points are its own statements and the rest belongs to 17 function literals inside it that branch (lines 58, 336, 227, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/extension-table.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"f89674d442099d8118983c293f0670bcae81ced16c826bc54e5b3569e5fb8528"}},{"ruleId":"D2","level":"warning","message":{"text":"hk_core::manager::resolve_and_copy_skill (cognitive 32): hk_core::manager::resolve_and_copy_skill has cognitive complexity 32 (threshold 15). Drivers by points: if/else 12 (26 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/manager.rs"},"region":{"startLine":1008}}}],"partialFingerprints":{"codehealthFindingId/v1":"997703159aac5572c3b6e3556c777f52cbb503ccb8ae7a41d0ab848c8e0feeb8"}},{"ruleId":"D2","level":"warning","message":{"text":"kits.KitsPage (cognitive 32): kits.KitsPage has cognitive complexity 32 (threshold 15). Drivers by points: ternaries 8 (14 pts), boolean chains 10, if/else 8 (nesting depth added 6). Of this number, 21 points are the body\u0027s own statements and 11 belong to 8 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/kits.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"f260bcf5dd65894ea30397e139ad44a6507e97f30f121f686cc90d3173ba6cca"}},{"ruleId":"D2","level":"warning","message":{"text":"new-skills-dialog.NewSkillsDialog (cognitive 31): new-skills-dialog.NewSkillsDialog has cognitive complexity 31 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 7, ternaries 4 (5 pts), loops 2, error handling 1 (nesting depth added 3). Most of this is not in the body itself: 11 of the 31 points are its own statements and the rest belongs to 10 function items inside it that branch (handleInstall, toggleSkill, toggleAgent, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/new-skills-dialog.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"99677dec090e6c7715e3fe74f3fd3fb65106fd8324a2f5fcb1a63bf10d8609f9"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexAdapter::read_plugins (cognitive 29): CodexAdapter::read_plugins has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (20 pts), loops 3 (6 pts), match/switch 1 (3 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/adapter/codex.rs"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c35a67a479947cc6c77107bf71268db3b9950083db92249b5270cb09514d079"}},{"ruleId":"D2","level":"warning","message":{"text":"hk_core::kits::install_plan::mcp_entry_exists (cognitive 29): hk_core::kits::install_plan::mcp_entry_exists has cognitive complexity 29 (threshold 15). Drivers by points: if/else 13 (25 pts), match/switch 2 (3 pts), boolean chains 1 (nesting depth added 13). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/kits/install_plan.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"48bd4b865bbdf923f5d2215ff5b4904bca1314deba8dbc82fd7be3368857cb80"}},{"ruleId":"D2","level":"warning","message":{"text":"editor-configs-tab.EditorConfigsTab (cognitive 29): editor-configs-tab.EditorConfigsTab has cognitive complexity 29 (threshold 15). Drivers by points: boolean chains 12, if/else 9 (11 pts), loops 2 (3 pts), ternaries 3 (nesting depth added 3). Most of this is not in the body itself: 8 of the 29 points are its own statements and the rest belongs to 6 function items inside it that branch (toggleSelectAll, a function literal at line 69, a function literal at line 223, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/kits/editor-configs-tab.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cdbf859bc91b5f6583fb456278484f06d739fed0b44d8b200ac8cb79f20d2e3"}},{"ruleId":"D2","level":"warning","message":{"text":"extensions.ExtensionsPage (cognitive 28): extensions.ExtensionsPage has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 9, ternaries 6 (7 pts) (nesting depth added 3). Of this number, 17 points are the body\u0027s own statements and 11 belong to 5 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/extensions.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"37ce7131e48fe70994730ba7cf565439dd75bc5737e261a4daf46dad2e5db46d"}},{"ruleId":"D2","level":"warning","message":{"text":"PlaintextSecrets::check (cognitive 27): PlaintextSecrets::check has cognitive complexity 27 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 5 (12 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/auditor/rules/content.rs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"7199fc205ec782dba9ecabe602553c028a2d709bcbf942b8dbb6917f3c63af3c"}},{"ruleId":"D2","level":"warning","message":{"text":"hk_core::service::audit_extensions (cognitive 27): hk_core::service::audit_extensions has cognitive complexity 27 (threshold 15). Drivers by points: if/else 3 (15 pts), loops 3 (8 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/service.rs"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ba3f7b54c5908eaeb3128f8fb65d90ee81198e5dd3ea3b401f6f744e5d8e556"}},{"ruleId":"D2","level":"warning","message":{"text":"config-file-entry.ConfigFileEntry (cognitive 27): config-file-entry.ConfigFileEntry has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 19, if/else 5, ternaries 3. Of this number, 20 points are the body\u0027s own statements and 7 belong to 6 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/agents/config-file-entry.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d3327630adb68211facac23c0a3119042de497bebd4694d15b7136a94fa718b"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-config-store.useAgentConfigStore (cognitive 27): agent-config-store.useAgentConfigStore has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (14 pts), error handling 7, boolean chains 3, ternaries 2 (3 pts) (nesting depth added 5). Of this number, 25 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/agent-config-store.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"7edc10d8e28521c88a9a8cea52e1b779a0e63d6603260dd753cc458760e5e97d"}},{"ruleId":"D2","level":"warning","message":{"text":"hk_cli::cmd_audit (cognitive 26): hk_cli::cmd_audit has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (12 pts), match/switch 3 (7 pts), loops 4 (6 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-cli/src/main.rs"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"2545ab85a7b4dc3aeb45357b8858f1bb16de903cd5a0c37e6ac3598c17550e99"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexAdapter::read_hooks_from (cognitive 26): CodexAdapter::read_hooks_from has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (19 pts), loops 3 (7 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/adapter/codex.rs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"1af99df9d89a4cba5a93caeaeb5e0fd6ca9086692f2e2c0d6419c6d1d68eb6bd"}},{"ruleId":"D2","level":"warning","message":{"text":"GeminiAdapter::read_hooks_from (cognitive 26): GeminiAdapter::read_hooks_from has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (19 pts), loops 3 (7 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/adapter/gemini.rs"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"d09b84f4383ec98923bbccc5359bbab15bc1167ba49a8a91956f8c30f765149a"}},{"ruleId":"D2","level":"warning","message":{"text":"hk_desktop::commands::extensions::scan_and_sync (cognitive 26): hk_desktop::commands::extensions::scan_and_sync has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (20 pts), loops 2 (5 pts), boolean chains 1 (nesting depth added 16). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/extensions.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"246915a012812a53e2f2511f09fb75479c6ae2301e5658093869e4eb4967363a"}},{"ruleId":"D2","level":"warning","message":{"text":"hk_web::handlers::extensions::scan_and_sync (cognitive 26): hk_web::handlers::extensions::scan_and_sync has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (20 pts), loops 2 (5 pts), boolean chains 1 (nesting depth added 16). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-web/src/handlers/extensions.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7f1d583c4da361dc2d5b551ad78f1c2ca44781a77085e8307b20fba09bb397c"}},{"ruleId":"D2","level":"warning","message":{"text":"marketplace.extractInstallSection (cognitive 26): marketplace.extractInstallSection has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (21 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/marketplace.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"31cd6647e02843c1b97ef2308953bea03406a5da1a1b24d49dcfabc227847838"}},{"ruleId":"D2","level":"warning","message":{"text":"extension-helpers.deduplicatePermissions (cognitive 26): extension-helpers.deduplicatePermissions has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 5 (20 pts), loops 3 (4 pts), match/switch 1 (2 pts) (nesting depth added 17). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/extension-helpers.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a09f7f609df2efffaa0f79b9fe18add25a61665fcbfd5aec5146763fc94e6be"}},{"ruleId":"D2","level":"warning","message":{"text":"kit-editor-dialog.KitEditorDialog (cognitive 26): kit-editor-dialog.KitEditorDialog has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10, boolean chains 8, ternaries 6 (7 pts), error handling 1 (nesting depth added 1). Most of this is not in the body itself: 8 of the 26 points are its own statements and the rest belongs to 10 function items inside it that branch (handleSave, a function literal at line 81, a function literal at line 95, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/kits/kit-editor-dialog.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"f89f6f523d9cd87d11a490e3166ef8b85726944abe1a51f5a5a4ade01f5b9ad9"}},{"ruleId":"D2","level":"warning","message":{"text":"extension-filters.ExtensionFilters (cognitive 25): extension-filters.ExtensionFilters has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 12, if/else 5 (7 pts), loops 3 (4 pts), ternaries 2 (nesting depth added 3). Most of this is not in the body itself: 10 of the 25 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 97, 79, 132, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/extension-filters.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"d41e27c3179839177e7c539de9e284150e118dc69861510e849e3aaa2bfa0ff6"}},{"ruleId":"D2","level":"warning","message":{"text":"hk_core::kits::service::sync_kit_to_project (cognitive 24): hk_core::kits::service::sync_kit_to_project has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 3 (5 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/kits/service.rs"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"e009024003b3f27e952c54ae02999f8a8f1e2e019726ee43e201be2e2f2fd764"}},{"ruleId":"D2","level":"warning","message":{"text":"hk_core::scanner::skill_locations (cognitive 24): hk_core::scanner::skill_locations has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 4 (9 pts), boolean chains 1, match/switch 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/scanner.rs"},"region":{"startLine":1475}}}],"partialFingerprints":{"codehealthFindingId/v1":"e35e909b1a6e3a020c525a1a51c1797f4f0a02a200951dae037f05da0b82908b"}},{"ruleId":"D2","level":"warning","message":{"text":"scope-switcher-menu.ScopeSwitcherMenu (cognitive 24): scope-switcher-menu.ScopeSwitcherMenu has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 6, ternaries 3, loops 2 (nesting depth added 2). Most of this is not in the body itself: 4 of the 24 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 92, isCurrent, a function literal at line 73, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/scope-switcher-menu.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4718db6d02ef80692153b7f6eef9c28ea7b5be04cd5df89e4427b25908072ab"}},{"ruleId":"D2","level":"warning","message":{"text":"kit-detail-drawer.KitDetailDrawer (cognitive 24): kit-detail-drawer.KitDetailDrawer has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 10, if/else 6 (8 pts), loops 3, ternaries 3 (nesting depth added 2). Most of this is not in the body itself: 10 of the 24 points are its own statements and the rest belongs to 9 function items inside it that branch (a function literal at line 282, a function literal at line 96, handleExport, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/kits/kit-detail-drawer.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d2ff0de25e0092c712554654ffba2ac7c2fa40a39b8fd15435c2ff942874eec"}},{"ruleId":"D2","level":"warning","message":{"text":"CopilotAdapter::read_plugins (cognitive 23): CopilotAdapter::read_plugins has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 3 (7 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/adapter/copilot.rs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"1449ecaf4629c993cce392afd86a5b2ee9d6e3083a7cda055cd40c6ca9aa66a6"}},{"ruleId":"D2","level":"warning","message":{"text":"DshAdapter::read_plugins (cognitive 23): DshAdapter::read_plugins has cognitive complexity 23 (threshold 15). Drivers by points: loops 5 (9 pts), match/switch 3 (8 pts), if/else 2 (6 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/adapter/dsh.rs"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"944607c14855b9f12474277c86b290f661f7995723d99e2a2a0e23b458f04a38"}},{"ruleId":"D2","level":"warning","message":{"text":"GrokAdapter::command_hook_specs (cognitive 23): GrokAdapter::command_hook_specs has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 4 (7 pts), match/switch 1 (4 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/adapter/grok.rs"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee27bca369680b01f284688919bf7937ad3947b92b3946fe9838676dc21b1fb6"}},{"ruleId":"D2","level":"warning","message":{"text":"hk_core::adapter::dsh::fold_rows_in_text (cognitive 23): hk_core::adapter::dsh::fold_rows_in_text has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (22 pts), loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/adapter/dsh.rs"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"907acc782c963185c72f53fa41dde4308e48469274743f4b08cee7e48bf26aa6"}},{"ruleId":"D2","level":"warning","message":{"text":"hk_core::kits::service::unsync_kit_from_project (cognitive 23): hk_core::kits::service::unsync_kit_from_project has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/kits/service.rs"},"region":{"startLine":1026}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5288906488fb47ec24e0c5d13dbd8f52a436abdf3d12fa3d4140ca251767822"}},{"ruleId":"D2","level":"warning","message":{"text":"hk_desktop::commands::extensions::get_cached_update_statuses (cognitive 23): hk_desktop::commands::extensions::get_cached_update_statuses has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (19 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/extensions.rs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"527d5c85f473e320ccaecd5d5f0f21c8b21444c0a1fb5394aab08ac04293e592"}},{"ruleId":"D2","level":"warning","message":{"text":"hk_web::handlers::install::get_cached_update_statuses (cognitive 23): hk_web::handlers::install::get_cached_update_statuses has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (19 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-web/src/handlers/install.rs"},"region":{"startLine":1162}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c2b4341c580067403e29769a78a18d296e240b9386858e23d73966648265374"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-list.AgentList (cognitive 23): agent-list.AgentList has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (15 pts), loops 2 (4 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 8). Most of this is not in the body itself: 1 of the 23 points is its own statement and the rest belongs to 3 function literals inside it that branch (lines 154, 138, 106). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/agents/agent-list.tsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a9944c8999a2330a162e0e1f8dac71f7a908acc036aefc108625cc0aa7dea64"}},{"ruleId":"D2","level":"warning","message":{"text":"delete-dialog.buildAgentItems (cognitive 23): delete-dialog.buildAgentItems has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 9 (22 pts), boolean chains 1 (nesting depth added 13). None of this is in the body itself: all 23 points belong to one function literal inside it that branches (line 78). 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":"src/components/extensions/delete-dialog.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"8413ebeac93996264f865d7c4a7ad992dfca6a389379d00d37cf15abb2d51ae7"}},{"ruleId":"D2","level":"warning","message":{"text":"CopilotAdapter::read_hooks (cognitive 22): CopilotAdapter::read_hooks has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 3 (6 pts), match/switch 2 (4 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/adapter/copilot.rs"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"8817a16ea9adc10afeeebac587b1fb81a2d7f3d81425f6b9c58c93069c2d51b0"}},{"ruleId":"D2","level":"warning","message":{"text":"hk_core::deployer::parse_dsh_block_body (cognitive 22): hk_core::deployer::parse_dsh_block_body has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 2 (4 pts), match/switch 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/deployer.rs"},"region":{"startLine":1600}}}],"partialFingerprints":{"codehealthFindingId/v1":"bce268634c26f969a2fb9998bbb548799690f1e6042ec9c8dc7e2d9d6cf4215b"}},{"ruleId":"D2","level":"warning","message":{"text":"extension-helpers.buildGroups (cognitive 22): extension-helpers.buildGroups has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (10 pts), ternaries 4 (9 pts), loops 3 (nesting depth added 10). Of this number, 13 points are the body\u0027s own statements and 9 belong to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/extension-helpers.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf027dfcde8a016d4f6484ebe98201e45ca5f88ae9f2d7500df27b901169c7dd"}},{"ruleId":"D2","level":"warning","message":{"text":"editor-asset-tab.EditorAssetTab (cognitive 22): editor-asset-tab.EditorAssetTab has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 11, if/else 9 (10 pts), loops 1 (nesting depth added 1). Most of this is not in the body itself: 6 of the 22 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 133, a function literal at line 123, toggle, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/kits/editor-asset-tab.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"f492736b84f5094a81be347ab6fd67d2dcea1e96359c0e49426e68a8fd898cd5"}},{"ruleId":"D2","level":"warning","message":{"text":"install-dialog.InstallDialog::runPreviewThenInstall (cognitive 22): install-dialog.InstallDialog::runPreviewThenInstall has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (9 pts), loops 3 (8 pts), boolean chains 2, ternaries 1 (2 pts), error handling 1 (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: one other method here (install-dialog.InstallDialog) 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":"src/components/kits/install-dialog.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"91f68ec9469872ef82ae4437454e0c01af6395de94c8235f357bce516c2c1442"}},{"ruleId":"D2","level":"warning","message":{"text":"error-types.parseError (cognitive 22): error-types.parseError has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 6, error handling 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/error-types.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"9edbb9978a773fdf23a3c5f621d88b1cb2794d247b57ddf2983ff8059b513fef"}},{"ruleId":"D2","level":"warning","message":{"text":"hk_core::deployer::set_grok_hook_enabled (cognitive 21): hk_core::deployer::set_grok_hook_enabled has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/deployer.rs"},"region":{"startLine":858}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8244efa3f07458d95a5145ff585d26406f81c8bf0e6b1f761f06e55766d039d"}},{"ruleId":"D2","level":"warning","message":{"text":"hk_desktop::commands::install::install_new_repo_skills (cognitive 21): hk_desktop::commands::install::install_new_repo_skills has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 3 (4 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/install.rs"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f999fc75dd79f87c8b63d4e103a867911c7976fd5f6f58e6bc1e142cbe62f3d"}},{"ruleId":"D2","level":"warning","message":{"text":"hk_web::handlers::install::install_new_repo_skills (cognitive 21): hk_web::handlers::install::install_new_repo_skills has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 3 (4 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-web/src/handlers/install.rs"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0bada3cc90787bc6e073d1118096647920c9d94e3b44083d706e8eb21212c35"}},{"ruleId":"D2","level":"warning","message":{"text":"remove-from-project-dialog.RemoveFromProjectDialog (cognitive 21): remove-from-project-dialog.RemoveFromProjectDialog has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 7, ternaries 6 (7 pts), if/else 5, error handling 1, loops 1 (nesting depth added 1). Most of this is not in the body itself: 6 of the 21 points are its own statements and the rest belongs to 6 function items inside it that branch (confirmRemove, a function literal at line 134, toggle, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/kits/remove-from-project-dialog.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aa9fb6009106a0d62846d7b50f713bc58171cc3c55e5cc536f2060c4405cc73"}},{"ruleId":"D2","level":"warning","message":{"text":"OverviewLive.OverviewLive (cognitive 21): OverviewLive.OverviewLive has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8, ternaries 7, boolean chains 6. Most of this is not in the body itself: 3 of the 21 points are its own statements and the rest belongs to 8 function items inside it that branch (a function literal at line 137, focus, pointerMoved, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/src/components/landing/OverviewLive.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b18f61bd0c6da5fbe1295dfd541bbe4bd8b0e84eab9552ae3dc7e4289aa2311"}},{"ruleId":"D2","level":"warning","message":{"text":"hk_core::deployer::deploy_mcp_server_grok_toml (cognitive 20): hk_core::deployer::deploy_mcp_server_grok_toml has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (14 pts), loops 2 (6 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/deployer.rs"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"b95fdbfa0247a587cd3db85ad78e3d6eed21b8082734dc6158f061b4deb48220"}},{"ruleId":"D2","level":"warning","message":{"text":"hk_core::deployer::deploy_hook (cognitive 20): hk_core::deployer::deploy_hook has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 1, match/switch 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/deployer.rs"},"region":{"startLine":1981}}}],"partialFingerprints":{"codehealthFindingId/v1":"14613c1f315dde8beb84c6b1465096ad92ea1b97795c7ac17d5e7a1d2cc1b278"}},{"ruleId":"D2","level":"warning","message":{"text":"hk_core::scanner::find_skill_by_id (cognitive 20): hk_core::scanner::find_skill_by_id has cognitive complexity 20 (threshold 15). Drivers by points: loops 5 (11 pts), if/else 3 (9 pts) (nesting depth added 12). 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":"crates/hk-core/src/scanner.rs"},"region":{"startLine":1412}}}],"partialFingerprints":{"codehealthFindingId/v1":"35b159fe83f902b10103862a4ab1e67d1454db039ddb2f04e00aed23dc32cc9d"}},{"ruleId":"D2","level":"warning","message":{"text":"hk_core::service::read_plugin_content (cognitive 20): hk_core::service::read_plugin_content has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/service.rs"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"882d852a142b489c1a125f3af9c308f2fdefd620afae827d1a72f62a1ecea28b"}},{"ruleId":"D2","level":"warning","message":{"text":"hk_desktop::commands::install::install_scanned_skills (cognitive 20): hk_desktop::commands::install::install_scanned_skills has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 3 (4 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/install.rs"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9086d34a52a13c1fec024b3636c7b478d000162faed38833cb32343869ca8c1"}},{"ruleId":"D2","level":"warning","message":{"text":"hk_desktop::commands::settings::format_dir_tree (cognitive 20): hk_desktop::commands::settings::format_dir_tree has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 1, loops 1, match/switch 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/settings.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"e11b1e0e7716a5268defbfebcfc60242d169dd6913dc68104a2c308c649d4023"}},{"ruleId":"D2","level":"warning","message":{"text":"hk_web::handlers::install::install_scanned_skills (cognitive 20): hk_web::handlers::install::install_scanned_skills has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 3 (4 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-web/src/handlers/install.rs"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3055a1b1c2bc5a0eceb2ade2345481c9b906e8f7c566ec49d4415c4f8c6417d"}},{"ruleId":"D2","level":"warning","message":{"text":"hk_web::handlers::settings::format_dir_tree (cognitive 20): hk_web::handlers::settings::format_dir_tree has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 1, loops 1, match/switch 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-web/src/handlers/settings.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"c15a9f5e311644b4c0ed011ece0c158a90626837bad48570be827f236785f3cd"}},{"ruleId":"D2","level":"warning","message":{"text":"install-dialog.InstallDialog (cognitive 20): install-dialog.InstallDialog has cognitive complexity 20 (threshold 15). Drivers by points: if/else 21 (22 pts), boolean chains 18, ternaries 9 (15 pts), loops 4 (9 pts), error handling 2 (3 pts) (nesting depth added 13). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: one other method here (install-dialog.InstallDialog::runPreviewThenInstall) 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":"src/components/kits/install-dialog.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8432a264916dd14b8d8e999d7758ed0d4eb6a5aa8ea94d9148d97a59d090952"}},{"ruleId":"D2","level":"warning","message":{"text":"DshJsEnvNoFallback::check (cognitive 19): DshJsEnvNoFallback::check has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (4 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":"crates/hk-core/src/auditor/rules/content.rs"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"74a3bfc9e28c0a54d5340560bba160c4f429cd6d4b13016d59f47c010e8a3d57"}},{"ruleId":"D2","level":"warning","message":{"text":"Store::prune_stale_rows (cognitive 19): Store::prune_stale_rows has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 4, loops 2 (4 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/store/sync.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2e4856844df99d35291ae3204cb635bdebbe2eeb075abfff58ed2c2e31eaac9"}},{"ruleId":"D2","level":"warning","message":{"text":"hk_core::manager::toggle_plugin (cognitive 19): hk_core::manager::toggle_plugin has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (15 pts), match/switch 1 (3 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/manager.rs"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f4b4d88eadf848af9d9369eaa8ea23b4f5520b738164fc39cd3c5314c63cf5"}},{"ruleId":"D2","level":"warning","message":{"text":"hk_core::manager::toggle_plugin_manifest (cognitive 19): hk_core::manager::toggle_plugin_manifest has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (19 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/manager.rs"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"46b4dd7c42e9525d0bfbce32d92b886daa512be331f584eaaa944ff9a0d4601f"}},{"ruleId":"D2","level":"warning","message":{"text":"hk_core::marketplace::fetch_skill_content (cognitive 19): hk_core::marketplace::fetch_skill_content has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 3 (5 pts), boolean chains 4, match/switch 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (hk_core::marketplace::fetch_skill_content_async) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/marketplace.rs"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"f218e8513ab1e81e7a26094ad6c9f051016de50b291b52461092100fe1c3bf9b"}},{"ruleId":"D2","level":"warning","message":{"text":"hk_core::marketplace::fetch_skill_content_async (cognitive 19): hk_core::marketplace::fetch_skill_content_async has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 3 (5 pts), boolean chains 4, match/switch 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (hk_core::marketplace::fetch_skill_content) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/marketplace.rs"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d13497e29db1ee3b050f5fe82be81aa558a29838395a4ee1f70ae89d8f96d2d"}},{"ruleId":"D2","level":"warning","message":{"text":"hk_core::kits::zip_io::extract_prefix_to_dir (cognitive 18): hk_core::kits::zip_io::extract_prefix_to_dir has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/kits/zip_io.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c507bb6425726ede8abfb61fb072f5b48719554c0ac3de64925129c72068819"}},{"ruleId":"D2","level":"warning","message":{"text":"hk_desktop::commands::agents::list_agent_configs (cognitive 18): hk_desktop::commands::agents::list_agent_configs has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2 (4 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/agents.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd090d13a06158c7422a4509aa6fcd503e3e0956040f87e834593611638a6fb7"}},{"ruleId":"D2","level":"warning","message":{"text":"hk_web::handlers::agents::list_agent_configs (cognitive 18): hk_web::handlers::agents::list_agent_configs has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2 (4 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-web/src/handlers/agents.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"c088b716ee21024a94e877346f98af5756dc74f24a5b7f005ff4b8c3957af27f"}},{"ruleId":"D2","level":"warning","message":{"text":"extension-helpers.getCachedFiltered (cognitive 18): extension-helpers.getCachedFiltered has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9, boolean chains 5, ternaries 3 (4 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/extension-helpers.ts"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"57eabf94315931c9ca856405c907104afa5a7287810fc37b224d07a86c0453c2"}},{"ruleId":"D2","level":"warning","message":{"text":"ec-terminal.pluginTerminal (cognitive 18): ec-terminal.pluginTerminal has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (14 pts), loops 3 (4 pts) (nesting depth added 5). None of this is in the body itself: all 18 points belong to 4 function literals inside it that branch (lines 43, 27, 51, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/src/lib/ec-terminal.mjs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4b31e42a1f8fcc8e67bde24ba50a65adfb35f3ad11ee185e1207da27e38abb9"}},{"ruleId":"D2","level":"warning","message":{"text":"HermesAdapter::read_plugins (cognitive 17): HermesAdapter::read_plugins has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/adapter/hermes.rs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aa9abd121f3858476f46254185116931e444fcf9ddca7a9639172199a96b4b9"}},{"ruleId":"D2","level":"warning","message":{"text":"hk_core::adapter::read_claude_like_hooks (cognitive 17): hk_core::adapter::read_claude_like_hooks has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 3 (6 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/adapter/mod.rs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"b64e9948da3fa9b8f3ea55e936581bfdaa333dec4ef39a9699ea5fdcc32b8208"}},{"ruleId":"D2","level":"warning","message":{"text":"hk_core::scanner::mcp_stdio_profile (cognitive 17): hk_core::scanner::mcp_stdio_profile has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 4, match/switch 1 (2 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/scanner.rs"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"017575c055fa07fcf1d93a8382862f85562a408734453d3ebc19cb1a248f6721"}},{"ruleId":"D2","level":"warning","message":{"text":"hk_core::scanner::scan_project_extensions (cognitive 17): hk_core::scanner::scan_project_extensions has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (8 pts), loops 5 (8 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/scanner.rs"},"region":{"startLine":1162}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd1f3334926145d81d0919eac51f16a20c568babbedb619c4126aab298082a81"}},{"ruleId":"D2","level":"warning","message":{"text":"hk_core::scanner::infer_skill_permissions (cognitive 17): hk_core::scanner::infer_skill_permissions has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/scanner.rs"},"region":{"startLine":1901}}}],"partialFingerprints":{"codehealthFindingId/v1":"40d88a01ca513383c186dc771c42902b5569d232c2670e9a8f3f89c868b9c228"}},{"ruleId":"D2","level":"warning","message":{"text":"delete-dialog.buildPathItems (cognitive 17): delete-dialog.buildPathItems has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 3 (4 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/delete-dialog.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"1312becd15da9df22bd87301f1b18c28832903eb87f3bf528ec567c8b7258592"}},{"ruleId":"D2","level":"warning","message":{"text":"permission-detail.PermissionDetail (cognitive 17): permission-detail.PermissionDetail has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 6 (16 pts), boolean chains 1 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/permission-detail.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd61d936779b475beeef6fabb576146c5845ec053fef1580e5c20d4bc8c3042"}},{"ruleId":"D2","level":"warning","message":{"text":"AntigravityAdapter::skill_dirs (cognitive 16): AntigravityAdapter::skill_dirs has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (4 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/adapter/antigravity.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"adebc2b5e1140d717bcb238371e2331c06cb84793d5b1ab8d4ba9f888b9acc13"}},{"ruleId":"D2","level":"warning","message":{"text":"DangerousCommands::check (cognitive 16): DangerousCommands::check has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/auditor/rules/content.rs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"502da962c455edce8704d607f2f4ca4c1d6ef626b80887ac533b870893445d13"}},{"ruleId":"D2","level":"warning","message":{"text":"hk_core::adapter::read_ts_extensions (cognitive 16): hk_core::adapter::read_ts_extensions has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/adapter/mod.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"65e076aa7629e6ebdfb6446a5ae93d451d229171af6981e0ddf205bbd8368e83"}},{"ruleId":"D2","level":"warning","message":{"text":"hk_core::deployer::deploy_mcp_server_hermes_yaml (cognitive 16): hk_core::deployer::deploy_mcp_server_hermes_yaml has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 2 (6 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/deployer.rs"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6eca5a3988210907163a6329eec2da1ef9016d21d6c25a21dfd986e8582f0f0"}},{"ruleId":"D2","level":"warning","message":{"text":"hk_core::manager::toggle_skill (cognitive 16): hk_core::manager::toggle_skill has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 2, loops 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/manager.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c9763729e650c4275f57b4ca563e1c162b78f95fac0d450aeceb4f44ad75a91"}},{"ruleId":"D2","level":"warning","message":{"text":"path-input-dialog.PathInputDialog (cognitive 16): path-input-dialog.PathInputDialog has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 7, if/else 6, ternaries 1 (2 pts), error handling 1 (nesting depth added 1). Most of this is not in the body itself: 5 of the 16 points are its own statements and the rest belongs to 3 function items inside it that branch (pick, submit, a function literal at line 108). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/kits/path-input-dialog.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa39b97c91da810dedc3952a7010b374ab969391b48a13fcd7485e1b4249efd8"}},{"ruleId":"D2","level":"warning","message":{"text":"marketplace-store.prefetchSkillData (cognitive 16): marketplace-store.prefetchSkillData has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 3, error handling 1 (2 pts) (nesting depth added 4). None of this is in the body itself: all 16 points belong to 3 function items inside it that branch (a function literal at line 134, a function literal at line 78, doFetch). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/marketplace-store.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d1cef8741aac9f3d702c36bdfa64fce2f0eeb6094a428234067a5959d45455"}},{"ruleId":"D2","level":"warning","message":{"text":"OverviewLive.step (cognitive 16): OverviewLive.step has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 3, loops 1, ternaries 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/src/components/landing/OverviewLive.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"1755f51e78ab8118714bdf4324703e54f99773fc53ea1aef30b52395ac8d0852"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: extension-detail.ExtensionDetail: FunctionTooLong \u2014 ExtensionDetail runs 720 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 620 over it, 7.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/extension-detail.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"1815902c64266e20223b5c817ca8a60a8139bc6cd160b561457e5dfb36a49614"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: settings.SettingsPage: FunctionTooLong \u2014 SettingsPage runs 611 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 511 over it, 6.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/settings.tsx"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"3871efaf06e79656990dfcd034294ad3bb2c92b1db5b327704e9efe56398126a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: audit.AuditPage: FunctionTooLong \u2014 AuditPage runs 559 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 459 over it, 5.59\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/audit.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"f41c9772b02aee829aeed48bfe2b1b306edcaee8f7e494227313641895d01602"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: overview.OverviewPage: FunctionTooLong \u2014 OverviewPage runs 495 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 395 over it, 4.95\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/overview.tsx"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"14c8331ed234299e14d1e37627d995950a063f721a6d1ce280deec858ce96fc7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/deployer.rs: FileTooLong \u2014 2116 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 89 free functions. The bar is 500 significant lines; this is 1616 over it, 4.23\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/deployer.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0c6be75002875793f4dc3198e774ad6ccaa554d7fbb64652da909b641aabd2b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: install-dialog.InstallDialog: FunctionTooLong \u2014 InstallDialog runs 412 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 312 over it, 4.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/install-dialog.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2513e9ba39b3494267ee5f169427d4728c8568d58957aee9396dc202080f9d2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: extension-table.ExtensionTable: FunctionTooLong \u2014 ExtensionTable runs 349 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 249 over it, 3.49\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/extension-table.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"877e1901125f3622fa2a23af57556b92dd509e5d3cb66d530bf81e27131dda6e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: delete-dialog.DeleteDialog: FunctionTooLong \u2014 DeleteDialog runs 330 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 230 over it, 3.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/delete-dialog.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc08a5409a5da0d1ccb9e59a2fc638af1925060a0335417691bf52e3bb8f886f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: antigravity-mascot.AntigravityMascot: FunctionTooLong \u2014 AntigravityMascot runs 317 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 217 over it, 3.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/antigravity-mascot.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"74af3a72d57de386319be41b3647f966ebbbea8bea82321a129af02f82b7a7a6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/scanner.rs: FileTooLong \u2014 1474 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 61 free functions. The bar is 500 significant lines; this is 974 over it, 2.95\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/scanner.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c252b501ab6a8f50c0a634920bff7156b26d64bc4347078e6605307e4e079fa"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: kit-editor-dialog.KitEditorDialog: FunctionTooLong \u2014 KitEditorDialog runs 293 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 193 over it, 2.93\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/kits/kit-editor-dialog.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"277998005fb323fa30e50eab578fe20d2a98c2bade86d0d2dfd8ff46cd427693"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Store: TooManyMethods \u2014 84 methods, declared across 8 files: store/extensions.rs (24), store/kits.rs (14), store/schema.rs (14), store/settings.rs (10), \u002B4 more file(s). The bar is 30 methods; this is 54 over it, 2.80\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/store.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"62eba573f780b942efb5d80d58ff688c7a51e89a64d33a7da8ccaae47ff3d275"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: extensions.ExtensionsPage: FunctionTooLong \u2014 ExtensionsPage runs 276 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 176 over it, 2.76\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/extensions.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c1684af7517383430076a11551ff760208cd1c49d4ff186938dee90890c5f15"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: install-dialog.InstallDialog: FunctionTooLong \u2014 InstallDialog runs 263 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 163 over it, 2.63\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/kits/install-dialog.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"83881e4a34425e73b4fc327d853f199eb8bcc3222876287560d2bedbeacf4894"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: config-file-entry.ConfigFileEntry: FunctionTooLong \u2014 ConfigFileEntry runs 255 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 155 over it, 2.55\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/agents/config-file-entry.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb74491430896cbd180881dc936aa5aad7547fd99564c1afdf7838baf0bf3ad4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: kits.KitsPage: FunctionTooLong \u2014 KitsPage runs 249 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 149 over it, 2.49\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/kits.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf1555fb71735798cc873449c6fb5bf32edb214a62ee3689e45144ccfbf6f106"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: onboarding/onboarding.tsx: FileTooLong \u2014 1207 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 707 over it, 2.41\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/onboarding/onboarding.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a4cf5a21339d1d31a1b9ebd61dce658c88945ea0c8251057276597771f56a16"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: marketplace-store.useMarketplaceStore: FunctionTooLong \u2014 useMarketplaceStore runs 240 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 140 over it, 2.40\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/marketplace-store.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ee674699eae9a8a6da07c813b67a4fd29a553a44b0a09c05ecec179d6ae2cc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: new-skills-dialog.NewSkillsDialog: FunctionTooLong \u2014 NewSkillsDialog runs 228 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 128 over it, 2.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/new-skills-dialog.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"148d75520d421d2f6242d0a447cd0cc6ad03ffeb66287eab753df7bdf62ac66b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent-detail.AgentDetail: FunctionTooLong \u2014 AgentDetail runs 197 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 97 over it, 1.97\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/agents/agent-detail.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a2ddf40b6b55a7bda0527373b3458290b6f2411fc9c1ea7fb72583214173359"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/service.rs: FileTooLong \u2014 973 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 473 over it, 1.95\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/service.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f652c800c5081455880ce4596a0d33709dd3577809de6f4dc65d5c4f94978005"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: extension-filters.ExtensionFilters: FunctionTooLong \u2014 ExtensionFilters runs 192 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 92 over it, 1.92\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/extension-filters.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ed00dea876156f2d70a0906a1f8998173862b604db76e12f78d895166324a98"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: kits/service.rs: FileTooLong \u2014 956 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 456 over it, 1.91\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/kits/service.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbac60159a440ec2f6202c8c9c5adbad6ed92a2412ed8cdc3683dc334477dab2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: handlers/install.rs: FileTooLong \u2014 938 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 438 over it, 1.88\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-web/src/handlers/install.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a18549fa43fc5fbafe6cfd94acf76795799ac4b8c8b7680ac3923aea2dedf463"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: onboarding.MockMarketplacePreview: FunctionTooLong \u2014 MockMarketplacePreview runs 183 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 83 over it, 1.83\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/onboarding/onboarding.tsx"},"region":{"startLine":1317}}}],"partialFingerprints":{"codehealthFindingId/v1":"f34d7f0d459ad3f068f3d1863c2159c88f6c78bbe265b37900fd5b0a8609a2d3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/marketplace.rs: FileTooLong \u2014 891 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 391 over it, 1.78\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/marketplace.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"60e097888efd66d7a05ba7cb6f16337bd090e415a2f26b147f978db4eda5f882"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/manager.rs: FileTooLong \u2014 890 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 390 over it, 1.78\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/manager.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4bf3a00ba8e1c46295681236fbbc6128e01ec6e8f1f7d4c2553263eaea444d0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: hk_core::service::delete_extension: FunctionTooLong \u2014 hk_core::service::delete_extension runs 178 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 78 over it, 1.78\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/service.rs"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"69f91869eb149ee5a67117db5796d8058395ed309fa58774e7f99abb1f76a889"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: remove-from-project-dialog.RemoveFromProjectDialog: FunctionTooLong \u2014 RemoveFromProjectDialog runs 176 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 76 over it, 1.76\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/kits/remove-from-project-dialog.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fe8191540ed49d0397c841656e3d3f64b1818cf476d6d5f2214f3cc22ca074a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: hk_core::service::get_extension_content: FunctionTooLong \u2014 hk_core::service::get_extension_content runs 170 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 70 over it, 1.70\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/service.rs"},"region":{"startLine":1135}}}],"partialFingerprints":{"codehealthFindingId/v1":"50bdab5c4e176f8e67e1bdb43cfa4405016bdbded677dc7a0956491eb64b49a6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: onboarding.MockAgentFilesPreview: FunctionTooLong \u2014 MockAgentFilesPreview runs 170 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 70 over it, 1.70\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/onboarding/onboarding.tsx"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"523afc4a5ff414a2dabbf639c568528e73372018d586b9b829175209c3e6c16f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: hk_web::router::build_router: FunctionTooLong \u2014 hk_web::router::build_router runs 165 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 65 over it, 1.65\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-web/src/router.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b01f35ff520154be87d57f0a134e356762405e4895dfbd843d82b3f94b9fdb6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/marketplace.tsx: FileTooLong \u2014 821 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 321 over it, 1.64\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/marketplace.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"072037468d5333dc6129cd9de830ccc15e58376e945dd331354270de213a5cb6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: extensions/extension-detail.tsx: FileTooLong \u2014 787 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: ExtensionDetail (72-1006). The bar is 500 significant lines; this is 287 over it, 1.57\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/extension-detail.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a78ad520d622aa102734a678a2781ceeb721335e53ac5c42d56b48628a758f6b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: hk_core::service::install_to_agent: FunctionTooLong \u2014 hk_core::service::install_to_agent runs 156 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 56 over it, 1.56\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/service.rs"},"region":{"startLine":1382}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f6742d44c84fbfdf2843e66e04db1147319a916c8bb7f8041c6250d44e38038"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/settings.tsx: FileTooLong \u2014 757 significant lines (blank, comment-only and punctuation-only lines excluded), about 81% of them inside a single declaration: SettingsPage (180-908). The bar is 500 significant lines; this is 257 over it, 1.51\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/settings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26eedf2d1c37c4e742025aad0725e7959747900602f4466a258793ed0f451343"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: hk_desktop::commands::extensions::check_updates: FunctionTooLong \u2014 hk_desktop::commands::extensions::check_updates runs 148 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 48 over it, 1.48\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/extensions.rs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4d250f4561d6a64e919f9b036aabb13ad41f8a402240c3126491558a78990b1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: hk_web::handlers::install::check_updates: FunctionTooLong \u2014 hk_web::handlers::install::check_updates runs 141 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 41 over it, 1.41\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-web/src/handlers/install.rs"},"region":{"startLine":954}}}],"partialFingerprints":{"codehealthFindingId/v1":"542d6be76777a420cd82d70efacccbdaad0b5a7947737783bd900c309c8a3960"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: config-step.ConfigStep: FunctionTooLong \u2014 ConfigStep runs 139 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 39 over it, 1.39\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/kits/install-steps/config-step.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f375ab54a2c32152f034b3e3cf1f47149b09b33d40b9064052cc5ff39dac5a0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/main.rs: FileTooLong \u2014 678 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 178 over it, 1.36\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-cli/src/main.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"52a9a858df3bdf973488c06c7d19064e69154acbe5f7f2ea5a0adab260af5161"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: hk_core::scanner::scan_cli_binaries: FunctionTooLong \u2014 hk_core::scanner::scan_cli_binaries runs 135 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 35 over it, 1.35\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/scanner.rs"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"b68722fe0cd2d8ac34eccb8db6d0d1d2d9c3cdc5f2f184f7b1b88f5a983035f5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: App.App: FunctionTooLong \u2014 App runs 134 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 34 over it, 1.34\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/App.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"07105a35a4d92f5547ca089c2b287cadca4ccefd1661ad4f12bd985d276ceebb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: detail-cli-sections.CliSections: FunctionTooLong \u2014 CliSections runs 129 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 29 over it, 1.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/detail-cli-sections.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2de69d424de92374baa5cb572faf4b7933f2597e7f99ffc3e309cbe4cacc530"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: hk_core::deployer::deploy_hook: FunctionTooLong \u2014 hk_core::deployer::deploy_hook runs 127 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/deployer.rs"},"region":{"startLine":1981}}}],"partialFingerprints":{"codehealthFindingId/v1":"872710d93df75ad8e97c4b2f9f1430ad538824c3522520dae9c2cf5407fef8f3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/overview.tsx: FileTooLong \u2014 632 significant lines (blank, comment-only and punctuation-only lines excluded), about 78% of them inside a single declaration: OverviewPage (190-812). The bar is 500 significant lines; this is 132 over it, 1.26\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/overview.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f52fe72a1a0d2c6ee410562d160da87456559c4004fcb4e7e23aab0b7a6284e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent-config-store.useAgentConfigStore: FunctionTooLong \u2014 useAgentConfigStore runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/agent-config-store.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"96840e94e344d3490a0bb8684125efbb72e8f2135fb5e405dce19c0c33817b5d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: hk_core::manager::resolve_and_copy_skill: FunctionTooLong \u2014 hk_core::manager::resolve_and_copy_skill runs 123 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/manager.rs"},"region":{"startLine":1008}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec419d6d80d30313e2655ffde437f4ba6d0e981f03f6e939567400dbfbb30ae9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/audit.tsx: FileTooLong \u2014 609 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: AuditPage (55-767). The bar is 500 significant lines; this is 109 over it, 1.22\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/audit.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88b8cd24ca56061332410436976def2d7ff5a3732d668a55451a4b378371aa0f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: adapter/grok.rs: FileTooLong \u2014 605 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 62% of them inside a single declaration: GrokAdapter (4 blocks, 407-1080). The bar is 500 significant lines; this is 105 over it, 1.21\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/adapter/grok.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6daab361aa6308d80a036ea4342bdbbc0ee80e64964d4aa5c6770fd90d35feb2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: hk_core::kits::service::sync_kit_to_project: FunctionTooLong \u2014 hk_core::kits::service::sync_kit_to_project runs 118 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/kits/service.rs"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"944e97b3a063d67e7075acf1cd91d85227978bc0ada669472c20b216c58701ba"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Store.prune_stale_rows: MethodTooLong \u2014 prune_stale_rows runs 114 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/store/sync.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6937be7f943c0df884f984b9391bc4fdb5c46d5189710d52be91c6587a6fa18"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: onboarding.MockAuditRow: FunctionTooLong \u2014 MockAuditRow runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/onboarding/onboarding.tsx"},"region":{"startLine":1164}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ec6791e81b0d336095ecd99ca791b49d1b2a3ba3e044d23f967b2640f584d2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: preview-step.PreviewStep: FunctionTooLong \u2014 PreviewStep runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/kits/install-steps/preview-step.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"de8a1f30079f506ed2de2fc7476135745d7ff40ded341fc2c8eca0e8e070da8a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: hk_desktop::commands::extensions::update_extension: FunctionTooLong \u2014 hk_desktop::commands::extensions::update_extension runs 111 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/extensions.rs"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ec6e9c62ba1efa86760e45dd9f5fffa9dc6a26346f67df67cb8e31f4abec678"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: hk_web::handlers::install::update_extension: FunctionTooLong \u2014 hk_web::handlers::install::update_extension runs 110 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-web/src/handlers/install.rs"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"de496eda7e1c24869ff1b1f8b092fb47edae2022c7e464ec76b71a63e76b6778"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: opencode-mascot.OpencodeMascot: FunctionTooLong \u2014 OpencodeMascot runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/opencode-mascot.tsx"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d7fc5072a5f9a76834abe0cca3e609ec3d4d7bc8807de3bca263d029b6d9231"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: extensions/bulk-install-dialog.tsx: FileTooLong \u2014 539 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 39 over it, 1.08\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/bulk-install-dialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d67cc16afbec528831687ea41fb29ccced342fd5bfb1e997294a7ce4d08cd3d7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: stores/extension-store.ts: FileTooLong \u2014 536 significant lines (blank, comment-only and punctuation-only lines excluded), about 71% of them inside a single declaration: useExtensionStore (168-739). The bar is 500 significant lines; this is 36 over it, 1.07\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/extension-store.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bc141a62d7b03585742b4679d92a411fd1c816d92617d0134bdd8a24463532e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: hk_desktop::commands::install::scan_git_repo: FunctionTooLong \u2014 hk_desktop::commands::install::scan_git_repo runs 104 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/install.rs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"544b3c7111c23f6ec45cda9040271f7100bf2fb30d292ef650dc11868b5ef9cf"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: hk_web::handlers::install::scan_git_repo: FunctionTooLong \u2014 hk_web::handlers::install::scan_git_repo runs 104 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-web/src/handlers/install.rs"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"e50ff4a2f25ed70c88cf6bcc6bfcb7593c367ac290d0ae888e66235c180af2f6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: hk_web::handlers::install::install_new_repo_skills: FunctionTooLong \u2014 hk_web::handlers::install::install_new_repo_skills runs 104 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-web/src/handlers/install.rs"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc445265dea89291778d1a6fb75eb5611597aaebca9933df2e1d51ceb78f9c19"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/install.rs: FileTooLong \u2014 517 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 17 over it, 1.03\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/install.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dce79d8acafe1a74dfd0851ca669799ad831f0e262c23b05f9409142589eec7c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: delete-kit-confirm.DeleteKitConfirm: FunctionTooLong \u2014 DeleteKitConfirm runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/kits/delete-kit-confirm.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"cffe6cadac0bf56d2cba1a406ff3ae722b7ee574a832374a3c38f202c033df30"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: path-input-dialog.PathInputDialog: FunctionTooLong \u2014 PathInputDialog runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/kits/path-input-dialog.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"74f5917e5cb83f04a55f949cea70e2c24ad2e9df6df1e70c9d5a7e563d33ad4b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/extensions.rs: FileTooLong \u2014 511 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 11 over it, 1.02\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/extensions.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8798ddbf18d699672fcc8a34016c7b9debb8d61d3885528233092e744629cf25"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: scope-switcher-menu.ScopeSwitcherMenu: FunctionTooLong \u2014 ScopeSwitcherMenu runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/scope-switcher-menu.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"85d2aa2b0d669404e0830a26e55cb9eb262be5dacc41243679cb338854ed61b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (7 members, 20 shared lines): crates/hk-core/src/adapter/antigravity.rs:236-267 | crates/hk-core/src/adapter/claude.rs:109-139 | crates/hk-core/src/adapter/cursor.rs:87-116 | crates/hk-core/src/adapter/gemini.rs:186-224 | crates/hk-core/src/adapter/kiro.rs:120-151 | crates/hk-core/src/adapter/pi.rs:141-181 | crates/hk-core/src/adapter/qoder_cn.rs:141-168 \u2014 These 7 members are variants of one another: a block of 20 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 7 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 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/adapter/antigravity.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"36b93e500238f4301fe0001450ca803c10aa6a409986310c1d0faa52620d3f95"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (7 members, 20 shared lines): crates/hk-core/src/adapter/antigravity.rs:236-267 | crates/hk-core/src/adapter/claude.rs:109-139 | crates/hk-core/src/adapter/cursor.rs:87-116 | crates/hk-core/src/adapter/gemini.rs:186-224 | crates/hk-core/src/adapter/kiro.rs:120-151 | crates/hk-core/src/adapter/qoder_cn.rs:141-168 | crates/hk-core/src/adapter/windsurf.rs:107-137 \u2014 These 7 members are variants of one another: a block of 20 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 7 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 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/adapter/antigravity.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"df4d1b7c0b9c2c405294097bcefb93f85a586c05445cdbf0c2fe57704ed79ed5"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 39 shared lines): crates/hk-desktop/src/commands/install.rs:385-496 | crates/hk-desktop/src/commands/install.rs:507-626 | crates/hk-web/src/handlers/install.rs:691-797 | crates/hk-web/src/handlers/install.rs:810-932 \u2014 These 4 members are variants of one another: a block of 39 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":"crates/hk-desktop/src/commands/install.rs"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"6127a4e376650b4920350cbde1c5d57c935e08fc2bc4c113cede75ced05b1e09"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (172 shared lines): crates/hk-desktop/src/commands/extensions.rs:356-589 | crates/hk-web/src/handlers/install.rs:954-1160 \u2014 These two members are variants of one another: 172 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/extensions.rs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5f573a7364c16514519c6b75aef3ceba6bd85341d939a815e3bdd4544fc7fc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (83 shared lines): crates/hk-desktop/src/commands/extensions.rs:595-753 | crates/hk-web/src/handlers/install.rs:373-528 \u2014 These two members are variants of one another: 83 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/extensions.rs"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ca2ddbcf8dafd98275b5d89436439270c0c3a118b412a2ee0b7b577a553fe2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (58 shared lines): crates/hk-desktop/src/commands/agents.rs:67-164 | crates/hk-web/src/handlers/agents.rs:103-206 \u2014 These two members are variants of one another: 58 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/agents.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"08d6a38e3e813f5e6849c01d53068ed9f293bceea3f15f18f31d6fc5b339c2fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (55 shared lines): crates/hk-desktop/src/commands/extensions.rs:208-297 | crates/hk-web/src/handlers/extensions.rs:92-178 \u2014 These two members are variants of one another: 55 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/extensions.rs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"26dba3b0e56b1dcd8d29fdab0f7d99ee5f8be1368ebd8d2e391600887c9bc7ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (50 shared lines): crates/hk-core/src/deployer.rs:1985-2133 | crates/hk-core/src/deployer.rs:2550-2648 \u2014 These two members are variants of one another: 50 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/deployer.rs"},"region":{"startLine":1985}}}],"partialFingerprints":{"codehealthFindingId/v1":"e929c7d3579b79b16a3e89a680ad46780243c8bedb494fed764d763df04ff8d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (44 shared lines): crates/hk-core/src/marketplace.rs:529-581 | crates/hk-core/src/marketplace.rs:635-687 \u2014 These two members are variants of one another: 44 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/marketplace.rs"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9ecfe4463a57b9f29a085e3ad720f40dcab61a950937f11dcd72dc26011b1dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (55 corresponding lines): crates/hk-desktop/src/commands/settings.rs:141-197 | crates/hk-web/src/handlers/settings.rs:198-252 \u2014 These two members are one piece of code written twice and then edited apart: 55 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/settings.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d62927da81a835a6d3d9d5ff1b97458187a97de9e15ee05f7ecd721cab36b92"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): crates/hk-core/src/adapter/codex.rs:302-348 | crates/hk-core/src/adapter/cursor.rs:130-155 | crates/hk-core/src/adapter/gemini.rs:277-323 | crates/hk-core/src/adapter/mod.rs:322-363 | crates/hk-core/src/adapter/windsurf.rs:151-180 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/adapter/codex.rs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"4876fce1f716378274784b1781c85dce74ee13e9fb9df9dcbd51146aa846554f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): crates/hk-core/src/deployer.rs:2676-2717 | crates/hk-core/src/deployer.rs:2720-2748 | crates/hk-core/src/deployer.rs:2886-2919 | crates/hk-core/src/deployer.rs:3207-3251 | crates/hk-core/src/deployer.rs:3257-3287 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/deployer.rs"},"region":{"startLine":2676}}}],"partialFingerprints":{"codehealthFindingId/v1":"00b9fc80ab30a444d517a04fe7b906e6730d1e276312f3683713e610a72eff4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/hk-desktop/src/commands/install.rs:165-237 | crates/hk-desktop/src/commands/install.rs:245-376 | crates/hk-web/src/handlers/install.rs:25-94 | crates/hk-web/src/handlers/install.rs:555-678 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/install.rs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"a037af016bb8d6eec912f30a5821b408e4dc95881f8e0469704077fe3d30572d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (88 corresponding lines): crates/hk-desktop/src/commands/marketplace.rs:60-148 | crates/hk-web/src/handlers/install.rs:108-195 \u2014 These two members are one piece of code written twice and then edited apart: 88 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/marketplace.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"10512f295f269fde91857c2ecfbfcfa5b8f9cb447e65eb2286b76b7a315ad629"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (95 corresponding lines): crates/hk-desktop/src/commands/install.rs:62-156 | crates/hk-web/src/handlers/install.rs:208-305 \u2014 These two members are one piece of code written twice and then edited apart: 95 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/install.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce9aaee58bd4d51027da6e60809b7633b950461ea16bbadbe65b1c6d9b9837b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): crates/hk-core/src/marketplace.rs:345-391 | crates/hk-core/src/marketplace.rs:426-466 \u2014 These two members are one piece of code written twice and then edited apart: 41 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/marketplace.rs"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"e41da8079f0bff536d9f2036f87cdaa460229148f7bcabd23351bc80fde9593b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): crates/hk-desktop/src/commands/settings.rs:10-36 | crates/hk-web/src/handlers/settings.rs:12-47 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/settings.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"005286f5292ab2a52cd7c7d1bb43047e58b111ea29c52c3b0eb525b9b5b3293f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): crates/hk-desktop/src/commands/extensions.rs:302-353 | crates/hk-web/src/handlers/install.rs:1164-1213 \u2014 These two members are one piece of code written twice and then edited apart: 50 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/extensions.rs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b269fee4abd654370198bb4bcfb7d95c37ee31c2664bb03b7257a8e23d0ec58"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): crates/hk-desktop/src/commands/projects.rs:20-62 | crates/hk-web/src/handlers/projects.rs:35-78 \u2014 These two members are one piece of code written twice and then edited apart: 43 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/projects.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b79ff06746d831f2f0c4e368bef9f1eb6c77e6a3087a015f7999018f0804e59"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): crates/hk-core/src/adapter/omp.rs:135-175 | crates/hk-core/src/adapter/openclaw.rs:306-337 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/adapter/omp.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f1abb808280c453c30bc07aaaebed0b2737bd139998dc7c15b6082e3c0e618a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): crates/hk-desktop/src/commands/agents.rs:6-31 | crates/hk-web/src/handlers/agents.rs:15-37 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/agents.rs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"161e6a4665e8505b4bf7f841a8b48af549cce76599cfcca05206832274ee3a61"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): crates/hk-core/src/deployer.rs:2757-2797 | crates/hk-core/src/deployer.rs:2800-2831 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/deployer.rs"},"region":{"startLine":2757}}}],"partialFingerprints":{"codehealthFindingId/v1":"f24e26af9c89049c9ac6b43e661fc4721dc7a5bdaa96e0ff53d7d022c9681953"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): crates/hk-core/src/marketplace.rs:602-628 | crates/hk-core/src/marketplace.rs:693-720 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/marketplace.rs"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b25a282609135de95f2e2cd6a8ea70f82305860d84084e3aa24d335a8d07fb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): crates/hk-core/src/deployer.rs:32-64 | crates/hk-core/src/manager.rs:1387-1419 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/deployer.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"b71d4c2f0a386d29390d407a4856f5722fce2455902e210541bfdd52ee434c14"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 31\u002B corresponding lines): crates/hk-core/src/marketplace.rs:197-228 | crates/hk-core/src/marketplace.rs:271-302 | crates/hk-core/src/marketplace.rs:308-341 | crates/hk-core/src/marketplace.rs:393-423 | crates/hk-core/src/marketplace.rs:469-500 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 31 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/marketplace.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"f729fd93cfcbecc9ed939bd5cc4eca3d784c3d5bc9b8257ebedc4f30e61ccd8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 27\u002B corresponding lines): crates/hk-core/src/auditor/rules/content.rs:32-58 | crates/hk-core/src/auditor/rules/content.rs:298-327 | crates/hk-core/src/auditor/rules/content.rs:352-386 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 27 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/auditor/rules/content.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"0475c3c1d5847bd83d3705167dddec5d84cb50bc5d5a1685a6bff4f487c980ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): crates/hk-desktop/src/commands/settings.rs:95-118 | crates/hk-web/src/handlers/settings.rs:146-172 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/settings.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b5d5348add6308e9348cf38509e31da9118b46aa76db36702a14a408195341a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): crates/hk-core/src/adapter/claude.rs:168-187 | crates/hk-core/src/adapter/qoder_cn.rs:242-260 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/adapter/claude.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"efe4cbc88c23ce15182441075389af1875a56804f4c2aa9a79e165a7402d8794"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): crates/hk-core/src/manager.rs:1300-1325 | crates/hk-core/src/manager.rs:1339-1363 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/manager.rs"},"region":{"startLine":1300}}}],"partialFingerprints":{"codehealthFindingId/v1":"13259a9209a2dbff8ff3953769b3a097570651609da88f112b0c7db16001b7d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): crates/hk-core/src/kits/service.rs:140-161 | crates/hk-core/src/kits/service.rs:167-193 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/kits/service.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"833369f7530ba90c820c8e2e9292e642e7054cb5013c99614673789922159d17"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): crates/hk-core/src/deployer.rs:709-722 | crates/hk-core/src/deployer.rs:1020-1037 | crates/hk-core/src/deployer.rs:1048-1065 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/deployer.rs"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"59d66b7ec24b1fa7f1b0829c615e8e74c9b7780b1d3c71249e28edc17b175a27"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/hk-desktop/src/commands/agents.rs:54-64 | crates/hk-web/src/handlers/agents.rs:65-83 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/agents.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"57e7e23f535a1a3aca3906f6e86cca1eb9a31ceaf58c2a467e01a239e55e18dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): crates/hk-core/src/deployer.rs:318-331 | crates/hk-core/src/deployer.rs:2655-2668 | crates/hk-core/src/deployer.rs:2926-2939 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/deployer.rs"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"e97c3cf7e606e4508f79a654e4521c9ac3a967ff0b9504401527f48a320bbc24"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/hk-core/src/kits/source_resolver.rs:61-76 | crates/hk-core/src/kits/source_resolver.rs:82-97 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/kits/source_resolver.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"e78f196713e5308233c9416c66e07d2ccb586305ddb996453771df720ad04ddd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/hk-core/src/adapter/windsurf.rs:194-208 | crates/hk-core/src/adapter/windsurf.rs:271-281 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/adapter/windsurf.rs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"e331c986d552b80160cbb2f460e78945696e18cab5991b56d2b819646d53ace9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): crates/hk-core/src/adapter/claude.rs:189-207 | crates/hk-core/src/adapter/gemini.rs:123-139 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/adapter/claude.rs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a624ff7cf4e381fc3266d99c1d7a51e5d5e9351981a6ac31655767f29600e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/hk-core/src/marketplace.rs:820-834 | crates/hk-core/src/marketplace.rs:837-851 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/marketplace.rs"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"7abaab0e9d86f08e2c5f1ea9c841df0c48336682660e1fe14bf374cd6b6234a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/hk-core/src/adapter/grok.rs:242-253 | crates/hk-core/src/adapter/omp.rs:60-70 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/adapter/grok.rs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c3438119e797cc3811207cd5a5b21f1b67420a15047c05f2ba45c80d6c72dbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/hk-core/src/adapter/kiro.rs:164-172 | crates/hk-core/src/adapter/opencode.rs:132-143 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/adapter/kiro.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"5756abd0e9e7719e0bc83a76938ba64ee7f31d7384076dcc39c4a88e0e8322ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 10\u002B corresponding lines): crates/hk-core/src/adapter/codex.rs:30-40 | crates/hk-core/src/adapter/grok.rs:182-192 | crates/hk-core/src/adapter/mod.rs:167-176 | crates/hk-core/src/adapter/mod.rs:183-192 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/adapter/codex.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"717e360ecb40c3124c61b0eff6eeaa625269a37a2a6df137f7665eb5c8163487"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/hk-core/src/deployer.rs:525-537 | crates/hk-core/src/deployer.rs:2531-2542 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/deployer.rs"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"9985f4bd3fb8919eab491aa94c132463f6cce104f7a7779da39466fb4e11d8bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/hk-desktop/src/commands/extensions.rs:34-40 | crates/hk-desktop/src/commands/install.rs:637-652 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/extensions.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"64a976162029a15362f7c7cf0a96967561eaeb90013a4c1b3cdeb2b53e60df96"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/hk-cli/src/main.rs:318-329 | crates/hk-desktop/src/commands/install.rs:27-39 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-cli/src/main.rs"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"417d678354fded1ff1721cd721ad87652c0a55967526df8bf559d508b48d5609"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/hk-web/src/handlers/agents.rs:220-234 | crates/hk-web/src/handlers/agents.rs:247-255 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-web/src/handlers/agents.rs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea849b86a04bdb3423688732392e2343cf6b7e3da44736155a6ab5a2fb672a21"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/hk-core/src/service.rs:670-676 | crates/hk-core/src/scanner.rs:2022-2028 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/service.rs"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"282fb42d1eaed1f5032c4516fb9ee672ae6e9590f24f92e1319d6fd64108b6b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/hk-web/src/handlers/projects.rs:15-25 | crates/hk-desktop/src/commands/projects.rs:10-17 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-web/src/handlers/projects.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d3028e60650bac56cc67cec0251fbb4f372c9efbd10de062ad188f086c424bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/hk-cli/src/grouping.rs:86-92 | crates/hk-core/src/kits/service.rs:591-597 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-cli/src/grouping.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"408aefecb2238a4ca1f32baa67588548addb316edf6a9b0da26ce120484ac4d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/hk-core/src/adapter/hermes.rs:465-475 | crates/hk-core/src/adapter/mod.rs:35-43 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/adapter/hermes.rs"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"521d19b36436ab8115ffac4a63c62b94c43813e0cc149d527b2a32618145ac4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/hk-core/src/adapter/claude.rs:157-166 | crates/hk-core/src/adapter/qoder_cn.rs:224-232 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/adapter/claude.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccc392ebf641189f2abd84eb74aa8cbb5ff55ba2249393a0b32dd2208fb61b36"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/hk-desktop/src/commands/extensions.rs:44-50 | crates/hk-web/src/handlers/extensions.rs:79-88 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/extensions.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bf5a6f1b81e67ab68b5cb0b470d5e98b3c17e10efafab721bc0b05eeddaf029"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/hk-web/src/handlers/agents.rs:94-101 | crates/hk-web/src/handlers/settings.rs:76-83 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-web/src/handlers/agents.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"9671e421c9f671225b4cd01c9ea28dfc401319fa9d36f200e49f6053735a1a94"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): crates/hk-core/src/adapter/openclaw.rs:224-229 | crates/hk-core/src/adapter/opencode.rs:30-38 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/adapter/openclaw.rs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"824f7fdded1722ff1fb9657c87ce00a1f402ddc257b26d3993973efc5785d908"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): crates/hk-web/src/handlers/agents.rs:48-55 | crates/hk-web/src/handlers/projects.rs:88-95 | crates/hk-web/src/handlers/settings.rs:58-65 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-web/src/handlers/agents.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"50503f8b863356bf855419c490d98e3b3696e736a68ff8eccbaf5e0b8c2e0236"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): crates/hk-core/src/adapter/codex.rs:311-348 | crates/hk-core/src/adapter/gemini.rs:286-323 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hk-core/src/adapter/codex.rs:311\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/adapter/codex.rs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"97b8c02baf0338b557c785922b6bb5721d513fcf2310a13b19cf51e8380c46bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32\u201336 lines \u00D7 2): crates/hk-desktop/src/commands/extensions.rs:429-464 | crates/hk-web/src/handlers/install.rs:1016-1047 \u2014 before extracting anything, compare \u0060crates/hk-desktop/src/commands/extensions.rs\u0060 and \u0060crates/hk-web/src/handlers/install.rs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 326 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 \u0060crates/hk-desktop/src/commands/extensions.rs:429\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/extensions.rs"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"850e950e01f62c7e57b769f1e9e7b5d33dc897ccee96b111b0501eb85af6380e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): crates/hk-desktop/src/commands/settings.rs:157-197 | crates/hk-web/src/handlers/settings.rs:212-252 \u2014 before extracting anything, compare \u0060crates/hk-desktop/src/commands/settings.rs\u0060 and \u0060crates/hk-web/src/handlers/settings.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 78 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 \u0060crates/hk-desktop/src/commands/settings.rs:157\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/settings.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c145f7a4f3914fcd1e34285168f0282d95f3dad43985289e6b8160e834cf8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201331 lines \u00D7 2): crates/hk-desktop/src/commands/extensions.rs:501-531 | crates/hk-web/src/handlers/install.rs:1078-1106 \u2014 before extracting anything, compare \u0060crates/hk-desktop/src/commands/extensions.rs\u0060 and \u0060crates/hk-web/src/handlers/install.rs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 326 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 \u0060crates/hk-desktop/src/commands/extensions.rs:501\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/extensions.rs"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"3845ea23a3c2b227786237ced35a526dce08664e316f434ec3267fe361be2d66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201330 lines \u00D7 2): crates/hk-desktop/src/commands/extensions.rs:469-498 | crates/hk-web/src/handlers/install.rs:1049-1077 \u2014 before extracting anything, compare \u0060crates/hk-desktop/src/commands/extensions.rs\u0060 and \u0060crates/hk-web/src/handlers/install.rs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 326 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 \u0060crates/hk-desktop/src/commands/extensions.rs:469\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/extensions.rs"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"7891d1678a2d07a67087fb8a9026a5a0d49d35b5b5ebfb9d3b191b1e82209bd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): crates/hk-desktop/src/commands/agents.rs:107-137 | crates/hk-web/src/handlers/agents.rs:142-172 \u2014 before extracting anything, compare \u0060crates/hk-desktop/src/commands/agents.rs\u0060 and \u0060crates/hk-web/src/handlers/agents.rs\u0060 as WHOLE FILES: this scan already matched 5 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. 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 \u0060crates/hk-desktop/src/commands/agents.rs:107\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/hk-desktop/src/commands/agents.rs:138\u0060 calls \u0060iter\u0060 and \u0060crates/hk-web/src/handlers/agents.rs:173\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":"crates/hk-desktop/src/commands/agents.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5bfe3a2ce046dba6c79ebfd9c8c66405c2cea61b07a6a3abbd2d7b034edb06a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201328 lines \u00D7 2): crates/hk-core/src/marketplace.rs:364-391 | crates/hk-core/src/marketplace.rs:443-466 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hk-core/src/marketplace.rs:364\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/marketplace.rs"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"490dec5589fb11a7e2830bf285ed60aa2bb38b965b000dde00809af6bad9f5ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201327 lines \u00D7 2): crates/hk-desktop/src/commands/extensions.rs:368-394 | crates/hk-web/src/handlers/install.rs:962-987 \u2014 before extracting anything, compare \u0060crates/hk-desktop/src/commands/extensions.rs\u0060 and \u0060crates/hk-web/src/handlers/install.rs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 326 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 \u0060crates/hk-desktop/src/commands/extensions.rs:368\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/extensions.rs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"14ec583389c1c239b5292e0226ec617c7fc4b936527e4a81319a591bfa337f7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): crates/hk-web/src/handlers/install.rs:771-797 | crates/hk-web/src/handlers/install.rs:906-932 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hk-web/src/handlers/install.rs:771\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-web/src/handlers/install.rs"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e40ffb7a8f149b10dbca7f5f00600f92fd15e0ac7c782b6639b9d927bdd5a3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201326 lines \u00D7 2): crates/hk-desktop/src/commands/extensions.rs:304-329 | crates/hk-web/src/handlers/install.rs:1167-1190 \u2014 before extracting anything, compare \u0060crates/hk-desktop/src/commands/extensions.rs\u0060 and \u0060crates/hk-web/src/handlers/install.rs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 326 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 \u0060crates/hk-desktop/src/commands/extensions.rs:304\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/extensions.rs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"21531d69f22981219c34ac992907731bcc708177a22c548abe4fed0830f67c35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): crates/hk-desktop/src/commands/extensions.rs:247-272 | crates/hk-desktop/src/commands/extensions.rs:396-421 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hk-desktop/src/commands/extensions.rs:247\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/extensions.rs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"f66e59479112f9101d6f4f0c72309fb58c3ac6c422ecf016acff4060a39813a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): crates/hk-core/src/deployer.rs:34-57 | crates/hk-core/src/manager.rs:1389-1412 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hk-core/src/deployer.rs:34\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/deployer.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a9bb562f20bc037e611a4e75fc3f86e4c4de402d9e1ba0e073e3a08f579745"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201324 lines \u00D7 2): crates/hk-desktop/src/commands/extensions.rs:728-751 | crates/hk-web/src/handlers/install.rs:506-527 \u2014 before extracting anything, compare \u0060crates/hk-desktop/src/commands/extensions.rs\u0060 and \u0060crates/hk-web/src/handlers/install.rs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 326 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 \u0060crates/hk-desktop/src/commands/extensions.rs:728\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/extensions.rs"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfb39820f3fdfa6e5da107dd4bbdbcc0fc4ff3364975a451f155802eca1019ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): crates/hk-desktop/src/commands/install.rs:177-199 | crates/hk-desktop/src/commands/marketplace.rs:74-95 \u2014 before extracting anything, compare \u0060crates/hk-desktop/src/commands/install.rs\u0060 and \u0060crates/hk-desktop/src/commands/marketplace.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hk-desktop/src/commands/install.rs:177\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/install.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"74a8da1c69853f18c4cc6c356fa8655d4d3a2ce1b3d0a94557d2bae6df1b96fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): crates/hk-web/src/handlers/install.rs:39-61 | crates/hk-web/src/handlers/install.rs:124-146 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hk-web/src/handlers/install.rs:39\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-web/src/handlers/install.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"48db7ed8e15e0faf1b79b416ae670a5cd03910d5a627a5c31593f5f5f442e974"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): crates/hk-desktop/src/commands/install.rs:397-418 | crates/hk-desktop/src/commands/install.rs:535-555 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hk-desktop/src/commands/install.rs:397\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/install.rs"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bcc062464b90b52d41a384321e3552e4d6477cf77e4469985861c0cda76710f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): crates/hk-desktop/src/commands/install.rs:442-463 | crates/hk-desktop/src/commands/install.rs:574-595 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hk-desktop/src/commands/install.rs:442\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/install.rs"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f2316eaa5e6ad7eb876266741337548b122904ee74ed405dd1d88a51912a860"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): crates/hk-desktop/src/commands/install.rs:467-488 | crates/hk-desktop/src/commands/install.rs:599-620 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hk-desktop/src/commands/install.rs:467\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/install.rs"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"87fc4624f096a8532b742639ad30e7b442acbc7b2f622ed9473ae76e95240264"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): crates/hk-web/src/handlers/install.rs:702-723 | crates/hk-web/src/handlers/install.rs:837-858 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hk-web/src/handlers/install.rs:702\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-web/src/handlers/install.rs"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"19735d03116bcbd40d6c1a1f1acf938eccf7daf38c6040fc7a079cbb3e7b35b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): crates/hk-web/src/handlers/install.rs:746-767 | crates/hk-web/src/handlers/install.rs:881-902 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hk-web/src/handlers/install.rs:746\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-web/src/handlers/install.rs"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"47d010cc2bd44acafb6962ab95e5d828bd23be78ed3b4a0190362e9f0c6c82de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): crates/hk-core/src/service.rs:926-946 | crates/hk-core/src/service.rs:1501-1521 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hk-core/src/service.rs:926\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/service.rs"},"region":{"startLine":926}}}],"partialFingerprints":{"codehealthFindingId/v1":"41e705f7b96c869145415546241ba3333438ee78c75e5f899fabc461f3b88070"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 4): crates/hk-core/src/marketplace.rs:283-302 | crates/hk-core/src/marketplace.rs:322-341 | crates/hk-core/src/marketplace.rs:404-423 | crates/hk-core/src/marketplace.rs:481-500 \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 \u0060crates/hk-core/src/marketplace.rs:283\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/marketplace.rs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"17a8486f6cbafdba4c32765414ac1e44bc9563b812387e382482e4c962960c34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/hk-core/src/adapter/claude.rs:53-72 | crates/hk-core/src/adapter/qoder_cn.rs:56-75 \u2014 before extracting anything, compare \u0060crates/hk-core/src/adapter/claude.rs\u0060 and \u0060crates/hk-core/src/adapter/qoder_cn.rs\u0060 as WHOLE FILES: this scan already matched 8 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":"crates/hk-core/src/adapter/claude.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a5bbb465d721fa7f63baacb0b77980c97bdbb5784356992da5fae781a7c48bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/hk-core/src/marketplace.rs:209-228 | crates/hk-core/src/marketplace.rs:248-267 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hk-core/src/marketplace.rs:209\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/marketplace.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"9acae9f0a0db0044cefa58f11bb559343eaeecff7cffe4300421904cf6be759f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/hk-desktop/src/commands/extensions.rs:273-291 | crates/hk-web/src/handlers/extensions.rs:155-173 \u2014 before extracting anything, compare \u0060crates/hk-desktop/src/commands/extensions.rs\u0060 and \u0060crates/hk-web/src/handlers/extensions.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 76 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 \u0060crates/hk-desktop/src/commands/extensions.rs:273\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/hk-desktop/src/commands/extensions.rs:292\u0060 calls \u0060emit\u0060 and \u0060crates/hk-web/src/handlers/extensions.rs:174\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":"crates/hk-desktop/src/commands/extensions.rs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"88fc334b57f6ee85fe478b8ab301fade56ddc0ccf1d6dad8638e3f48cc3d4e9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): crates/hk-desktop/src/commands/install.rs:219-237 | crates/hk-desktop/src/commands/marketplace.rs:131-148 \u2014 before extracting anything, compare \u0060crates/hk-desktop/src/commands/install.rs\u0060 and \u0060crates/hk-desktop/src/commands/marketplace.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hk-desktop/src/commands/install.rs:219\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/install.rs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"16b7f5ae4aeb5c522179ba2926f04138b28a0f6e6892621809929611e2eab79a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/hk-core/src/deployer.rs:2103-2120 | crates/hk-core/src/deployer.rs:2609-2626 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hk-core/src/deployer.rs:2103\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/deployer.rs"},"region":{"startLine":2103}}}],"partialFingerprints":{"codehealthFindingId/v1":"966082302cc606990976ab39981811272ff7cf72e2a19f081d1ac1054de4c8d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): crates/hk-desktop/src/commands/extensions.rs:336-353 | crates/hk-web/src/handlers/install.rs:1194-1210 \u2014 before extracting anything, compare \u0060crates/hk-desktop/src/commands/extensions.rs\u0060 and \u0060crates/hk-web/src/handlers/install.rs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 326 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 \u0060crates/hk-desktop/src/commands/extensions.rs:336\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/hk-web/src/handlers/install.rs:1191\u0060 calls \u0060Some\u0060, \u0060to_string\u0060 and \u0060crates/hk-desktop/src/commands/extensions.rs:335\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":"crates/hk-desktop/src/commands/extensions.rs"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b556df27ea636206953f0859589afb71cde12a035c55cee0720388e35806200"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/hk-web/src/handlers/install.rs:77-94 | crates/hk-web/src/handlers/install.rs:178-195 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hk-web/src/handlers/install.rs: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":"crates/hk-web/src/handlers/install.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f500a151cbbb0a03ed9ccba1fc01dcf8efec5348a15efa4a99371f8fa2e54a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): crates/hk-core/src/adapter/antigravity.rs:241-257 | crates/hk-core/src/adapter/windsurf.rs:112-127 \u2014 before extracting anything, compare \u0060crates/hk-core/src/adapter/antigravity.rs\u0060 and \u0060crates/hk-core/src/adapter/windsurf.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hk-core/src/adapter/antigravity.rs:241\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/adapter/antigravity.rs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"59958f8454c263ff65da59a1cf5054149513d542a45a30da083fddf70758e7d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/hk-core/src/adapter/codex.rs:265-281 | crates/hk-core/src/adapter/grok.rs:583-599 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/adapter/codex.rs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"e33ec28b1b9cbc3c6c493f15844e690cd23cd35e695382583952d1894ccdbdc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/hk-core/src/manager.rs:1030-1046 | crates/hk-core/src/manager.rs:1079-1095 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hk-core/src/manager.rs:1030\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/manager.rs"},"region":{"startLine":1030}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9900f4f12ac7651663205c9eac22d7f3918e7162e2603d6c7eb2086ea7122c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/hk-desktop/src/commands/install.rs:109-125 | crates/hk-web/src/handlers/install.rs:259-275 \u2014 before extracting anything, compare \u0060crates/hk-desktop/src/commands/install.rs\u0060 and \u0060crates/hk-web/src/handlers/install.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 140 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 \u0060crates/hk-desktop/src/commands/install.rs:109\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/install.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd4f44444cfda1ffd3b6b91dc804f33afb7d86a41f6b93cc487324bd70abbb97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): crates/hk-desktop/src/commands/install.rs:413-429 | crates/hk-web/src/handlers/install.rs:719-734 \u2014 before extracting anything, compare \u0060crates/hk-desktop/src/commands/install.rs\u0060 and \u0060crates/hk-web/src/handlers/install.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 140 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 \u0060crates/hk-desktop/src/commands/install.rs:413\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/install.rs"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"46614f7f6aebac52e16230f05723d798c93df479e37b3c9a65de238e2a6d9fa6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): crates/hk-desktop/src/commands/install.rs:439-454 | crates/hk-desktop/src/commands/install.rs:571-586 | crates/hk-web/src/handlers/install.rs:743-758 | crates/hk-web/src/handlers/install.rs:878-893 \u2014 before extracting anything, compare \u0060crates/hk-desktop/src/commands/install.rs\u0060 and \u0060crates/hk-web/src/handlers/install.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 140 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 \u0060crates/hk-desktop/src/commands/install.rs:439\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/install.rs"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"df4fc8f79bcbcdaac5d3a6dc170ce209461de2089627bfb9a86e40701ffb2208"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): crates/hk-core/src/manager.rs:1030-1045 | crates/hk-core/src/manager.rs:1079-1094 | crates/hk-core/src/manager.rs:1128-1143 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hk-core/src/manager.rs:1030\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/manager.rs"},"region":{"startLine":1030}}}],"partialFingerprints":{"codehealthFindingId/v1":"4834bd671336bc294698270477cb2c07df9aeb5675751e441afbae4aad755b1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/hk-core/src/manager.rs:1102-1117 | crates/hk-core/src/manager.rs:1156-1171 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hk-core/src/manager.rs:1102\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/manager.rs"},"region":{"startLine":1102}}}],"partialFingerprints":{"codehealthFindingId/v1":"d778db432c4014c90169bd9261e5cc6a117ba8c00fc66f2688a7e72b2d2e8957"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/hk-core/src/scanner.rs:2041-2056 | crates/hk-core/src/service.rs:690-705 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hk-core/src/scanner.rs:2041\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/scanner.rs"},"region":{"startLine":2041}}}],"partialFingerprints":{"codehealthFindingId/v1":"7564fa3bdb8ddbad383e64c085b9c82af061c11923f8ea123bf5ab0724a4d352"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): crates/hk-desktop/src/commands/extensions.rs:566-587 | crates/hk-web/src/handlers/install.rs:1138-1159 \u2014 before extracting anything, compare \u0060crates/hk-desktop/src/commands/extensions.rs\u0060 and \u0060crates/hk-web/src/handlers/install.rs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 326 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 \u0060crates/hk-desktop/src/commands/extensions.rs:566\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/extensions.rs"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"54d99591d4358fa6662d9e895399043f713758c3a076d7dddcb2bed824116185"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/hk-core/src/adapter/claude.rs:173-187 | crates/hk-core/src/adapter/qoder_cn.rs:246-260 \u2014 before extracting anything, compare \u0060crates/hk-core/src/adapter/claude.rs\u0060 and \u0060crates/hk-core/src/adapter/qoder_cn.rs\u0060 as WHOLE FILES: this scan already matched 8 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":"crates/hk-core/src/adapter/claude.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4a01eae3599cd8a6ae863ca53716ff804db383f448b2b1562984213e247ce41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/hk-core/src/adapter/cursor.rs:92-106 | crates/hk-core/src/adapter/kiro.rs:125-139 \u2014 before extracting anything, compare \u0060crates/hk-core/src/adapter/cursor.rs\u0060 and \u0060crates/hk-core/src/adapter/kiro.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 53 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hk-core/src/adapter/cursor.rs:92\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/adapter/cursor.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ee033ab2520ad9674712fd22c086b2d98b3af99e1587b506eb65bdd3700048"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/hk-core/src/service.rs:901-915 | crates/hk-core/src/service.rs:1460-1474 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hk-core/src/service.rs:901\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/service.rs"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3a6dbfd506c03dec46d114f8d4ac9a85f4b1f2f433026fdce2afc37121b37dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201316 lines \u00D7 2): crates/hk-desktop/src/commands/agents.rs:16-31 | crates/hk-web/src/handlers/agents.rs:22-34 \u2014 before extracting anything, compare \u0060crates/hk-desktop/src/commands/agents.rs\u0060 and \u0060crates/hk-web/src/handlers/agents.rs\u0060 as WHOLE FILES: this scan already matched 5 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. 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 \u0060crates/hk-desktop/src/commands/agents.rs:16\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/agents.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cb45b53ce4fb839af3fe5226204da82be3e12180996339730bb42c6852e2162"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/hk-desktop/src/commands/extensions.rs:681-695 | crates/hk-web/src/handlers/install.rs:461-475 \u2014 before extracting anything, compare \u0060crates/hk-desktop/src/commands/extensions.rs\u0060 and \u0060crates/hk-web/src/handlers/install.rs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 326 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 \u0060crates/hk-desktop/src/commands/extensions.rs:681\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/extensions.rs"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f84abef790477feaf1385ad3933ea42a7d52786563a84652e978f36512b6d61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201315 lines \u00D7 2): crates/hk-desktop/src/commands/extensions.rs:697-711 | crates/hk-web/src/handlers/install.rs:477-488 \u2014 before extracting anything, compare \u0060crates/hk-desktop/src/commands/extensions.rs\u0060 and \u0060crates/hk-web/src/handlers/install.rs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 326 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 \u0060crates/hk-desktop/src/commands/extensions.rs:697\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/extensions.rs"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"a53c2fea3bece9a474bc8cf8e060e685e2cfd29cc6b3ede360f95a01c4500c85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/hk-desktop/src/commands/install.rs:204-218 | crates/hk-desktop/src/commands/install.rs:325-339 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/install.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"fce68aaf88f74e8368888ca0b75d0a9a82ca1b3019288bd450a05c6754dc6cfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/hk-desktop/src/commands/install.rs:458-472 | crates/hk-web/src/handlers/install.rs:762-776 \u2014 before extracting anything, compare \u0060crates/hk-desktop/src/commands/install.rs\u0060 and \u0060crates/hk-web/src/handlers/install.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 140 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 \u0060crates/hk-desktop/src/commands/install.rs:458\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/install.rs"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2530adbc6dbe8bd7fd77a422bd83c8b7bca8d7035b722bcbbdb9bc012236b16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u201315 lines \u00D7 3): crates/hk-desktop/src/commands/helpers.rs:26-27 | crates/hk-desktop/src/commands/settings.rs:149-163 | crates/hk-web/src/handlers/settings.rs:205-218 \u2014 before extracting anything, compare \u0060crates/hk-desktop/src/commands/settings.rs\u0060 and \u0060crates/hk-web/src/handlers/settings.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 78 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 \u0060crates/hk-desktop/src/commands/settings.rs:149\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/helpers.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"d87f9698f492ab77bec06831bc1551dfb782111ab1f6e889cdc03009f75fdfc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 4): crates/hk-desktop/src/commands/extensions.rs:275-286 | crates/hk-desktop/src/commands/extensions.rs:426-439 | crates/hk-web/src/handlers/extensions.rs:157-168 | crates/hk-web/src/handlers/install.rs:1015-1026 \u2014 before extracting anything, compare \u0060crates/hk-desktop/src/commands/extensions.rs\u0060 and \u0060crates/hk-web/src/handlers/extensions.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 76 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 \u0060crates/hk-desktop/src/commands/extensions.rs:275\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/extensions.rs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"3192adefb39284c899d8a38f161b830fea8865718083e157277ed3b51b213444"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): crates/hk-desktop/src/commands/install.rs:466-479 | crates/hk-desktop/src/commands/install.rs:598-611 | crates/hk-web/src/handlers/install.rs:770-783 | crates/hk-web/src/handlers/install.rs:905-918 \u2014 before extracting anything, compare \u0060crates/hk-desktop/src/commands/install.rs\u0060 and \u0060crates/hk-web/src/handlers/install.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 140 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 \u0060crates/hk-desktop/src/commands/install.rs:466\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/install.rs"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"128234829c5c38ab909b2fa0a730e232884096880a9fb3bac0b153b0b463dcae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): crates/hk-core/src/service.rs:936-949 | crates/hk-core/src/service.rs:1296-1309 | crates/hk-core/src/service.rs:1511-1524 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hk-core/src/service.rs:936\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/service.rs"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"421fc6b4bcd61448a021c36a00f10b1346a573fb44d5f50211630e3167433fea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/hk-core/src/marketplace.rs:530-543 | crates/hk-core/src/marketplace.rs:636-649 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/marketplace.rs"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"e10803a72ec2cd42f4da481ab2bed04fd4377486d32786d638bce284e96725b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/hk-core/src/service.rs:1269-1283 | crates/hk-core/src/service.rs:1315-1328 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hk-core/src/service.rs:1269\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/hk-core/src/service.rs:1285\u0060 calls \u0060clone\u0060 and \u0060crates/hk-core/src/service.rs:1330\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/service.rs"},"region":{"startLine":1269}}}],"partialFingerprints":{"codehealthFindingId/v1":"6226abb0a5d7500d969adda6181a3fe1da82cece8cc74e54d25d4ba4ee109251"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/hk-desktop/src/commands/extensions.rs:217-233 | crates/hk-web/src/handlers/extensions.rs:100-116 \u2014 before extracting anything, compare \u0060crates/hk-desktop/src/commands/extensions.rs\u0060 and \u0060crates/hk-web/src/handlers/extensions.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 76 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/extensions.rs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"953fd89819c6f440edaed4b5c8ed2b762f73172e4738465e3488ecf5e4c8969a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 5): crates/hk-core/src/adapter/codex.rs:304-314 | crates/hk-core/src/adapter/cursor.rs:132-142 | crates/hk-core/src/adapter/gemini.rs:279-289 | crates/hk-core/src/adapter/mod.rs:326-338 | crates/hk-core/src/adapter/windsurf.rs:153-164 \u2014 before extracting anything, compare \u0060crates/hk-core/src/adapter/cursor.rs\u0060 and \u0060crates/hk-core/src/adapter/gemini.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hk-core/src/adapter/codex.rs:304\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/adapter/codex.rs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"623ded72fcf73857ef7b5a129562fd0c1576e0a9863ec0714b54405e5f6b3d98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): crates/hk-desktop/src/commands/install.rs:436-448 | crates/hk-desktop/src/commands/install.rs:463-475 | crates/hk-web/src/handlers/install.rs:740-752 | crates/hk-web/src/handlers/install.rs:767-779 \u2014 before extracting anything, compare \u0060crates/hk-desktop/src/commands/install.rs\u0060 and \u0060crates/hk-web/src/handlers/install.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 140 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 \u0060crates/hk-desktop/src/commands/install.rs:436\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/install.rs"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"195658cd38cbb0ac1ed5b03423e19d824e6385591231496b1af4f245a89fc45d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): crates/hk-web/src/handlers/install.rs:31-43 | crates/hk-web/src/handlers/install.rs:612-624 | crates/hk-web/src/handlers/install.rs:704-716 | crates/hk-web/src/handlers/install.rs:839-851 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-web/src/handlers/install.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"e538e3bb8108eb3ceedb6fbb3486fbaf9345ca09de996a6ec36a9c3dba153cd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): crates/hk-core/src/deployer.rs:2037-2049 | crates/hk-core/src/deployer.rs:2080-2092 | crates/hk-core/src/deployer.rs:2573-2585 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060entry\u0060 to \u0060\u0026HookEntry\u0060 in one and \u0060\u0026serde_json::Value\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/deployer.rs"},"region":{"startLine":2037}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ecf07c3f34e08fd36341c00245d31984c09e7bba3586596895945a13f832169"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): crates/hk-core/src/deployer.rs:2677-2689 | crates/hk-core/src/deployer.rs:3210-3222 | crates/hk-core/src/deployer.rs:3258-3270 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/deployer.rs"},"region":{"startLine":2677}}}],"partialFingerprints":{"codehealthFindingId/v1":"03b3c7c18d84b9f217a19b4883ac39da6c2132109e990166213b0fd5748e38fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): crates/hk-core/src/adapter/openclaw.rs:326-337 | crates/hk-core/src/adapter/pi.rs:169-181 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hk-core/src/adapter/openclaw.rs:326\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/adapter/openclaw.rs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7e45943effe9a0938ee4e87606055389d8c0a7532ab80f6de202c451bc1a4b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): crates/hk-core/src/deployer.rs:2759-2771 | crates/hk-core/src/deployer.rs:2805-2816 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/deployer.rs"},"region":{"startLine":2759}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf74833bd0f35c8dee19fa170db78b805db6b108906ea16ee805e776bb5e788b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): crates/hk-core/src/manager.rs:984-996 | crates/hk-desktop/src/commands/install.rs:523-533 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hk-core/src/manager.rs:984\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. 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":"crates/hk-core/src/manager.rs"},"region":{"startLine":984}}}],"partialFingerprints":{"codehealthFindingId/v1":"207cefcf425167d4601875d510dbecad7c50082cedcda70c4fc7ca1e239c303f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): crates/hk-core/src/marketplace.rs:555-567 | crates/hk-core/src/marketplace.rs:661-672 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hk-core/src/marketplace.rs:555\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/marketplace.rs"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"9edd391bef52577cfff8d1ba2e762a4a7d49591481aa32ab290880e4e0a39de4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/hk-core/src/marketplace.rs:822-834 | crates/hk-core/src/marketplace.rs:839-851 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hk-core/src/marketplace.rs:822\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/marketplace.rs"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"cec937854e8e7effbeea896a2ec95ee3cc9a09edb08332d1a8acd8a7568eb434"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/hk-desktop/src/commands/extensions.rs:550-562 | crates/hk-web/src/handlers/install.rs:1122-1134 \u2014 before extracting anything, compare \u0060crates/hk-desktop/src/commands/extensions.rs\u0060 and \u0060crates/hk-web/src/handlers/install.rs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 326 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 \u0060crates/hk-desktop/src/commands/extensions.rs:550\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/extensions.rs"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"a08348fa2c34daafa002e64fe9333ff51bc8871a7fed984d9464126e2d415593"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/hk-web/src/handlers/install.rs:433-445 | crates/hk-web/src/handlers/install.rs:572-584 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hk-web/src/handlers/install.rs:433\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. 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":"crates/hk-web/src/handlers/install.rs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"68f15145d7417e4810b92e2aed5575563bcfcaf21a711a95498c39948c00598e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 11): crates/hk-core/src/adapter/antigravity.rs:250-261 | crates/hk-core/src/adapter/claude.rs:122-133 | crates/hk-core/src/adapter/copilot.rs:360-371 | crates/hk-core/src/adapter/cursor.rs:99-110 | crates/hk-core/src/adapter/gemini.rs:207-218 | crates/hk-core/src/adapter/kiro.rs:132-143 | crates/hk-core/src/adapter/omp.rs:154-165 | crates/hk-core/src/adapter/openclaw.rs:321-332 | crates/hk-core/src/adapter/pi.rs:164-175 | crates/hk-core/src/adapter/qoder_cn.rs:152-163 | crates/hk-core/src/adapter/windsurf.rs:120-131 \u2014 before extracting anything, compare \u0060crates/hk-core/src/adapter/antigravity.rs\u0060 and \u0060crates/hk-core/src/adapter/claude.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hk-core/src/adapter/antigravity.rs:250\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/adapter/antigravity.rs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c42196d72d7401f4733b91cad84511283d8a2fda35731485c4fba09fbfd9a74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 8): crates/hk-desktop/src/commands/install.rs:439-450 | crates/hk-desktop/src/commands/install.rs:466-477 | crates/hk-desktop/src/commands/install.rs:571-582 | crates/hk-desktop/src/commands/install.rs:598-609 | crates/hk-web/src/handlers/install.rs:743-754 | crates/hk-web/src/handlers/install.rs:770-781 | crates/hk-web/src/handlers/install.rs:878-889 | crates/hk-web/src/handlers/install.rs:905-916 \u2014 before extracting anything, compare \u0060crates/hk-desktop/src/commands/install.rs\u0060 and \u0060crates/hk-web/src/handlers/install.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 140 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 \u0060crates/hk-desktop/src/commands/install.rs:439\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/install.rs"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"be1312bbbc476487d817e5188a7476b4e8cbb2c47c1883d869e2e934751ac3ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): crates/hk-core/src/deployer.rs:2560-2571 | crates/hk-core/src/deployer.rs:2581-2592 | crates/hk-core/src/deployer.rs:2597-2608 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hk-core/src/deployer.rs:2560\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/deployer.rs"},"region":{"startLine":2560}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a9cadd967d319f14c018d9e6266ae10e1a5777490c80807a9144de4f75125e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/hk-core/src/deployer.rs:295-306 | crates/hk-core/src/deployer.rs:1946-1957 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/deployer.rs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"01b52d086ecd036d4e973f85a92cd3e4be21ff4845ab89df4555e6f9cfce7db1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/hk-core/src/deployer.rs:2786-2797 | crates/hk-core/src/deployer.rs:2820-2831 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hk-core/src/deployer.rs:2786\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/deployer.rs"},"region":{"startLine":2786}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ca6e3efc6c754d84a2157513ea1fd18c91270cc7b509bf6b77a469fab59d770"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/hk-core/src/marketplace.rs:570-581 | crates/hk-core/src/marketplace.rs:676-687 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hk-core/src/marketplace.rs:570\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/marketplace.rs"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"be2f177c901c8a26a2560e89734e7080c724c2a71c5097f3ab2b0b06fc356475"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/hk-desktop/src/commands/agents.rs:93-104 | crates/hk-web/src/handlers/agents.rs:127-138 \u2014 before extracting anything, compare \u0060crates/hk-desktop/src/commands/agents.rs\u0060 and \u0060crates/hk-web/src/handlers/agents.rs\u0060 as WHOLE FILES: this scan already matched 5 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. 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 \u0060crates/hk-desktop/src/commands/agents.rs:93\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/agents.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2668ff2545049e7eed78c270de37ba7da4ee52f54e79924498fca42835be5ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/hk-desktop/src/commands/extensions.rs:631-642 | crates/hk-web/src/handlers/install.rs:409-420 \u2014 before extracting anything, compare \u0060crates/hk-desktop/src/commands/extensions.rs\u0060 and \u0060crates/hk-web/src/handlers/install.rs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 326 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 \u0060crates/hk-desktop/src/commands/extensions.rs:631\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/extensions.rs"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4e4cf3165e17391bce8fdb0fb7f88503cbbbcefc8ad8a295115a973368b9730"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/hk-desktop/src/commands/extensions.rs:654-665 | crates/hk-desktop/src/commands/install.rs:267-278 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hk-desktop/src/commands/extensions.rs:654\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. 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":"crates/hk-desktop/src/commands/extensions.rs"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"afd797433254742160f6f1cda61a3a8d0a3e38e56d0884f16840a3b90e4898a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/hk-web/src/handlers/install.rs:65-76 | crates/hk-web/src/handlers/install.rs:632-643 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-web/src/handlers/install.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d9666820cc20479ff65a055f3dc2c43cb60ee42643cd6ddbd07da9532803175"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/hk-web/src/handlers/install.rs:118-129 | crates/hk-web/src/handlers/install.rs:249-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hk-web/src/handlers/install.rs:118\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-web/src/handlers/install.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f6261f16984393eea2e4c8c665e3e302699c9c6f494d26dc6ecc0525dfa0d1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/hk-web/src/handlers/install.rs:564-575 | crates/hk-web/src/handlers/install.rs:815-826 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hk-web/src/handlers/install.rs:564\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-web/src/handlers/install.rs"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"14b5e6495b378d60b134cc134406e706cc1fe025b184a1d23d20b7903c494d6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201311 lines \u00D7 4): crates/hk-desktop/src/commands/install.rs:207-217 | crates/hk-desktop/src/commands/install.rs:328-338 | crates/hk-web/src/handlers/install.rs:68-75 | crates/hk-web/src/handlers/install.rs:635-642 \u2014 before extracting anything, compare \u0060crates/hk-desktop/src/commands/install.rs\u0060 and \u0060crates/hk-web/src/handlers/install.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 140 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 \u0060crates/hk-desktop/src/commands/install.rs:207\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/install.rs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"5caed1f16c87a692253a29c57a84c794ef5c39a9194f5972fe9f96be2a2fa4ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): crates/hk-desktop/src/commands/agents.rs:75-85 | crates/hk-web/src/handlers/agents.rs:110-119 \u2014 before extracting anything, compare \u0060crates/hk-desktop/src/commands/agents.rs\u0060 and \u0060crates/hk-web/src/handlers/agents.rs\u0060 as WHOLE FILES: this scan already matched 5 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. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/agents.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"98727b26c54e8c7a1cf1a2187be4929e9ce26968a3aa8bf5050cba9a6bb36af0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/hk-desktop/src/commands/extensions.rs:647-657 | crates/hk-web/src/handlers/install.rs:425-435 \u2014 before extracting anything, compare \u0060crates/hk-desktop/src/commands/extensions.rs\u0060 and \u0060crates/hk-web/src/handlers/install.rs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 326 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/extensions.rs"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"541fb9a9adf9b8f372918e102aca596378a3d27543f5fbff9e50ff07a4ea2e15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/hk-desktop/src/commands/extensions.rs:662-672 | crates/hk-web/src/handlers/install.rs:442-452 \u2014 before extracting anything, compare \u0060crates/hk-desktop/src/commands/extensions.rs\u0060 and \u0060crates/hk-web/src/handlers/install.rs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 326 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 \u0060crates/hk-desktop/src/commands/extensions.rs:662\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/extensions.rs"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4c37c1f9e405acf91b7631f4fe07cffe59990c30b3104c516ef81fcfe24a6ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/hk-desktop/src/commands/install.rs:258-269 | crates/hk-desktop/src/commands/install.rs:515-525 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/install.rs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"478148a9a0b222b5c4f2f7fad7e582705f503a101d2129e98789dedafe4cd071"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/hk-core/src/manager.rs:1028-1037 | crates/hk-core/src/manager.rs:1077-1086 | crates/hk-core/src/manager.rs:1100-1109 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/manager.rs"},"region":{"startLine":1028}}}],"partialFingerprints":{"codehealthFindingId/v1":"47c61e2879f27071789e84928a47f6593800969abf0a4fb0b6ccb7a4dd8e37d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/hk-desktop/src/commands/extensions.rs:259-269 | crates/hk-desktop/src/commands/extensions.rs:408-418 | crates/hk-web/src/handlers/extensions.rs:142-151 \u2014 before extracting anything, compare \u0060crates/hk-desktop/src/commands/extensions.rs\u0060 and \u0060crates/hk-web/src/handlers/extensions.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 76 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 \u0060crates/hk-desktop/src/commands/extensions.rs:259\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/extensions.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f04860e06d6d58c1557e6a3ce1e9e453baa04e0b4370f7198b74f181a0118f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/hk-core/src/adapter/opencode.rs:41-50 | crates/hk-core/src/manager.rs:537-546 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/adapter/opencode.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"72de08b772e91b3845b1f4a0f7747fbfdbd5b0d3537d79f672ec0db640952424"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/hk-core/src/auditor/rules/content.rs:83-92 | crates/hk-core/src/auditor/rules/content.rs:145-154 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/auditor/rules/content.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"3de67243313c30ad683478579cefd214e1a16bf206e3967b31197719e68a930c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/hk-core/src/deployer.rs:1021-1030 | crates/hk-core/src/deployer.rs:1049-1058 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hk-core/src/deployer.rs:1021\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/deployer.rs"},"region":{"startLine":1021}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b859903852c6cc268fefb78e4635cfc2f3c23d327c59c547dd089ec9293d681"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/hk-core/src/deployer.rs:1989-1998 | crates/hk-core/src/deployer.rs:2554-2563 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hk-core/src/deployer.rs:1989\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060entry\u0060 to \u0060\u0026HookEntry\u0060 in one and \u0060\u0026serde_json::Value\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/deployer.rs"},"region":{"startLine":1989}}}],"partialFingerprints":{"codehealthFindingId/v1":"3df27724d914cf05b309d508242dae260c31d1c252eb22221f2883095c4c7de2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/hk-core/src/deployer.rs:2050-2059 | crates/hk-core/src/deployer.rs:2069-2078 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hk-core/src/deployer.rs:2050\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/deployer.rs"},"region":{"startLine":2050}}}],"partialFingerprints":{"codehealthFindingId/v1":"8970587039ee997accae86a13f1063144ba8eccb1a8fc99453874d049538f46c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/hk-core/src/marketplace.rs:658-667 | crates/hk-core/src/marketplace.rs:673-682 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hk-core/src/marketplace.rs:658\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/marketplace.rs"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"83ed612394666a24274fe9fd75bd03ac7b50b6cfd313d6b6eff91aacb6575270"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/hk-desktop/src/commands/install.rs:101-110 | crates/hk-desktop/src/commands/marketplace.rs:70-79 \u2014 before extracting anything, compare \u0060crates/hk-desktop/src/commands/install.rs\u0060 and \u0060crates/hk-desktop/src/commands/marketplace.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/install.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"7039ee449207d6e9c13cb504126437444997f5e9c983ee43c49b06b7bab92173"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 7): crates/hk-core/src/adapter/antigravity.rs:237-244 | crates/hk-core/src/adapter/claude.rs:110-118 | crates/hk-core/src/adapter/cursor.rs:88-95 | crates/hk-core/src/adapter/gemini.rs:187-194 | crates/hk-core/src/adapter/kiro.rs:121-128 | crates/hk-core/src/adapter/pi.rs:142-149 | crates/hk-core/src/adapter/qoder_cn.rs:142-149 \u2014 before extracting anything, compare \u0060crates/hk-core/src/adapter/antigravity.rs\u0060 and \u0060crates/hk-core/src/adapter/claude.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/adapter/antigravity.rs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"905881e094d12969c179d3fef09f8ecd55ea226b863bbf09505ff5be62a17e0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): crates/hk-core/src/deployer.rs:1995-2003 | crates/hk-core/src/deployer.rs:2045-2053 | crates/hk-core/src/deployer.rs:2064-2072 | crates/hk-core/src/deployer.rs:2088-2096 \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 \u0060crates/hk-core/src/deployer.rs:1995\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/deployer.rs"},"region":{"startLine":1995}}}],"partialFingerprints":{"codehealthFindingId/v1":"852ee56dfffbfdc10c489644dc8100a10c7d2334f56731a1a711be1b9c15422c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): crates/hk-desktop/src/commands/install.rs:456-464 | crates/hk-desktop/src/commands/install.rs:588-596 | crates/hk-web/src/handlers/install.rs:760-768 | crates/hk-web/src/handlers/install.rs:895-903 \u2014 before extracting anything, compare \u0060crates/hk-desktop/src/commands/install.rs\u0060 and \u0060crates/hk-web/src/handlers/install.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 140 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 \u0060crates/hk-desktop/src/commands/install.rs:456\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/install.rs"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"30ca6fd5d380ceb4ea65c28e1adb3a5da7b545265a9d52436546366e5b5b1daf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): crates/hk-core/src/adapter/grok.rs:195-203 | crates/hk-core/src/adapter/mod.rs:231-239 | crates/hk-core/src/deployer.rs:753-762 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/adapter/grok.rs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"29ded83e94986b8e719dff404aab1ff5e9f03cd5326f6f64f911683c33a58c3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 3): crates/hk-core/src/auditor/rules/content.rs:34-41 | crates/hk-core/src/auditor/rules/content.rs:86-94 | crates/hk-core/src/auditor/rules/content.rs:356-364 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hk-core/src/auditor/rules/content.rs:34\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/auditor/rules/content.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e4a62180ecc60eb140ad4e21bcf580ea9467652290eae5b88be6f56175c3107"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): crates/hk-desktop/src/commands/extensions.rs:249-257 | crates/hk-desktop/src/commands/extensions.rs:398-406 | crates/hk-web/src/handlers/extensions.rs:132-140 \u2014 before extracting anything, compare \u0060crates/hk-desktop/src/commands/extensions.rs\u0060 and \u0060crates/hk-web/src/handlers/extensions.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 76 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 \u0060crates/hk-desktop/src/commands/extensions.rs:249\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/extensions.rs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"65008ebb054bb2ca843b1c362158c8dc36d6eb9438891ea6a493efe33785c38a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): crates/hk-desktop/src/commands/extensions.rs:258-267 | crates/hk-desktop/src/commands/extensions.rs:407-416 | crates/hk-web/src/handlers/install.rs:999-1007 \u2014 before extracting anything, compare \u0060crates/hk-desktop/src/commands/extensions.rs\u0060 and \u0060crates/hk-web/src/handlers/install.rs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 326 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 \u0060crates/hk-desktop/src/commands/extensions.rs:258\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/extensions.rs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a00214248058fd4e2203163f648d5571cf3610368ddc5f5148d7e3b60a4e2d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/hk-core/src/deployer.rs:2656-2664 | crates/hk-core/src/deployer.rs:2927-2935 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hk-core/src/deployer.rs:2656\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/deployer.rs"},"region":{"startLine":2656}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea90c813acf3f0bfde47e3a9c5832c4e48d0c06c811f47ce62462b9ab6599718"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/hk-core/src/scanner.rs:1916-1924 | crates/hk-core/src/scanner.rs:1995-2003 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/scanner.rs"},"region":{"startLine":1916}}}],"partialFingerprints":{"codehealthFindingId/v1":"66421f30c781914853859ecf9b4b5119ce0fda43c2038655bdb6493526b73a76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/hk-core/src/service.rs:968-976 | crates/hk-core/src/service.rs:1331-1339 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hk-core/src/service.rs:968\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/service.rs"},"region":{"startLine":968}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0d6ba9ac435f2a1bf7cf3d3571456e8e948a698c3a0295291d93bc4b95ef244"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/hk-desktop/src/commands/install.rs:295-304 | crates/hk-web/src/handlers/install.rs:603-611 \u2014 before extracting anything, compare \u0060crates/hk-desktop/src/commands/install.rs\u0060 and \u0060crates/hk-web/src/handlers/install.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 140 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 \u0060crates/hk-desktop/src/commands/install.rs:295\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/install.rs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"781b677bf4920506b7b965fc0a00972bcac2b7e4a341153627669d0faf55476c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 7): crates/hk-core/src/adapter/antigravity.rs:238-245 | crates/hk-core/src/adapter/claude.rs:111-119 | crates/hk-core/src/adapter/cursor.rs:89-96 | crates/hk-core/src/adapter/gemini.rs:188-195 | crates/hk-core/src/adapter/kiro.rs:122-129 | crates/hk-core/src/adapter/qoder_cn.rs:143-150 | crates/hk-core/src/adapter/windsurf.rs:109-117 \u2014 before extracting anything, compare \u0060crates/hk-core/src/adapter/antigravity.rs\u0060 and \u0060crates/hk-core/src/adapter/claude.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hk-core/src/adapter/antigravity.rs:238\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/adapter/antigravity.rs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcdb20c70a19d4affe01710e3dccd8a7b0e46623bd93725c151d2b474e5e0081"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): crates/hk-core/src/deployer.rs:2710-2717 | crates/hk-core/src/deployer.rs:2741-2748 | crates/hk-core/src/deployer.rs:2912-2919 | crates/hk-core/src/deployer.rs:3244-3251 | crates/hk-core/src/deployer.rs:3280-3287 \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 \u0060crates/hk-core/src/deployer.rs:2710\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/deployer.rs"},"region":{"startLine":2710}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d300f3089499a789b059f9a0c1791fc2c1d1aba683d2ab12aa1cef26d855e7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): crates/hk-core/src/auditor/rules/content.rs:37-44 | crates/hk-core/src/auditor/rules/content.rs:90-97 | crates/hk-core/src/auditor/rules/content.rs:300-307 | crates/hk-core/src/auditor/rules/content.rs:360-367 \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 \u0060crates/hk-core/src/auditor/rules/content.rs:37\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/hk-core/src/auditor/rules/content.rs:36\u0060 calls \u0060is_empty\u0060 and \u0060crates/hk-core/src/auditor/rules/content.rs:299\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/auditor/rules/content.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"f95bd8da4f5e9055bc09bdda489ac48ecf287779e2b68c1fe48fc9477c7a21d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): crates/hk-core/src/deployer.rs:1992-1999 | crates/hk-core/src/deployer.rs:2061-2068 | crates/hk-core/src/deployer.rs:2557-2564 | crates/hk-core/src/deployer.rs:2594-2601 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060entry\u0060 to \u0060\u0026HookEntry\u0060 in one and \u0060\u0026serde_json::Value\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/deployer.rs"},"region":{"startLine":1992}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd9f106a4ec7aa3619f72bd993b1a0a3220c4f7226c4d759274f488bd3de8353"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/hk-core/src/deployer.rs:319-326 | crates/hk-core/src/deployer.rs:2506-2513 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hk-core/src/deployer.rs:319\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/deployer.rs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebf4d9074d82d4f6326fecc5d8600eed5b0b3d6e8120e550a797f62a910ce208"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/hk-core/src/deployer.rs:2888-2895 | crates/hk-core/src/deployer.rs:3210-3217 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/deployer.rs"},"region":{"startLine":2888}}}],"partialFingerprints":{"codehealthFindingId/v1":"d22d034e3131d1a22dc665d5fbd9363d99a47e633245d1800b87c53afeabd6e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): crates/hk-core/src/service.rs:606-612 | crates/hk-core/src/service.rs:648-655 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hk-core/src/service.rs:648\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/service.rs"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"974789f32d6af21dfb1d957a736a0314b747be0904ea40c888349240b305eb6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/hk-core/src/service.rs:1140-1147 | crates/hk-core/src/service.rs:1390-1397 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/service.rs"},"region":{"startLine":1140}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c972ef80aab6300e1a12ab6a4d9354e37f2536739b6de0e2029cfaef69ee1a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/hk-desktop/src/commands/projects.rs:44-52 | crates/hk-web/src/handlers/projects.rs:60-67 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hk-desktop/src/commands/projects.rs:44\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/hk-desktop/src/commands/projects.rs:53\u0060 calls \u0060clone\u0060 and \u0060crates/hk-web/src/handlers/projects.rs:68\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":"crates/hk-desktop/src/commands/projects.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe2b701d75da7c0de5029fe9050bf615b13ba179dc19ab80d769fbb4e475739d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u20138 lines \u00D7 2): crates/hk-desktop/src/commands/settings.rs:111-118 | crates/hk-web/src/handlers/settings.rs:165-169 \u2014 before extracting anything, compare \u0060crates/hk-desktop/src/commands/settings.rs\u0060 and \u0060crates/hk-web/src/handlers/settings.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 78 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 \u0060crates/hk-desktop/src/commands/settings.rs:111\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/settings.rs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"be3937701eaab2b5d646a49b61617e56e4f81cd66c8c81e9c373b1dcc3581e4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/hk-web/src/handlers/install.rs:242-249 | crates/hk-web/src/handlers/install.rs:611-618 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hk-web/src/handlers/install.rs:242\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-web/src/handlers/install.rs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3e18203cf607cb1d815839d598e892c977582bdc35d6054996623c4e28d3cba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): crates/hk-core/src/adapter/codex.rs:34-40 | crates/hk-core/src/adapter/grok.rs:186-192 | crates/hk-core/src/adapter/mod.rs:170-176 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hk-core/src/adapter/codex.rs:34\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/adapter/codex.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca7577e64649e09a3b30a59b775d50b64eb5fbf6b77893c0093c822155eb58de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): crates/hk-core/src/adapter/codex.rs:379-385 | crates/hk-core/src/adapter/codex.rs:387-394 | crates/hk-core/src/adapter/copilot.rs:245-251 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. 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":"crates/hk-core/src/adapter/codex.rs"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"a728fbeff13238cfaa385356f9cef3f16d4ae67ed6e2d9603851b8bb2b55a9fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/hk-desktop/src/commands/install.rs:172-181 | crates/hk-desktop/src/commands/install.rs:400-409 | crates/hk-desktop/src/commands/install.rs:537-546 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/install.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf3340936699e1e6569baad4c47b4b519f932016564370248f3518b9a5e20ccd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/hk-core/src/deployer.rs:796-802 | crates/hk-core/src/deployer.rs:842-848 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hk-core/src/deployer.rs:796\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/deployer.rs"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"8329c33efe73c4cb0d1837083a9518b54f899b6e06a86d4010e9fd47818e3357"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/hk-core/src/deployer.rs:1825-1831 | crates/hk-core/src/deployer.rs:1887-1893 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hk-core/src/deployer.rs:1825\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060entry\u0060 to \u0060\u0026HookEntry\u0060 in one and \u0060\u0026serde_json::Value\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/deployer.rs"},"region":{"startLine":1825}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bcdd7ec4b8ed1810bdfe8d6bbeabd4540cb27f6fcad85bc1d6df8cc7e3ece5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/hk-core/src/marketplace.rs:430-436 | crates/hk-core/src/marketplace.rs:473-479 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hk-core/src/marketplace.rs:430\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/marketplace.rs"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b58e2c39c5702946c0dd23149a226a432fcb4760f417cd8a012787aa131a6fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): crates/hk-core/src/marketplace.rs:546-552 | crates/hk-core/src/marketplace.rs:652-657 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hk-core/src/marketplace.rs:546\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/marketplace.rs"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"3920cdb2e25dc6f015e3131b5fd7098ef87053870500cb1661f6b5fc220739b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/hk-core/src/marketplace.rs:603-609 | crates/hk-core/src/marketplace.rs:694-700 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/marketplace.rs"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"304ea91ae058b92963e4668a857736f17702b6f31b0ae1ce95ea3908bc2066f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): crates/hk-desktop/src/commands/extensions.rs:251-256 | crates/hk-desktop/src/commands/extensions.rs:400-405 | crates/hk-web/src/handlers/extensions.rs:134-139 | crates/hk-web/src/handlers/install.rs:992-997 \u2014 before extracting anything, compare \u0060crates/hk-desktop/src/commands/extensions.rs\u0060 and \u0060crates/hk-web/src/handlers/extensions.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 76 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 \u0060crates/hk-desktop/src/commands/extensions.rs:251\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/extensions.rs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae22be62678f3c976b65c406818ec3036df7b611ee520d797e114ef27eb8705c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): crates/hk-core/src/marketplace.rs:318-323 | crates/hk-core/src/marketplace.rs:434-439 | crates/hk-core/src/marketplace.rs:477-482 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hk-core/src/marketplace.rs:318\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/marketplace.rs"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"84629f67af93a947043d5537641dcf762b173c24230708ea0f82cca4dc8debc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/hk-core/src/adapter/codex.rs:416-422 | crates/hk-core/src/adapter/cursor.rs:224-229 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hk-core/src/adapter/codex.rs:416\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/adapter/codex.rs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c840bd3b6de1b89defccb00ff3fd6c03247cadfcf5e73ccbbbfc2df903a3810"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/hk-core/src/adapter/copilot.rs:243-248 | crates/hk-core/src/adapter/cursor.rs:252-257 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hk-core/src/adapter/copilot.rs:243\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/adapter/copilot.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c3054c2926d0fae168a23c3f66bf9420185368e4fbe357592a0baad4dce31bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/hk-core/src/deployer.rs:365-371 | crates/hk-core/src/deployer.rs:440-446 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hk-core/src/deployer.rs:365\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/deployer.rs"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bc52de3fddd65821bd86f4f7ccfe9f19bdebc33ce35614011e75ed087b34fc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/hk-core/src/marketplace.rs:350-355 | crates/hk-core/src/marketplace.rs:398-403 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hk-core/src/marketplace.rs:350\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/marketplace.rs"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"cad52dc3aa68df62d6b886eacec947cba3198d318f48b1a72a82b2c41d1b2a8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): crates/hk-core/src/marketplace.rs:280-284 | crates/hk-core/src/marketplace.rs:353-357 | crates/hk-core/src/marketplace.rs:401-405 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hk-core/src/marketplace.rs:280\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/marketplace.rs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"d61a3db005870c1f4b71b516c04cff117b3b70b307f33a3c271805e0fdf1f50a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): crates/hk-desktop/src/commands/extensions.rs:269-273 | crates/hk-desktop/src/commands/extensions.rs:418-422 | crates/hk-web/src/handlers/install.rs:1009-1013 \u2014 before extracting anything, compare \u0060crates/hk-desktop/src/commands/extensions.rs\u0060 and \u0060crates/hk-web/src/handlers/install.rs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 326 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 \u0060crates/hk-desktop/src/commands/extensions.rs:269\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/extensions.rs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ad57a0a88a585be3c8e87cea03b7077ebc68a81b0924126bc05410277c3bdb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): crates/hk-desktop/src/commands/install.rs:432-437 | crates/hk-web/src/handlers/install.rs:737-741 | crates/hk-web/src/handlers/install.rs:872-876 \u2014 before extracting anything, compare \u0060crates/hk-desktop/src/commands/install.rs\u0060 and \u0060crates/hk-web/src/handlers/install.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 140 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 \u0060crates/hk-desktop/src/commands/install.rs:432\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/install.rs"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d8599da1726605d7f200f63219e6a1635955861deafa82e3becac3cd79938bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/hk-desktop/src/commands/agents.rs:87-91 | crates/hk-web/src/handlers/agents.rs:121-125 \u2014 before extracting anything, compare \u0060crates/hk-desktop/src/commands/agents.rs\u0060 and \u0060crates/hk-web/src/handlers/agents.rs\u0060 as WHOLE FILES: this scan already matched 5 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. 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 \u0060crates/hk-desktop/src/commands/agents.rs:87\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/agents.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d25a6da0e26fc0c1984a6710b71a2b2065bda19cfda0a5bdfa58bcf554cd41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): crates/hk-core/src/adapter/copilot.rs:115-120 | crates/hk-core/src/adapter/cursor.rs:58-63 | crates/hk-core/src/adapter/gemini.rs:91-96 | crates/hk-core/src/adapter/opencode.rs:176-181 | crates/hk-core/src/adapter/qoder_cn.rs:88-98 | crates/hk-core/src/adapter/windsurf.rs:78-83 \u2014 before extracting anything, compare \u0060crates/hk-core/src/adapter/copilot.rs\u0060 and \u0060crates/hk-core/src/adapter/qoder_cn.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/adapter/copilot.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"e06a604f730b6cad812fa8d635824d37d97ef80191f5e78d228cae6d1de2d3f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/hk-core/src/adapter/grok.rs:915-920 | crates/hk-core/src/adapter/kiro.rs:157-162 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/adapter/grok.rs"},"region":{"startLine":915}}}],"partialFingerprints":{"codehealthFindingId/v1":"73be1207aa7e46cccfb4182bce71bf29f2ff85e12f5f3498815c30fe92e4edf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/hk-desktop/src/commands/settings.rs:120-133 | crates/hk-web/src/handlers/settings.rs:177-190 \u2014 before extracting anything, compare \u0060crates/hk-desktop/src/commands/settings.rs\u0060 and \u0060crates/hk-web/src/handlers/settings.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 78 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/settings.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf00e57c575b9b3bf29cd0d73849a04b5464f5388810fa2d2e43f6ed20c355bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/hk-core/src/auditor/rules/content.rs:101-111 | crates/hk-core/src/auditor/rules/content.rs:317-327 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hk-core/src/auditor/rules/content.rs:101\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/hk-core/src/auditor/rules/content.rs:98\u0060 calls \u0060iter\u0060, \u0060is_match\u0060 and \u0060crates/hk-core/src/auditor/rules/content.rs: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":"crates/hk-core/src/auditor/rules/content.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"d40fd82bd52359d2ffd63c5fb42490f81c1ef218b58ca1de3904461ed2e9361e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/hk-core/src/auditor/rules/content.rs:100-105 | crates/hk-core/src/auditor/rules/content.rs:530-539 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/auditor/rules/content.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"45026ec6448e1800f000e3821cc24e7e5312243f3e6fe7f6aee58336a6ce153b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 8): crates/hk-core/src/adapter/antigravity.rs:237-243 | crates/hk-core/src/adapter/claude.rs:110-117 | crates/hk-core/src/adapter/cursor.rs:88-94 | crates/hk-core/src/adapter/gemini.rs:187-193 | crates/hk-core/src/adapter/kiro.rs:121-127 | crates/hk-core/src/adapter/opencode.rs:133-139 | crates/hk-core/src/adapter/pi.rs:142-148 | crates/hk-core/src/adapter/qoder_cn.rs:142-148 \u2014 before extracting anything, compare \u0060crates/hk-core/src/adapter/antigravity.rs\u0060 and \u0060crates/hk-core/src/adapter/claude.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/adapter/antigravity.rs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"32baa58f5d74ceadb342b28a9f63eef644a699fee417eec6079051106909462d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): crates/hk-core/src/adapter/claude.rs:114-121 | crates/hk-core/src/adapter/copilot.rs:352-359 | crates/hk-core/src/adapter/qoder_cn.rs:146-151 \u2014 before extracting anything, compare \u0060crates/hk-core/src/adapter/claude.rs\u0060 and \u0060crates/hk-core/src/adapter/qoder_cn.rs\u0060 as WHOLE FILES: this scan already matched 8 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 \u0060crates/hk-core/src/adapter/claude.rs:114\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/adapter/claude.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"dce3c9a4eeb25462c047a0b581747fd68d72c5149e4a1528bb626b47660da251"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/hk-core/src/adapter/opencode.rs:134-140 | crates/hk-core/src/adapter/qoder_cn.rs:188-194 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hk-core/src/adapter/opencode.rs:134\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/adapter/opencode.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f9e826198631239b4fef6e97802cd5e2ffa932f67a211b609a3247e532b8579"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): crates/hk-core/src/adapter/claude.rs:174-179 | crates/hk-core/src/adapter/copilot.rs:399-404 | crates/hk-core/src/adapter/qoder_cn.rs:247-252 \u2014 before extracting anything, compare \u0060crates/hk-core/src/adapter/claude.rs\u0060 and \u0060crates/hk-core/src/adapter/qoder_cn.rs\u0060 as WHOLE FILES: this scan already matched 8 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 \u0060crates/hk-core/src/adapter/claude.rs:174\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/adapter/claude.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2c5a9844d6424ca322820a13539d83013e96bd6920265c41921330ffabc2df2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): crates/hk-core/src/marketplace.rs:657-662 | crates/hk-core/src/marketplace.rs:673-677 | crates/hk-core/src/marketplace.rs:750-754 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hk-core/src/marketplace.rs:657\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/marketplace.rs"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"34d601044340cef328f8b4a659d1de41bafac9c7b82e9ebe94bf6ae7e056ff04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/hk-core/src/adapter/claude.rs:452-457 | crates/hk-core/src/adapter/claude.rs:458-463 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hk-core/src/adapter/claude.rs:452\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/adapter/claude.rs"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"edc0e48ea40f3ebfcdfb74d2dc420971ba7700f6e22f546e00330986b0e48dd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/hk-core/src/deployer.rs:346-350 | crates/hk-core/src/deployer.rs:412-416 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hk-core/src/deployer.rs:346\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/deployer.rs"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"017544e97b5cfe5ec75c2807d45eb9e4cd274bba8cd9ff36466083afbf5a2911"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/hk-core/src/scanner.rs:1834-1840 | crates/hk-core/src/scanner.rs:1844-1850 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hk-core/src/scanner.rs:1834\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/scanner.rs"},"region":{"startLine":1834}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a6c738d211b86306a9408c42bd701d38fe55964781573ba9c004c181d7a17d7"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: hk-core: hk-core: abstractness 0.02, instability 0.00, distance 0.98 \u2014 zone of pain \u2014 concrete and depended on by 3 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c251e19d79b10a7aed605800f59474c496ab360a2fac1cbd6f9aa7234987633d"}},{"ruleId":"D8","level":"warning","message":{"text":"Coverage not measured \u2014 JavaScript/TypeScript suite: Coverage NOT MEASURED: the JavaScript/TypeScript half could not be measured \u2014 the repository root runs vitest but declares no coverage provider, so the suite can run and still produce no lcov \u2014 add \u0060@vitest/coverage-v8\u0060 (or \u0060@vitest/coverage-istanbul\u0060) as a devDependency. Coverage is excluded from the score rather than counted as a near-zero. The named suite step is one the repository\u0027s maintainers can perform; once it passes, the real number is measured on the next scan."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"62e63e619c28f057e129f2997c965d32a457366a9ce18ca019ffb6bdfba85c99"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: preview error surfaces as a toast and closes the dialog (no hang): This test sets up 5 test doubles (for example \u0060vi\n      .fn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/kits/__tests__/install-dialog.test.tsx"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4302d21daf25879958659e85f0ff6bf2e3c8cc1071984bc8b5ea5ddaac814e3"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: unmount during preview does not setState on unmounted component: This test sets up 4 test doubles (for example \u0060vi.fn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/kits/__tests__/install-dialog.test.tsx"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"0393c4157e425d316af702d56899a8112cb56722f7734b28148432bc77bf10d5"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: runInstall continues to next pair after one rejects (best-effort): This test sets up 3 test doubles (for example \u0060vi\n      .fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/kits/__tests__/install-dialog.test.tsx"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8763e3fbedecb5f73ac1a778df1c7bc313de5d3bf0b5bdb0cce6500738d7c70"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: double-click on Install does not run install twice (preview cascade guarded): This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/kits/__tests__/install-dialog.test.tsx"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"2869331f309a622a3d9f8357727835a6fd467593fde147b36a67f3fee7f1c113"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/extensions/extension-detail.tsx: src/components/extensions/extension-detail.tsx changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 115 in extension-detail.ExtensionDetail at line 72. 4 of those changes were fix/bug commits, and the other 6 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 10:38:13 \u002B08:00\u0027 --until=\u00272026-11-14 10:38:13 \u002B08:00\u0027 --full-history --no-merges -- src/components/extensions/extension-detail.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/extension-detail.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"42a86d725763c00bea79e9e66118efb54e119975a40467f792c80ab20ca361d5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/hk-core/src/service.rs: crates/hk-core/src/service.rs changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 50 in hk_core::service::delete_extension at line 861. 5 of those changes were fix/bug commits, and the other 7 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 10:38:13 \u002B08:00\u0027 --until=\u00272026-11-14 10:38:13 \u002B08:00\u0027 --full-history --no-merges -- crates/hk-core/src/service.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/service.rs"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3c4dc248799703660d8af9e298646142ed2202593eb7f0ef4cb93d0c28b341a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/pages/audit.tsx: src/pages/audit.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 77 in audit.AuditPage at line 55. 3 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 10:38:13 \u002B08:00\u0027 --until=\u00272026-11-14 10:38:13 \u002B08:00\u0027 --full-history --no-merges -- src/pages/audit.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/audit.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa646e03355673d4fe3065c3380fde75f3fe623f3ab10bcbe3fc85354ed25c4b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/stores/extension-store.ts: src/stores/extension-store.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 60 in extension-store.useExtensionStore at line 168. 2 of those changes were fix/bug commits, and the other 3 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 10:38:13 \u002B08:00\u0027 --until=\u00272026-11-14 10:38:13 \u002B08:00\u0027 --full-history --no-merges -- src/stores/extension-store.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/extension-store.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d002b7a2212462c3f87f5a04590a661fd4c8711b65c11da9473ea8c3c252315"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/hk-core/src/manager.rs: crates/hk-core/src/manager.rs changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in hk_core::manager::toggle_mcp at line 218. 4 of those changes were fix/bug commits, and the other 9 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 10:38:13 \u002B08:00\u0027 --until=\u00272026-11-14 10:38:13 \u002B08:00\u0027 --full-history --no-merges -- crates/hk-core/src/manager.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/manager.rs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"c611f01a06f58aabc7ded7c2b1e42304207da06d59451aa3ad02a3cf4660f239"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/extensions/extension-filters.tsx: src/components/extensions/extension-filters.tsx changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in extension-filters.ExtensionFilters at line 58. 2 of those changes were fix/bug commits, and the other 7 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 10:38:13 \u002B08:00\u0027 --until=\u00272026-11-14 10:38:13 \u002B08:00\u0027 --full-history --no-merges -- src/components/extensions/extension-filters.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/extension-filters.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed2f99ff0d3b3404a29b3e727cb561f5b5a072578a80423ab3eefa36a97fd972"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/hk-core/src/scanner.rs: crates/hk-core/src/scanner.rs changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in hk_core::scanner::scan_all at line 1313. 5 of those changes were fix/bug commits, and the other 7 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 10:38:13 \u002B08:00\u0027 --until=\u00272026-11-14 10:38:13 \u002B08:00\u0027 --full-history --no-merges -- crates/hk-core/src/scanner.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/scanner.rs"},"region":{"startLine":1313}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c29ceda4cb80fac208e73201147a5553236d7ddbe8f823c1825ce3849edea9e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/hk-desktop/src/commands/extensions.rs: crates/hk-desktop/src/commands/extensions.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in hk_desktop::commands::extensions::check_updates at line 356. 3 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 10:38:13 \u002B08:00\u0027 --until=\u00272026-11-14 10:38:13 \u002B08:00\u0027 --full-history --no-merges -- crates/hk-desktop/src/commands/extensions.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/extensions.rs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe2fb99cfaf611c848e5b54a1772ad37d050d0df79328afb17ee7a81baec57be"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/extensions/extension-table.tsx: src/components/extensions/extension-table.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in extension-table.ExtensionTable at line 34. 3 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 10:38:13 \u002B08:00\u0027 --until=\u00272026-11-14 10:38:13 \u002B08:00\u0027 --full-history --no-merges -- src/components/extensions/extension-table.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/extension-table.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd210e6948d841e4f2ddf5645c1a323b7a56db47a727f5076c81695dbfe2eadc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/hk-core/src/kits/install_plan.rs: crates/hk-core/src/kits/install_plan.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in hk_core::kits::install_plan::mcp_entry_exists at line 10. 2 of those changes were fix/bug commits, and the other 5 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 10:38:13 \u002B08:00\u0027 --until=\u00272026-11-14 10:38:13 \u002B08:00\u0027 --full-history --no-merges -- crates/hk-core/src/kits/install_plan.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/kits/install_plan.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"360ec75efcd0f90de4398c2b8488a4a5b023d8161ef2b6a3d7cc8d3ee3a01249"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/hk-web/src/handlers/install.rs: crates/hk-web/src/handlers/install.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in hk_web::handlers::install::check_updates at line 954. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 10:38:13 \u002B08:00\u0027 --until=\u00272026-11-14 10:38:13 \u002B08:00\u0027 --full-history --no-merges -- crates/hk-web/src/handlers/install.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-web/src/handlers/install.rs"},"region":{"startLine":954}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0b7bd19e5640a03fca0e3dbeb55c5518c04061c5176c45adf8ce30e7f90dc61"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/pages/extensions.tsx: src/pages/extensions.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in extensions.ExtensionsPage at line 27. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 10:38:13 \u002B08:00\u0027 --until=\u00272026-11-14 10:38:13 \u002B08:00\u0027 --full-history --no-merges -- src/pages/extensions.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/extensions.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c9ea3f5aa389bda3a0d04c719bde5f272c7c8b3f6ee0f45d92e62d0e253bc07"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/pages/overview.tsx: src/pages/overview.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 47 in overview.OverviewPage at line 190. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 10:38:13 \u002B08:00\u0027 --until=\u00272026-11-14 10:38:13 \u002B08:00\u0027 --full-history --no-merges -- src/pages/overview.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/overview.tsx"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e9468fed1a5153f9f45eaa5a6c1aef867628f0aad31c62f452096cf8152860c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/extensions/delete-dialog.tsx: src/components/extensions/delete-dialog.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in delete-dialog.DeleteDialog at line 116. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 10:38:13 \u002B08:00\u0027 --until=\u00272026-11-14 10:38:13 \u002B08:00\u0027 --full-history --no-merges -- src/components/extensions/delete-dialog.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/delete-dialog.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"12adfb9a6e59b813f424068aa3fd6fbcc93eafc49620f88f38376f41add0f335"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/stores/extension-helpers.ts: src/stores/extension-helpers.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in extension-helpers.getCachedFiltered at line 311. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 10:38:13 \u002B08:00\u0027 --until=\u00272026-11-14 10:38:13 \u002B08:00\u0027 --full-history --no-merges -- src/stores/extension-helpers.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/extension-helpers.ts"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fc2348d193ce7e48d335ecb06a917b60780b387397968c3238023901a08c1a4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/hk-cli/src/main.rs: crates/hk-cli/src/main.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in hk_cli::cmd_audit at line 787. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 10:38:13 \u002B08:00\u0027 --until=\u00272026-11-14 10:38:13 \u002B08:00\u0027 --full-history --no-merges -- crates/hk-cli/src/main.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-cli/src/main.rs"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf3f40003c8ec22271fe870ccbf320534751de0177d507131bdca16825a03a0b"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/hk-web/src/handlers/extensions.rs: crates/hk-web/src/handlers/extensions.rs changed 6 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is hk_web::handlers::extensions::scan_and_sync at line 90), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(store): prune rows of agents the scan did not visit (#161)\u201D; \u201Cfix(extensions): file preview follow-ups from #134 (#135)\u201D; \u201Cfix(extensions): single-file extensions render in Documentation; add full-file preview (#134)\u201D; \u201Cfix(mcp): lossless secret snapshots on disable/enable, with visible warnings for legacy redacted ones (#132)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 10:38:13 \u002B08:00\u0027 --until=\u00272026-11-14 10:38:13 \u002B08:00\u0027 --full-history --no-merges -- crates/hk-web/src/handlers/extensions.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-web/src/handlers/extensions.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"8da0a026ae67e5c9e0c28a0acdc10dc391a01307514e0c8071d16b78337e3273"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/hk-core/src/store/sync.rs: crates/hk-core/src/store/sync.rs changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is Store::prune_stale_rows at line 118), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: show Claude project-scope plugins in their project, one row per scope (#190)\u201D; \u201Cfix(store): prune rows whose file is now scanned under a new id (#177)\u201D; \u201Cfix(store): prune rows of agents the scan did not visit (#161)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 10:38:13 \u002B08:00\u0027 --until=\u00272026-11-14 10:38:13 \u002B08:00\u0027 --full-history --no-merges -- crates/hk-core/src/store/sync.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/store/sync.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfc89f673471386ebb1d3a45d8ede9f4030b3bdb23d4ca2f7d789ee834d50a75"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/components/extensions/file-tree-node.tsx: src/components/extensions/file-tree-node.tsx changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 12 (its worst body is file-tree-node.FilePreview at line 189), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(ui): name the file manager by platform (#164)\u201D; \u201Cfix(extensions): file preview follow-ups from #134 (#135)\u201D; \u201Cfix(extensions): single-file extensions render in Documentation; add full-file preview (#134)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 10:38:13 \u002B08:00\u0027 --until=\u00272026-11-14 10:38:13 \u002B08:00\u0027 --full-history --no-merges -- src/components/extensions/file-tree-node.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/file-tree-node.tsx"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"20c6ab555650798cca41423250ff87205fe4f6f502dd68adbd9e55b9635cf74d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Linux path differs (~/.config/Code/User/...) \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":"src/components/extensions/delete-dialog.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"bec84d24eb4a9a035a78c5a535aa9e7d5ecc53ea4fb9d3b431b9bafdb11cd178"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060package.json\u0060 makes this repository a deployable product (line 9)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f571cc2c2542badcf90ae46e31e24c43d9ca80090c40fca9fd1434a5c34546"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022scope.type === \u0022project\u0022\u0022 repeats the code it sits on: 3 of its 3 words (scope, type, project) are already in \u0060return s.type === \u0022project\u0022 \u0026\u0026 s.path === scope.path;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/agents/agent-detail.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc5dd1476c7d498ec2cc39394d9953b7fb32f080ba98eb58f4b58e6a08872704"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Group skills by repo\u0022 repeats the code it sits on: 3 of its 3 words (group, skills, repo) are already in \u0060const grouped = new Map\u003C\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/new-skills-dialog.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c50243d54a97131a9c22b6b9e16b9a4236c33e231931de4a545f6969437c710"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060crates/hk-core\u0060 (40720 LoC, 163 module-visible types across 5 directories) overshoots its size bounds. 2 of 6 build unit(s) (Cargo, npm) overshoot their size bounds, lowering Project Cohesion to 3.3/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/Cargo.toml"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bc11683e7593ecfd10b0b6e86d010d57c980b39f7008ed429c003d992fdb936"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060(repository root)\u0060 (22671 LoC, 196 module-visible types across 16 directories) overshoots its size bounds. 2 of 6 build unit(s) (Cargo, npm) overshoot their size bounds, lowering Project Cohesion to 3.3/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa2d5244dbb9040f0ef9a41721fc246c38399605a5b233c47266a2093207fec1"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e1d5faab2456e584606a9059d3312e43d2c1f33066471d788fe0a3743b1f3848"},"properties":{"commitSha":"0a120c4829b1db52c8f618efe4634cb8726a7bf2"}},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fd57e0c8e62c11154d32a4287e123d1910402bee54ff14cb73e5663fb4b153e3"},"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":"565cb0a25235d1502010c8d34a025c6ae5aeb826c7d5e305b97bb45399050c67"},"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":"b9517cc4ae56162be6ef5c2593f4757b2854c319ee602e4c89f34f65769f92a5"},"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":"fdd80ff4efa055538dc59aafc5e380459b7d05030fbc7ee936f19fa678b3e896"},"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":"031280c685e9817013accb97fb0eb1eab0ee990f3a278934c5bf350fc78a529f"},"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":"22dfd09dc1747ea60841c16989cecf5366fcb22cd247973d6fc69645dbdd6bc7"},"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":"9ccc63a973308dc7f9da93ddbb657f62b9a41d1a4e0941e2a5793a6bbf14471d"},"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":"74c36f3c3b9841146ac803dc6cc87e2b04cb5f1f709d01dd613f017074b54c37"},"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":"e91c67556cd8b795c0d1ca4c8e69bfd4bb2788fb0e58b4dd3b89ecc4e56d285c"},"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":"a6b9a57d8e805a5d02e69a0a6adae34a6066fe60dc0c6b41a3075c19db0770aa"},"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":"6461450f513fdee9ec416bcf8e813650971ec8517f2a591695818590b896b9a7"},"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":"b26f35d32400adfc742470d705c7f5f659f433ab141634545445f6872020eca9"},"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":"b21ef51d97f04d1a8b921e635aca9ef4e877341aa2c3b0f6eaeabc61234774b6"},"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":"6504d8d1633fd2629c17cb911821ef9d4b240f323d5e1ebac2df01ac4726a04a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a70a3ada3bae9a9b4937c8dadf6051d91e207198f3aa5e67fbe9037a6335a0ee"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"57d94ecf1e4e1b67a0a20e1126764020d74cc51d3a14b0d8b3faf921de4f9ffd"},"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":"44ab766b9ceba5acce5376a793dc45d0e9351e0c81f44332d9165adcfe2ec20a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"338407871e9c53d2625a5754ccc8f84f16e799149817c1d1e310aef9e6213485"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fd1e3131f8f7decc66f16b37806fb82c9d782209c67abb6bf7bf3bc91c52a547"},"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":"a2d4d34db81fb7980bb0374cbffc224c0329c23127b2f87c3c88b3da56ac785c"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d62b5105e9e422cd2b0ff7ce88b0c74212d6959f8740dbd276d72ce67057592f"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2cc074ca03002738cd3cc9ccc9f8b9a681176496735869b425d81b66d83a485b"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e42ba3d84e3bde183a4fd2d72f5ca0c075fc1af571a674fa31b9ba3cb933813c"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"02721915754e4537dade433e8cb07437d130abb31a9f5b59de037a77f3594da2"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6a4909e3de32a65e7de612969f0295afd84ebde3413edb3fc1fe52d9677ee411"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cf65fa71a481149d27b336e3e916ba2f55edd467c683acfe1f2d01e550fb6480"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f1b966c70d2e5f6ab697ac6d268d54938c60e802d8ea58ea6ff9cb7e10a35f70"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e7aea5ad354bb944fe749ff0e5f574830ccdd11e2edd1cb16678dd3d93b52205"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5d14d01959f8bc74cfb47cedb20165c1651927e69ca7f14db02f6d54f0db1ae"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3697f1522e19a638b7ef88b7aaf49350d5b9b08b7c831fcbc85b3c68f84dd986"},"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":"fb74a59e718a61b51c6a15dfe35f20d46ecd5a38b36668578b2ddda21b37671f"},"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":"762c2df4a76807d639d15a8eb39903f751673ccff62ea1e4cde1d4e80065e392"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"33087269ec44c6ec071c7d991a836e6328ff5efd9a5ddf638a98f665a928344f"},"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":"bb0410ee4cfe4973d155b8561e3e89af5200f9ce81c264c396f787235d3821c6"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f00325fef59e74123494e6fa059f167187c97c01ae32da41574f045cf019ced9"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fb230b17a82b36bdedde2cf48183570ade62c29c0906e80763e425f87b5c0c23"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fb4a23173542d7a1718b502d857067e50a3ab2bcd9e6cbc8252c0d9b2bd57371"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2cda12ade2ec2710b7dca5e054f0e71d75819267a9850f73b253c183b256cf29"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dcb3e35b7ceb6e066202e8b0d09947e3c69a91f2942e781ff30459e207796cd0"},"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":"889e9ec9c800ffef3e8ed07d849ee23cee1a7863f50316abe7cdca2f996aa39e"},"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":"d2542699b904854fe2d3bb29c559aae2c03652694d5ce26390e798fe91bdf8a8"},"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":"fa971f3908b5ae3caae6932c3089046cd257419067b36b2cc99e2f6c4ec1a08c"},"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":"ea45906ebd05de8c023b812a0e02ef2aba29a6d9ed73c0ac2c179bcc429f8899"},"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":"039e4fcce3e545d7d649cd851c92c1940b77f481f0ea93b24a1345884e90fd31"},"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":"d541a0eb3b2dbe5998fdd42a98fc8d42f993bd63318277a56aeb54e15c268e50"},"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":"79abaa6367c3b77560f55602ad4bd6d38958b7ba2ecc0a846ea9de1038c7b2ea"},"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":"09e692e4019acc0f4571b3aa539ca80e8b7da2913803abedaa602dadafb95323"},"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":"bacc19c8f4c38e130bbbd42ae37d6729735b67b0cfac9671f70e9c6ca259b897"},"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":"bb1845b619c2e00eea6e41da79e7c9c6bd6ec2abe6b49485e167bb2a2dd8a882"},"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":"84dd6730eabef067fb7d27b7b8d3f7bbcbf065c89b4186c25b44a9b4a90a06ae"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1959cdfde41260dfbab58242819f0eb9716622bb51b4944aba84ae9d7c339377"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"79a8189666d8a8b2dba8b907d0deb3c4d67d01cbc60ee08629049fb185ef2e6f"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e9055f1d8171f39e8febda3c1a47624a4127217890328412a24d1bfcb2354553"},"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":"7d3626edcbb954eef5795e71bd08a813e9c89bc9ce401a0a2668b3676237cf7d"},"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":"60e51c12e3490359f01f8cc76d6edc274287dc727633f543076b5287941e8d63"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"393008cf24272eaf38a25185bdbc1aa351cd1237b5bf5549216855e68dde458f"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"63778fa624412affc09bbae17ed4e235deee47c1e8fbbd49594e08c2f223c987"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-552","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"633b8c477ac8035ad1856a50337260b013a5eb1dce88e6cfc6f565fff4955ee1"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3fe3831b71fda838838b877dc501d23a93088e205ad9b3d14e5f7590cba4945a"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"40f00dacb292d8fbd056beb1c8fc02292d148fb47056d399550065627f87ac3c"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"321aa26b18500b00100a737b4ef352c141d7de910cc97decf8515ec0135caccd"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8827fd60a2d81ca9ac5bb96d3a649cc47b1f1a8b6987c5d2ee04b489e02b3621"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"895bf45f4e2d958e13ecfd2a7f71b37164f7c364a6ac3d381a7f85bd91899974"},"properties":{"dependency":{"package":"zip","version":"2.4.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0367","RUSTSEC-2026-0368","RUSTSEC-2026-0369","RUSTSEC-2026-0429"],"severity":"critical","fixedVersion":"9.0.5","relation":"direct","declaredRange":"2","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8ee610f427a5e20e4998e2e6cc41f7bbaaa39759ba2132b6e2f4d5652a35e457"},"properties":{"dependency":{"package":"zip","version":"4.6.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0367","RUSTSEC-2026-0368","RUSTSEC-2026-0369","RUSTSEC-2026-0429"],"severity":"critical","fixedVersion":"9.0.5","relation":"separate-copy","declaredRange":"2","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e9e2c75d2fefa94504a6443bd33d31210eecfcc19eda5a718aaf21e504742ebf"},"properties":{"dependency":{"package":"openssl","version":"0.10.76","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0463","RUSTSEC-2026-0473","RUSTSEC-2026-0474","RUSTSEC-2026-0475","RUSTSEC-2026-0476","RUSTSEC-2026-0477","RUSTSEC-2026-0478","RUSTSEC-2026-0479"],"severity":"high","fixedVersion":"0.10.78","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0d3d2c2346bccaaa14c1bd0f0713c18ae4de849fffdc7282dbd533ab105c9398"},"properties":{"dependency":{"package":"rustls-webpki","version":"0.103.10","advisory":"[GHSA redacted]","aliases":["BIT-golang-2026-111943","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","GO-2026-6809","RUSTSEC-2026-0098","RUSTSEC-2026-0099","RUSTSEC-2026-0104","RUSTSEC-2026-0381","RUSTSEC-2026-0382","RUSTSEC-2026-0383"],"severity":"high","fixedVersion":"0.103.13","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb354110d4b9e8b10e4103c9441c209949e03ab05dbabeaa342188f4dfcd03a4"},"properties":{"dependency":{"package":"basic-ftp","version":"5.2.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"6.2.1","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"384a0892f51a77ce6e1097a5154e203805ee2ad75d30693634ca5b796c0008c6"},"properties":{"dependency":{"package":"browserslist","version":"4.28.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"4.28.7","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dd5b5bb5ff8737ef29043af986439961876b394145dd0284a62660211f33da4a"},"properties":{"dependency":{"package":"extract-zip","version":"2.0.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"59e28f0fc3ceb219b9638eae73d38b2bcb54c3283507449da6396114e6cfcf26"},"properties":{"dependency":{"package":"ip-address","version":"10.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"10.3.1","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5a31a0b5364830f542d37385755d27dd90f97746286a80cb6c17836bc6e14179"},"properties":{"dependency":{"package":"js-yaml","version":"4.1.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"4.3.2","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a2e781aeeb54d3ae845ae518d9f9b4fabc9ce4afb31ec2d5eceab2c30473e850"},"properties":{"dependency":{"package":"nanoid","version":"3.3.11","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"3.3.16","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a1e03b14734319d875bd0dac1f97ef300c97b23c9a470ff6af28213112e543c4"},"properties":{"dependency":{"package":"postcss","version":"8.5.8","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"8.5.12","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"71861f8ddc5247a83bbc9caad9a0e15b35b60bcbf990aac17150a84e73cba9b7"},"properties":{"dependency":{"package":"react-router","version":"7.14.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"7.14.2","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a143e49def50f6267786be10dea52190e0d09245364207bf6c8be5fcae3b49ff"},"properties":{"dependency":{"package":"source-map-js","version":"1.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"1.2.2","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6532f69593dd3d2ea46577ad478f1657ba969b6919f855a6261cf5feb9c06e85"},"properties":{"dependency":{"package":"undici","version":"7.24.7","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"7.30.1","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b694dace86fb7d15873b2ddd65002632093db12bc6146d23cde087273cc549f5"},"properties":{"dependency":{"package":"vite","version":"6.4.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"6.4.4","relation":"direct","declaredRange":"^6.0.0","reachability":{"kind":"test-or-tooling","file":"vite.config.ts","line":1}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5ccda73bd0143d5fffd3dfb7039e432d604944b26bd87c7e38e3f0435928ff6c"},"properties":{"dependency":{"package":"ws","version":"8.20.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"8.21.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"87acedc051cb89a8ce4b5f36de7264e8d1c5c5fd3ed662cda178e80e0c31f9d8"},"properties":{"dependency":{"package":"zod","version":"3.25.76","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"4.6.6","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"759d36a63e8483c4a467399ff199fa57fa2e02d89ef311720974588edb9516d4"},"properties":{"dependency":{"package":"anyhow","version":"1.0.102","advisory":"RUSTSEC-2026-0190","severity":"medium","fixedVersion":"1.0.103","relation":"direct","declaredRange":"1","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1092cdc16bab90e26caa98781415518f2a1a0fec9b43d183894264e01dcc42b6"},"properties":{"dependency":{"package":"event-listener","version":"5.4.1","advisory":"RUSTSEC-2026-0221","severity":"medium","fixedVersion":"5.4.2","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a42ca7416279f52063a649dbc505340ffc7c7a5727193e601ae1de8d6db75e3d"},"properties":{"dependency":{"package":"fxhash","version":"0.2.1","advisory":"RUSTSEC-2025-0057","severity":"medium","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"02807c2340c313bd085553cef2aa54725b58db377d04241d3195bea3a23b7783"},"properties":{"dependency":{"package":"glib","version":"0.18.5","advisory":"[GHSA redacted]","aliases":["RUSTSEC-2024-0429"],"severity":"medium","fixedVersion":"0.20.0","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"80b5c22beae306eb623d7a60ec13361ab89285e1cc30fcf5b8daa2e87ffb5c69"},"properties":{"dependency":{"package":"h2","version":"0.4.13","advisory":"RUSTSEC-2026-0258","aliases":["[GHSA redacted]"],"severity":"medium","fixedVersion":"0.4.16","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f48cf8c9f415048128045caa118a1e03769d0b4fe18d7f036c2f3766e3e8d8fb"},"properties":{"dependency":{"package":"instant","version":"0.1.13","advisory":"RUSTSEC-2024-0384","severity":"medium","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7b3f5e73f54279d8a385f3ccb6ce6659725cab3121019062bfd36c6500f66d85"},"properties":{"dependency":{"package":"libsqlite3-sys","version":"0.30.1","advisory":"RUSTSEC-2026-0459","aliases":["[CVE redacted]","[GHSA redacted]","RUSTSEC-2026-0502"],"severity":"medium","fixedVersion":"0.39.0","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bbe030f8c1c144f826bad4cbbd83ebd5ea8dfc9162bb9621a856f9f966813acf"},"properties":{"dependency":{"package":"lru","version":"0.12.5","advisory":"RUSTSEC-2026-0002","aliases":["[GHSA redacted]"],"severity":"medium","fixedVersion":"0.16.3","relation":"direct","declaredRange":"0.12","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"422864efbc32ee020d94634a443edac9d818b90faf02ac96d91c4d66ffa4da37"},"properties":{"dependency":{"package":"lru","version":"0.12.5","advisory":"RUSTSEC-2026-0253","severity":"medium","fixedVersion":"0.18.2","relation":"direct","declaredRange":"0.12","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"46f49615124997a47ae03424c2b2e05e8f53b2ec644cd091de0dc203d46f11ac"},"properties":{"dependency":{"package":"pin-utils","version":"0.1.0","advisory":"RUSTSEC-2026-0441","severity":"medium","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"95686d8e64236c3c2c566e482859faf67a5bbd9dbeebb6f4df8aab56c3496281"},"properties":{"dependency":{"package":"proc-macro-error","version":"1.0.4","advisory":"RUSTSEC-2024-0370","severity":"medium","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5585c48a8c4ed670247ebaa40a533d385248c4e49079fee700e7b93cbab137a9"},"properties":{"dependency":{"package":"quick-xml","version":"0.38.4","advisory":"RUSTSEC-2026-0194","aliases":["RUSTSEC-2026-0195"],"severity":"medium","fixedVersion":"0.41.0","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d44a25813d8a9e18eb42fa5350a972c298292d454155c6472f091bfb670363df"},"properties":{"dependency":{"package":"rand","version":"0.7.3","advisory":"RUSTSEC-2026-0097","aliases":["[GHSA redacted]"],"severity":"medium","fixedVersion":"0.8.6","relation":"separate-copy","declaredRange":"0.9","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4824e96a0e139702e8b8ad0d8d214a6f3f43b8111d735d848f5b4803476ce7b6"},"properties":{"dependency":{"package":"rand","version":"0.8.5","advisory":"RUSTSEC-2026-0097","aliases":["[GHSA redacted]"],"severity":"medium","fixedVersion":"0.8.6","relation":"separate-copy","declaredRange":"0.9","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e9cf74773a6e34d2f2cd5f4cc024a1a57cb07e5917cf84c703df779cadb57013"},"properties":{"dependency":{"package":"rustix","version":"1.1.4","advisory":"RUSTSEC-2026-0486","aliases":["[GHSA redacted]"],"severity":"medium","fixedVersion":"1.1.6","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d7481fb93c86b503a82a3e06a3172c7e27c5da26b8a178702a1e8028944c7596"},"properties":{"dependency":{"package":"rustls","version":"0.23.37","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0285","RUSTSEC-2026-0346","RUSTSEC-2026-0348","RUSTSEC-2026-0349"],"severity":"medium","fixedVersion":"0.23.45","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"29657cae34dd8cde614417a5e63194c90262d7543de5763d566a22c44f87c6e9"},"properties":{"dependency":{"package":"scc","version":"2.4.0","advisory":"RUSTSEC-2026-0205","severity":"medium","fixedVersion":"3.8.4","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a7ac1525ee21f8396482ed6caafb5092cc4f1f938990a606ace871da2f8aa6f6"},"properties":{"dependency":{"package":"serde_with","version":"3.18.0","advisory":"[GHSA redacted]","severity":"medium","fixedVersion":"3.21.0","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0b4d0bd0ea0d3a81846d91c999f1c98d63806893d9b8b2fd8c703eaa81f667a7"},"properties":{"dependency":{"package":"tar","version":"0.4.45","advisory":"[GHSA redacted]","severity":"medium","fixedVersion":"0.4.46","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7c54fa2c46bcc937089e30d6a9f43efdcfb0b192b5f5ea26f38937116d318c90"},"properties":{"dependency":{"package":"tauri","version":"2.10.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"2.11.1","relation":"direct","declaredRange":"2","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c64e30c28e3c0e2ac4c865fc1656b78d3404e0bf0484e55f9176b7c5f283f360"},"properties":{"dependency":{"package":"tokio","version":"1.50.0","advisory":"RUSTSEC-2026-0386","severity":"medium","fixedVersion":"1.51.6","relation":"direct","declaredRange":"1","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d3f6b0dc7d0843f1539cb8274e739376fd4b1be6c39d73c3f6b7e78cb5af4d8b"},"properties":{"dependency":{"package":"unic-char-property","version":"0.9.0","advisory":"RUSTSEC-2025-0081","severity":"medium","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"610868c659b2bc4a0ea5bd7cebeddb1d8961b8ebb7c9f31dcc75e07badfe1d8f"},"properties":{"dependency":{"package":"unic-char-range","version":"0.9.0","advisory":"RUSTSEC-2025-0075","severity":"medium","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9a9761ad8cbbcee9fd4b4bb09fc1e6e6977230d7588402bc8497b52c5027e99e"},"properties":{"dependency":{"package":"unic-common","version":"0.9.0","advisory":"RUSTSEC-2025-0080","severity":"medium","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"355ee9fdba8596d452516a609f795a54a5bca0f7ed0289c67e6ddbc4bddd9ada"},"properties":{"dependency":{"package":"unic-ucd-ident","version":"0.9.0","advisory":"RUSTSEC-2025-0100","severity":"medium","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b269e07aa3d9bfb90d59d794c0e6a0b7849b288910031fdd0fe253514c3af463"},"properties":{"dependency":{"package":"unic-ucd-version","version":"0.9.0","advisory":"RUSTSEC-2025-0098","severity":"medium","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2b5cc6a78fe02a95b2f6755616011982ae866dcba8c2aeaae7b037f36ce19be5"},"properties":{"dependency":{"package":"unsafe-libyaml","version":"0.2.11","advisory":"RUSTSEC-2024-0449","severity":"medium","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c78c7c829ffb431fb928ff724c9cf0276a780b7b7d9be87f32343d1209a988f8"},"properties":{"dependency":{"package":"webpki-root-certs","version":"1.0.6","advisory":"RUSTSEC-2026-0383","aliases":["BIT-golang-2026-111943","[CVE redacted]","GO-2026-6809","RUSTSEC-2026-0381","RUSTSEC-2026-0382"],"severity":"medium","fixedVersion":"1.0.10","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7f6329e2b29fe1ee1dd724766af980b151618490b720201bbdc1839704210c3e"},"properties":{"dependency":{"package":"zbus_names","version":"4.3.1","advisory":"RUSTSEC-2026-0371","severity":"medium","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"77d4d5d4357ce0a5ade8f6f76c84914f1a2c80f9fe7358d9854254b760de650a"},"properties":{"dependency":{"package":"zvariant","version":"5.10.0","advisory":"RUSTSEC-2026-0370","severity":"medium","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f67f0700e108bacf2f3dfd2008273e31f01b0ea1f2d5f9ef71c4f46ace73bbe9"},"properties":{"dependency":{"package":"zvariant_derive","version":"5.10.0","advisory":"RUSTSEC-2026-0372","severity":"medium","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9dad27cfa50ff83ac64e301dd734c8b3ce930aba0fcb4116eb07f2a3f85853ad"},"properties":{"dependency":{"package":"@vitest/mocker","version":"4.1.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"4.1.11","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"43427bab5dea8e4a9974d0d31081f6cee7984ed96dc960bd2c33af06bc12237b"},"properties":{"dependency":{"package":"baseline-browser-mapping","version":"2.10.13","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"2.11.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"861e228d9dfb31a892f27026c0d4d852dc090835a3e2cf7e0e8507f417f3addb"},"properties":{"dependency":{"package":"vitest","version":"4.1.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"4.1.11","relation":"direct","declaredRange":"^4.1.2","reachability":{"kind":"production","file":"src/lib/__tests__/types.test.ts","line":1}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2d7c8846e5c2786ac6f200262a5ae377f0a0f36f03fcc336f877638db9b57f15"},"properties":{"dependency":{"package":"@babel/core","version":"7.29.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"low","fixedVersion":"7.29.6","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 5 of 151 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 151 of the 215 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: crates/hk-core/src/auditor/rules/permissions.rs, crates/hk-core/src/auditor/rules/plugin.rs, crates/hk-core/src/auditor/rules/mcp.rs, src/components/shared/hermes-category-picker.tsx, src/components/shared/agent-mascot/opencode-mascot.tsx. Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/auditor/rules/permissions.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc066753d4f5ce53b8efe1b31a68c32ce472e478433f8f9e4ce1747f1c115614"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/auditor/rules/plugin.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"72382492ae3725dcc235dfc3f3d5e664588343f46b94968cf2811fd13f940838"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/auditor/rules/mcp.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0db92e75cdb7ba4cff73d10fb99f52b20969afbdc7b4ce3ffcf5e1ba67e2b297"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/hermes-category-picker.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a001ea869759cf2b166bdbe6629afa3188df292e7105724ecf5658600ff2d6c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/opencode-mascot.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41f7125b8f67445c5f9f736c329c80aad2950c7f9773e9dca6ae814ecce504fd"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: agent-detail.tsx \u2194 settings.tsx: \u0060src/components/agents/agent-detail.tsx\u0060 (context components) and \u0060src/pages/settings.tsx\u0060 (context pages) sit in DIFFERENT parts of the tree yet change together 57% of the time (8 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u00606814dfe3\u0060 feat(agents): add Agent Visibility preference to hide and disable und\u2026; \u00605bcbece7\u0060 fix(paths): support HPC symlinks \u002B drop home/project gate for read-on\u2026; \u0060cb297ed3\u0060 fix: fix Tauri v2 detection, add toSnakeKeys for web transport, and a\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/agents/agent-detail.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5154717c9548813322cd3742cf6bb3b23bbad6f4b8737074f2460a88a1235c9e"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: sidebar.tsx \u2194 settings.tsx: \u0060src/components/layout/sidebar.tsx\u0060 (context components) and \u0060src/pages/settings.tsx\u0060 (context pages) sit in DIFFERENT parts of the tree yet change together 50% of the time (6 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u00603924249b\u0060 feat(web): hide desktop-only UI features when running in web mode; \u0060d2732b30\u0060 feat: auto-check for updates and show update card in sidebar; \u00606fa0aae9\u0060 fix: move version to Settings, fix overview loading flash, improve em\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/sidebar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6734de2f8b30c0c8a00e5d2b5e4f5ae71b637be96bcd984217ebb41c213fab62"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: agent-mascot.tsx \u2194 types.ts: \u0060src/components/shared/agent-mascot/agent-mascot.tsx\u0060 and \u0060src/lib/types.ts\u0060 change together 53% of the time (8 of the 15 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u0060f5fdb978\u0060 feat(adapter): add Pi support (#157); \u00605b58772f\u0060 feat(adapter): add read-only PenguinHarness support (#147); \u0060adcea1cb\u0060 feat: add OpenClaw agent support \u2014 skills, MCP scan \u002B native toggle (\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/agent-mascot.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a98935ac72b45eee97048e2cac43ba6dc51e08c57d4f71902bf56881697bd5"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: extension-filters.tsx \u2194 agent-card.tsx: \u0060src/components/extensions/extension-filters.tsx\u0060 and \u0060src/components/shared/agent-card.tsx\u0060 change together 50% of the time (8 of the 16 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u0060a7eab3ef\u0060 fix(ui): narrow-window wrapping, reduced motion, dialog focus and Pi \u2026; \u0060f5fdb978\u0060 feat(adapter): add Pi support (#157); \u00605b58772f\u0060 feat(adapter): add read-only PenguinHarness support (#147) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/extension-filters.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7f5df55f66849f795a1ac2b7db622c4dcf86d726a93c6e0111fef1130a13620"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: agent-detail.tsx \u2194 config-file-entry.tsx: \u0060src/components/agents/agent-detail.tsx\u0060 and \u0060src/components/agents/config-file-entry.tsx\u0060 change together 50% of the time (7 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060da47250b\u0060 feat(extensions): inline file previews in the documentation tree \u002B we\u2026; \u0060cb297ed3\u0060 fix: fix Tauri v2 detection, add toSnakeKeys for web transport, and a\u2026; \u0060fbddc5a2\u0060 refactor: extract shared file/directory picker utility \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/agents/agent-detail.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2966972fec6758a1d2e9c2c2a5b1aed51f6999596300fe1a96d9d43696baf2d"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"54fc29f315242493bf657ae4ac8fcb490721ca3226c1b88a0b8bd3e2e7da9d38"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"093579e3a80737caf65c273f6c504b678efe922f5ac375d049b5ea75ee897434"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"},"taxa":[{"id":"CICD-SEC-6","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":"4f1e7684f8281bd255ddef97105c7055c2ebae06964c8745716b83e174debe83"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Ccanvas\u003E without a text alternative: A \u003Ccanvas\u003E with no aria-label/title and no inner fallback content can\u0027t be described by assistive tech. Add a name or fallback content."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/onboarding/confetti.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7d76015a5e5b2f068cf866284eabe5865cb07b309609da6f038148e01093094"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/agents/agent-detail.tsx"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"f59748dd80a6efc217dd7df2f3a3e288d7a8ea286486a84c0fc3639d39b9b132"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/agents/agent-detail.tsx"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b3a132bc75241e79921ecb22a31fadf98180a03125cbb4f79531f4882414bf"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/agents/config-file-entry.tsx"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"573b784c35b3d5f467d26b4439432c8575fb7eb02003e9572ba523d4f39d0652"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/extension-detail.tsx"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e79b4024fd6159fddf426e44d4405727714793e985a75f48be511f2990f459f"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CFolderInput\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/kits/delete-kit-confirm.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"214d5c9be69c15d443bfdc250ee48c9b1576d3618c820b1e9601a918f91ddd1a"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CFolderInput\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/kits/kit-detail-drawer.tsx"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"5675292a81be7575c620c6ab73fecb21fe79e6f0dbe6e760dc78d47e30ae8666"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/kits/path-input-dialog.tsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"a99040ec6b7d7fe5e7e7e1942d01149b3bff378a16485a8def68e9da8b30745d"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/update-dialog.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb4dedd4789534a25186a7d80fd4c562c9445d50716d6d429e8fe57a1601f868"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/web-update-dialog.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae5b31050124d705f01911c41fad285f40329bcda8ac481fb1823b170676c9a"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/hermes-category-picker.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7d52efb627e8af41e018c14bd8dd5dca5671d2a60d9eb18923a78cadbb98565"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/toast-container.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"77f4d1276a1735ffe0f590fda0a7926625721e4e6ace29ecd098e8fdd7f3cd82"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CFolderInput\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/kits.tsx"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"36bba2a0e09b1f866a5f9566c5c32b04379aea01adaf750a3342b7c100e17d9e"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/settings.tsx"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"9498b5f9c583b6ea2c9a51f7f6a6bfb221f4b87f10b48b13e3166032bf68e920"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/onboarding/onboarding.tsx"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"44b2b9f7d1f885f4f8e7838da86847283c8feb528797aa4acb8aea188209e90e"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cth\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/extension-table.tsx"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e78dd682bdce7b9b2dc242953880ac4778e7dbe1050901a490b644abcdf86cc"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Ctr\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/extension-table.tsx"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"8586a246b13ea52768c0d8066baa36dfaf05962e1aa4de5455e5b225b3acdc3a"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Ctr\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/kits/editor-asset-tab.tsx"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b43062ac00383091d22391833babac8f91ee742f881cf98d1426d93646f56ea"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a \u003Cspan\u003E nested inside \u003Cbutton\u003E: This \u003Cspan\u003E carries its own click handler, but it sits inside a \u003Cbutton\u003E that performs a different action. A keyboard user reaches the \u003Cbutton\u003E and activating it runs the \u003Cbutton\u003E\u0027s handler, never this one, so this action has no keyboard path at all. Role and tabindex cannot supply one: HTML forbids a \u003Cbutton\u003E from containing interactive content or any descendant with a tabindex, so the browser will not put this element in the tab order however it is marked up. Move it out of the \u003Cbutton\u003E and make it a sibling \u003Cbutton\u003E, so each action has its own control."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/kits/editor-configs-tab.tsx"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"b553e67a36843565d30fd2c98737d457cfe2741158152c59ed006f927ee5c595"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/extension-detail.tsx"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"beaac4083140b96581d13385ea612d03b96a1743c065e59995f77ee07f79f942"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cselect\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/extension-filters.tsx"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"9539d66a859ddc758061074ff7fedc1f8e522ba00e9508445bb0f8684edab6e4"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cselect\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/extension-filters.tsx"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d6d5c42b1f804e6240989fe59e774e960fefb4898eaa9c3cb7d43a01bee2e63"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/extension-filters.tsx"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cfbc3c3db680b61b3b58cfb8af036e3350f75eca9c048f8a968cd854cc6ae21"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/kits/editor-asset-tab.tsx"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"69401d8d101c3c7e5aa3182f0ba454df4ae266684b06db3fcc87ef9fca9c7fc9"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cselect\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/kits/editor-asset-tab.tsx"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"eea6c646f561d7fbeffd6e8e3cbc625c7c5433d2b9986868011dca531adf85da"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/kits/editor-configs-tab.tsx"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"d933606546b740f4cd41a4b41f1af3b11d7a1d0b991a07e9d423fc2693bd7c18"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cselect\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/kits/editor-configs-tab.tsx"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bbfa616dab9bd23d85a488e9af04798154ea1b82d40c453bfd4d74a9d86ae6a"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cselect\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/kits/editor-configs-tab.tsx"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0e7710f27188d4047629b0ce2371d03905f651dc7316f7856d5eb05fd2cde3e"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/kits/kit-editor-dialog.tsx"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"179ec1e9e7c9d0bf9f17da5a559e99011414df4a548d3214e04535755cb43670"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/kits/kit-editor-dialog.tsx"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"764171d686455ecf1b46be84368c95cbf0b904c245e6fe5f830b442d7019f092"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cdiv\u003E moves \u2014 its inline style sets \u0060transition: transform 400ms cubic-bezier(0.22, 1, 0.36, 1)\u0060 \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/onboarding/onboarding.tsx"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9bb2e5d1fa10bb97c5a4c7be7d74ed9450add6b5e095906dc1b611d76df1672"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cdiv\u003E moves \u2014 its inline style sets \u0060transition: transform 1400ms cubic-bezier(0.34, 1.56, 0.64, 1) ${i*100}ms, opacity 800ms ease-out ${i*100}ms\u0060 \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/onboarding/onboarding.tsx"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bc55f537a2a3495d6caca7d80281e060e29d9eba0cca6604913944a49bc15d8"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cdiv\u003E moves \u2014 its inline style sets \u0060animation: fade-in 400ms ease-out ${(i\u002B1)*100\u002B800}ms both\u0060 \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/onboarding/onboarding.tsx"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"839449cc61ea888168af859df03497e028b25640b20b227fbd31bb89bcae3654"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cdiv\u003E moves \u2014 its inline style sets \u0060animation: fade-in 400ms ease-out ${(i\u002B1)*100\u002B800}ms both\u0060 \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/onboarding/onboarding.tsx"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"db6c5d2946f51fab6c6d684b8c1066d1901a7b10bd35fee66642e722f7427b23"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cdiv\u003E moves \u2014 its inline style sets \u0060animation: entrance-spring 600ms cubic-bezier(0.34, 1.56, 0.64, 1) ${delay}ms both\u0060 \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/onboarding/onboarding.tsx"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"00a71364cec5eb2f8eabd75f3cec9488ea9501ba91798dc1c799fe2b2ed53640"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cdiv\u003E moves \u2014 its inline style sets \u0060animation: fade-in 300ms ease-out 50ms both\u0060 \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/onboarding/onboarding.tsx"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc2b4b4fe82c6be67d8ea4516442195f1b0a9019ec53add044461099f8e4929d"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cspan\u003E moves \u2014 its inline style sets \u0060animation: scale-in 300ms ease-out ${i*40\u002B100}ms both\u0060 \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/onboarding/onboarding.tsx"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"d155d3f30240719bb3f9f806dbed25d0c62c8c4a64b8783353836b031c270322"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Ctr\u003E moves \u2014 its inline style sets \u0060animation: fade-in 400ms ease-out ${200\u002Bindex*80}ms both\u0060 \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/onboarding/onboarding.tsx"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f801c5341ec7f9298a1a2bcd4d6fd536c77247d502edc7a02bab3b5122364cc"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cdiv\u003E moves \u2014 its inline style sets \u0060animation: fade-in 400ms ease-out 400ms both\u0060 \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/onboarding/onboarding.tsx"},"region":{"startLine":924}}}],"partialFingerprints":{"codehealthFindingId/v1":"61bbcfb47f0fc60f7e46ab4c238c37f7337db6bdea99f0352365400a6b241353"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cdiv\u003E moves \u2014 its inline style sets \u0060animation: fade-in 300ms ease-out 250ms both\u0060 \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/onboarding/onboarding.tsx"},"region":{"startLine":928}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f4815c4d0532c30c01fd49f0475679393ceb7a8b4616fb72ffdf6040ff4283"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cdiv\u003E moves \u2014 its inline style sets \u0060animation: fade-in 300ms ease-out ${500\u002Bi*50}ms both\u0060 \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/onboarding/onboarding.tsx"},"region":{"startLine":943}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f125ed7b54ed122ed012c1167c5b821040258b03dc710d52c2f0aa09476eb3a"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cdiv\u003E moves \u2014 its inline style sets \u0060animation: fade-in 300ms ease-out ${650\u002Bci*60}ms both\u0060 \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/onboarding/onboarding.tsx"},"region":{"startLine":966}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1eb40616521afd0424d38609446d7c6640430f3019d0556bf697c085f953073"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cdiv\u003E moves \u2014 its inline style sets \u0060animation: mock-expand 300ms ease-out both\u0060 \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/onboarding/onboarding.tsx"},"region":{"startLine":1014}}}],"partialFingerprints":{"codehealthFindingId/v1":"a451d8aabc3ba3f0cf5b573f2c11d6daefce01effd00572f6d16e85825934edb"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cdiv\u003E moves \u2014 its inline style sets \u0060animation: fade-in 300ms ease-out 150ms both\u0060 \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/onboarding/onboarding.tsx"},"region":{"startLine":1122}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a9031f666a692c1a32544f0ad51becd074676fb525c30a0d15613ecec67266c"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cdiv\u003E moves \u2014 its inline style sets \u0060animation: fade-in 400ms ease-out ${200\u002Bindex*80}ms both\u0060 \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/onboarding/onboarding.tsx"},"region":{"startLine":1182}}}],"partialFingerprints":{"codehealthFindingId/v1":"0af25d7eaef9022e212bad6960c89af484e54e83a50e4a937334492d78f68a75"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cdiv\u003E moves \u2014 its inline style sets \u0060animation: fade-in 400ms ease-out ${200\u002Bindex*80}ms both\u0060 \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/onboarding/onboarding.tsx"},"region":{"startLine":1198}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ea72da39829418321c4f1a35fdb3604f9e370d517bf266929a01485096b3722"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cdiv\u003E moves \u2014 its inline style sets \u0060animation: fade-in 200ms ease-out both\u0060 \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/onboarding/onboarding.tsx"},"region":{"startLine":1239}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd066954998375f5959b45003ee3fa7f2e2c4369082430da46495f862e82876d"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cdiv\u003E moves \u2014 its inline style sets \u0060animation: fade-in 300ms ease-out 150ms both\u0060 \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/onboarding/onboarding.tsx"},"region":{"startLine":1362}}}],"partialFingerprints":{"codehealthFindingId/v1":"288422d023a8404ba460d16561fdd6f7ed79ed1af04cf702d92364ec92d57c02"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cspan\u003E moves \u2014 its inline style sets \u0060animation: scale-in 300ms ease-out ${i*40\u002B200}ms both\u0060 \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/onboarding/onboarding.tsx"},"region":{"startLine":1374}}}],"partialFingerprints":{"codehealthFindingId/v1":"060fd6e4ea15ef393e2ff9ba8bd62f9173ff4dbb0f3a4849acd33450656a0c5a"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cspan\u003E moves \u2014 its inline style sets \u0060animation: fade-in 300ms ease-out 300ms both\u0060 \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/onboarding/onboarding.tsx"},"region":{"startLine":1384}}}],"partialFingerprints":{"codehealthFindingId/v1":"7408d19b90cf88f1646c4177bf4a22b7cb07dca1293cf492bb3654aba4918bfd"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cdiv\u003E moves \u2014 its inline style sets \u0060transition: width 300ms ease\u0060 \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/onboarding/onboarding.tsx"},"region":{"startLine":1395}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c26a11fc46a56dabf17962e91ad5616e2dadbe5fe2e7bf388be97294e69d993"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cdiv\u003E moves \u2014 its inline style sets \u0060animation: fade-in 400ms ease-out ${400\u002Bi*70}ms both\u0060 \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/onboarding/onboarding.tsx"},"region":{"startLine":1403}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9935d91e4b149be525539ea9e1f265a831c779adaf7641464dcf9d84f92565d"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cdiv\u003E moves \u2014 its inline style sets \u0060animation: slide-in-right 250ms ease-out both\u0060 \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/onboarding/onboarding.tsx"},"region":{"startLine":1436}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cdbb107f33608dc5fe6b6d40198b86ebb246cfa802406f9fc121ee718c2b1d8"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cspan\u003E moves \u2014 its \u0060animate-bounce\u0060 utility runs with no motion-safe:/motion-reduce: variant \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/animated-ellipsis.tsx"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"bea37825486673979c35cd0d27815dd86a89d967d33ba2a67b897553ce6f9a0e"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cselect\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/scope-target-field.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b5a6b6ad33c6d6325c45346b58575acef10b6b7c2bd0bb703bb6519882ad9c"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cselect\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/audit.tsx"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"f10e08756dee59dc2510b4d6090338e74c203dd9ed26091bbe7e7aad68fe62dc"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/kits.tsx"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d7338fa80083e6109f65996023862a23082f3286ac379f1320658cfa316b561"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cbutton\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/settings.tsx"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"107af8870cb650098477d4e27bafe09ab039a025d5d3ecaffbcf3379a49a4052"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-claude.is-animated .arm-right\u0060 moves (\u0060animation: claude-wave-right 1.2s ease-in-out infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"445e3bed989288d71c420017e529b7bcc9883cc2d8ae87026a501c3d8d217d74"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-claude.is-animated .arm-left\u0060 moves (\u0060animation: claude-wave-left 1.2s ease-in-out infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"12ebfb2dad4e91ff05a67dee3b2242c33dbb612981d03968d02d1ff1087821a0"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-claude.is-animated .legs\u0060 moves (\u0060animation: claude-legs-squash-light 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94)\n    infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"c874442b345cb5f50526e3bd9b2ce58d4697ef349187320ae323e9ddddcdcd1e"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-claude.is-animated .eye\u0060 moves (\u0060animation: claude-blink 3.2s infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"1be2e7a0a155356f5d700fc5a807df64c1cf41508651a6f2b7a2ab3b6e905e93"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-claude.is-clicked .eye\u0060 moves (\u0060animation: claude-peek-blink 4s ease-in-out\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"20423475f709741955206b1fb8eeb3d3448ec5073db280179b5d9048da1dd165"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-claude.is-clicked .leg-a\u0060 moves (\u0060animation: claude-leg-a 4s linear\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dc3d27c7672656dc091bf2aabb26b0fda59d4160d6bf49d9f625eee57f2b7a9"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-claude.is-clicked .leg-b\u0060 moves (\u0060animation: claude-leg-b 4s linear\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"36bfb3bdfead0f206084269d1d5c1270eb65e842bfb3a28d04340502c57be846"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-cursor.is-animated .rocker\u0060 moves (\u0060animation: cursor-rock 2.2s ease-in-out infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"431d3857a8c22fe319c87b23bf1a6d3a1bb17fa0b4035c4fc8c3b07f29803532"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-cursor.is-clicked .icon-svg\u0060 moves (\u0060animation: cursor-spin3d 0.75s ease-in-out\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2e4fc241bb800aceea4eaa79e076309d1f6aea1e9bc6b0a402c85499d839391"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-codex.is-animated .codex-icon-wrapper\u0060 moves (\u0060animation: codex-roll 3.5s ease-in-out infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d60e651e2166c6423535ef5e2053384c06a0e2e020bff2bb256d3fee9616e75"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-codex.is-clicked .codex-icon-wrapper\u0060 moves (\u0060animation: codex-bounce 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94)\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddf146fbade11b94511fe4d1a61da02a3b46f785b38f9c48350779821889834d"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-codex.is-clicked .codex-icon-wrapper svg\u0060 moves (\u0060animation: codex-squish 0.7s ease-out\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"f95a474c55d88e8594297ec8ddd6656414201b297acb7e4b5dd91a05aae1541e"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-gemini.is-animated .star-wrapper\u0060 moves (\u0060animation: gemini-float-spin 4s linear infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d84c33405c61dcf7fee7d50e3c6a5942e9d8b0b900bfa12c212ce22ea568a96"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-gemini.is-animated .star-svg\u0060 moves (\u0060animation: gemini-twinkle 2s ease-in-out infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e128e6db0f05cc294b40185145d54f25720978124f8fb0143bff1691a121ee6"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-gemini.is-clicked .star-wrapper\u0060 moves (\u0060animation: gemini-pop-spin 0.7s cubic-bezier(0.34, 1.56, 0.64, 1)\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e8cce7b14eef51c8d6ce881273b1f29787f082eed4aa32ae21c099421062988"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-gemini.is-clicked .glow-el\u0060 moves (\u0060animation: gemini-glow-flash 0.7s ease-out\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3585e73dc601774f938e8feb5ce9399d9554130c45a8c968dc0d406e77c21ed"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-gemini.is-clicked .particle:nth-child(1)\u0060 moves (\u0060animation: gemini-burst-1 0.7s ease-out\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c6adf0e6e44d690401aa613ff4fd90bee013a2aa49e9a1d17ed8cda063a6d19"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-gemini.is-clicked .particle:nth-child(2)\u0060 moves (\u0060animation: gemini-burst-2 0.7s ease-out\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0fe6ee31af35445ba9ac6d92c1763dae7b9d5aa6431751bdd55d1218304b467"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-gemini.is-clicked .particle:nth-child(3)\u0060 moves (\u0060animation: gemini-burst-3 0.7s ease-out\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a7cb04df5bcc22bfa5860cfaecec1ad96a992bb79fe236a53e557ccd46e76b1"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-gemini.is-clicked .particle:nth-child(4)\u0060 moves (\u0060animation: gemini-burst-4 0.7s ease-out\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e2c5b733139c2bb39e6c5ee51515aea85deb9fd9b056e42db7027f0247349b3"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-gemini.is-clicked .particle:nth-child(5)\u0060 moves (\u0060animation: gemini-burst-5 0.7s ease-out\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"85788e4d3635093d2b0a6631373b20905e7995aeceb65c2f2bd577bb2ad2359a"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-gemini.is-clicked .particle:nth-child(6)\u0060 moves (\u0060animation: gemini-burst-6 0.7s ease-out\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"13d05d3736c85795391881af9d1cfd4bdb5ddce3fc98a6c77180ebba771ef26b"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-antigravity.is-animated .ag-icon-wrapper\u0060 moves (\u0060animation: ag-moonwalk 2.5s linear infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7a543f0c88a825ac76919b7b23ad33cf18a99594c2dc74f628a34baf1c43592"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-antigravity.is-clicked .ag-icon-wrapper\u0060 moves (\u0060animation: ag-launch-crouch 0.35s ease-out forwards,\n    ag-launch-fly 0.25s ease-in 0.35s forwards\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b92ebb855aeb72b3eba1f88f6b6e16ad3e19d99e73b89c8c3da0d49ed1aeb2"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-copilot.is-animated .cp-head\u0060 moves (\u0060animation: cp-nod 2.8s ease-in-out infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":891}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bec4fe7bc88f4db53c8176ef911c66669f4f275356eafbf4544024f949fd74f"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-copilot.is-animated .cp-eye\u0060 moves (\u0060animation: cp-blink 2.8s ease-in-out infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"85085897592d7bcfc4fdb2d2227ec72d01867f8b0e2ee181e7c03897268fbd58"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-copilot .cp-head.cp-shaking\u0060 moves (\u0060animation: cp-shake 0.5s ease-in-out forwards\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5ab919d83c904ca0d008ed0676cf14f67ed0e342c0c962a0c81ea3e8f6c87e7"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-copilot .cp-glasses.cp-falling\u0060 moves (\u0060animation: cp-fall 0.9s cubic-bezier(0.4, 0, 0.9, 0.4) forwards\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"09d5d689bb017370761b3549314e197833889309720a171cd11b7a65ab537d9a"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-copilot .cp-glasses.cp-returning\u0060 moves (\u0060animation: cp-return 0.5s cubic-bezier(0.2, 0.6, 0.3, 1) forwards\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"789390d3547d1d32d5f00ed99fc840c89368cffb3975dfdbf08a24acd4509ef5"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-devin.is-animated .devin-mark-wrap\u0060 moves (\u0060animation: devin-spin 2.4s linear infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":1014}}}],"partialFingerprints":{"codehealthFindingId/v1":"efd6fe3c9c1d9fdbcc62bdd01cbca8b97ec7217a2179f9d2097b8cdc50c1976b"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-devin.is-clicked .devin-piece-top\u0060 moves (\u0060animation: devin-drop-top 1.75s cubic-bezier(0.18, 0.78, 0.22, 1)\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":1026}}}],"partialFingerprints":{"codehealthFindingId/v1":"b85cf659d351dfc28ff53e82d287357bada9618bda0bf2bc5f384e6d7ba53d9d"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-devin.is-clicked .devin-piece-right\u0060 moves (\u0060animation: devin-drop-right 1.75s cubic-bezier(0.18, 0.78, 0.22, 1)\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":1030}}}],"partialFingerprints":{"codehealthFindingId/v1":"10bb6ce1008ccd145ddd4ed318fe874afbb7ddfd76d96a2965e46f151617823e"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-devin.is-clicked .devin-piece-bottom\u0060 moves (\u0060animation: devin-drop-bottom 1.75s cubic-bezier(0.18, 0.78, 0.22, 1)\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":1034}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a03b8aa90eb6490c0e14ef73376065f93f2bd5712a0e5a53aaa14a5a76e732"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-opencode.is-clicked .opencode-mosaic .oc-tile:nth-child(1)\u0060 moves (\u0060animation: oc-scatter-top 5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":1171}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb9b8b10cddab6c97cd165b36382b99a98b231026a940419289a8aa5268e500a"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-opencode.is-clicked .opencode-mosaic .oc-tile:nth-child(2)\u0060 moves (\u0060animation: oc-scatter-right 5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":1174}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4dcb623deaabdaaac124e451220c476aac47cdf61ad8a653ad55a0a6827bfd0"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-opencode.is-clicked .opencode-mosaic .oc-tile:nth-child(3)\u0060 moves (\u0060animation: oc-scatter-bottom 5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":1177}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c1046218ab2027467033a1c180ad92c648e1a4302489a03c0ca998d317ef6bb"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-opencode.is-clicked .opencode-mosaic .oc-tile:nth-child(4)\u0060 moves (\u0060animation: oc-scatter-left 5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":1180}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca72aefe496bfe5a44f06bebade8d6d9ffb74e5ece30b68123a334ab92662ac"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-opencode.is-clicked .opencode-mosaic .oc-tile:nth-child(5)\u0060 moves (\u0060animation: oc-scatter-tl 5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":1183}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb2b498dd3f4f1f3bdb3cad0885d81ccc431b3c218dc48b5e77991580e374f59"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-opencode.is-clicked .opencode-mosaic .oc-tile:nth-child(6)\u0060 moves (\u0060animation: oc-scatter-tr 5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":1186}}}],"partialFingerprints":{"codehealthFindingId/v1":"616a0bf6e46b5d020245e885b61302ceabbb8e7504c379f1e064cd447bd1daeb"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-opencode.is-clicked .opencode-mosaic .oc-tile:nth-child(7)\u0060 moves (\u0060animation: oc-scatter-bl 5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":1189}}}],"partialFingerprints":{"codehealthFindingId/v1":"4430e401b43c3a909e9fbf7e4b4812018cf06b77cd8857da4ae732315d118494"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-opencode.is-clicked .opencode-mosaic .oc-tile:nth-child(8)\u0060 moves (\u0060animation: oc-scatter-br 5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":1192}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdace6069bb6a939c028ad78aa942fa40d8db3fabade56202f167991557b895e"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-omp.is-clicked .omp-pi\u0060 moves (\u0060animation: omp-pulse 0.9s cubic-bezier(0.25, 0.75, 0.25, 1)\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":1335}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f165ff6348feaa3878ec062fc6c4a9a327cdf163fb9f50cc791b843a1229697"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-dsh.is-animated svg\u0060 moves (\u0060animation: dsh-bob 0.9s ease-in-out infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":1381}}}],"partialFingerprints":{"codehealthFindingId/v1":"9def64747af578af48c23f792ac8038d6470738cb02d177c76796102a1dcc0e2"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-dsh.is-clicked svg\u0060 moves (\u0060animation: dsh-surface 1.2s ease-in-out\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":1391}}}],"partialFingerprints":{"codehealthFindingId/v1":"d52505cfc4f0cc2dc6233d368bfdcf351bb0c3acf2040d1bd8df94f0e390575d"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-dsh.is-clicked .dsh-spout-stem\u0060 moves (\u0060animation: dsh-stem 1.1s ease-out both\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":1407}}}],"partialFingerprints":{"codehealthFindingId/v1":"68c90b7ad331f43c9d8dc936d77b69b2431e8f8ebe3a9064363583b32c80868d"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-dsh.is-clicked .dsh-spout-crown\u0060 moves (\u0060animation: dsh-crown 1.02s ease-out 0.08s both\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":1412}}}],"partialFingerprints":{"codehealthFindingId/v1":"458693c58ffd6d56f4bc18b74e8a1240788aa85e3e4dd0848b1f2198a2cdd174"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-dsh.is-clicked .dsh-spout-drops circle\u0060 moves (\u0060animation: dsh-drop 0.85s ease-out 0.22s both\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":1416}}}],"partialFingerprints":{"codehealthFindingId/v1":"e120da9b422516f8a1c03f4c78a2ffe05f2a160a39d475e53b198c8243c3de2d"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-grok.is-animated .grok-orbiter\u0060 moves (\u0060animation: grok-orbit 3.4s linear infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":1482}}}],"partialFingerprints":{"codehealthFindingId/v1":"a99b6b6c47864c53cc9f12991efb5fcff20f60fff6a71c0881e49976e23df57b"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-grok.is-clicked .grok-mark\u0060 moves (\u0060animation: grok-upright 2.05s\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":1503}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ad85f51b62fe5259609a09e79f6b8d3aaef6dd8bc27ef3afdae0c3ca710cb2b"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-grok.is-clicked .grok-svg\u0060 moves (\u0060animation: grok-hspin 1.45s cubic-bezier(0.09, 0.62, 0.24, 1) 0.42s both\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":1506}}}],"partialFingerprints":{"codehealthFindingId/v1":"97b977a323ff8822709a7d17f39b872300e849db258140056698f8357d6fe99a"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-hermes.is-animated .hermes-svg\u0060 moves (\u0060animation: hermes-float 2.6s ease-in-out infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":1684}}}],"partialFingerprints":{"codehealthFindingId/v1":"727336b4f0b2aaee08f1b16121597898a5df5b1549dffa9d83b66982785d8466"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-hermes.is-animated .hermes-gleam\u0060 moves (\u0060animation: hermes-sheen 4s ease-in-out infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":1687}}}],"partialFingerprints":{"codehealthFindingId/v1":"89709dfece913ee231ef2f6409ed07910e80ca85428e175301335cbc665b1543"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-hermes.is-clicked .hermes-svg\u0060 moves (\u0060animation: hermes-coinflip 0.8s cubic-bezier(0.3, 0.7, 0.2, 1)\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":1692}}}],"partialFingerprints":{"codehealthFindingId/v1":"9774b4864db70e0df7f91907425f077556c975b2313406d1e892ae1f5220b750"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-kiro.is-animated .kiro-ghost\u0060 moves (\u0060animation: kiro-float 2.4s ease-in-out infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":1768}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8b925c6caab3d5c5f1f5f7edddc8f8f6aa86c74b2e87c63d7d9861a3d9a181d"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-kiro.is-animated .kiro-eye\u0060 moves (\u0060animation: kiro-blink 2.8s ease-in-out infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":1771}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0fee26ae2c77c19f1c06334e44579879a01638c5f101a816c4b0038affd57fb"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-kiro.is-clicked .kiro-ghost\u0060 moves (\u0060animation: kiro-dissolve-core 1.1s cubic-bezier(0.25, 0.75, 0.25, 1)\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":1774}}}],"partialFingerprints":{"codehealthFindingId/v1":"654aa77b91288370885bdb254d99830c1b8ef998c2f439375b6b51089bd9ec03"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-kiro.is-clicked .kiro-eye\u0060 moves (\u0060animation: kiro-eye-fade 1.1s ease-in-out\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":1777}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdb1ea780f86a9343c87eb2cbc3191d9ae1d4b87c4ce2059e4c772d7b93afd3d"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-kiro.is-clicked .kiro-echo-left\u0060 moves (\u0060animation: kiro-echo-left 1.1s ease-in-out\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":1780}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f54edd03c682ca41a434c095510e2102ec3a11377834dc86a54c89435bc216f"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-kiro.is-clicked .kiro-echo-right\u0060 moves (\u0060animation: kiro-echo-right 1.1s ease-in-out\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":1783}}}],"partialFingerprints":{"codehealthFindingId/v1":"c72a8b0b5d608fc24743f06f8a07fa12612192fe8046289497a01aaf0c664a50"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-fallback.is-animated .fallback-icon\u0060 moves (\u0060animation: fallback-pulse 2s ease-in-out infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":1907}}}],"partialFingerprints":{"codehealthFindingId/v1":"95125e29456335ee1dab5b31c0101e34ea4a75213a4e4c005131a7ce27ec6978"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-fallback.is-clicked .fallback-icon\u0060 moves (\u0060animation: fallback-spin 0.5s ease-in-out\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":1910}}}],"partialFingerprints":{"codehealthFindingId/v1":"16bb80643666f70cbf40b3e24cd9e17bf26a9d14135051561c43839bbab9f8fa"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-qoder-cn.is-animated svg\u0060 moves (\u0060animation: qoder-swing 0.9s ease-in-out -0.45s infinite alternate\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":1944}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f5988febb350e1877d85aef0cc3d766bf5775fc468b87968a7d5f913a2a8669"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-openclaw.is-animated:not(.is-clicked) .oc-lob\u0060 moves (\u0060animation: openclaw-hop 1.4s linear infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":2042}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcd12951bcdccb0ec3482b7637906e3c6eacf6d8e966bceb360f8db2c2b5808c"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-openclaw.is-animated:not(.is-clicked) .oc-ant-l\u0060 moves (\u0060animation: openclaw-wag-l 0.5s ease-in-out infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":2045}}}],"partialFingerprints":{"codehealthFindingId/v1":"9294ff4010d8402983d11ad0741168c2c09277b60547ca24899af8d647d0a21b"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-openclaw.is-animated:not(.is-clicked) .oc-ant-r\u0060 moves (\u0060animation: openclaw-wag-r 0.5s ease-in-out infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":2048}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7dce5fc00ea81cbb5d49ebfedcf66871862da9508844ed11f04dbf9b0dc8085"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-openclaw.is-animated:not(.is-clicked) .oc-eyes\u0060 moves (\u0060animation: openclaw-blink 2.6s ease-in-out infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":2051}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c5815dd3b4dfcadb6db11ecd8fec1be4a3b6715189abcf3fea17337bbefd761"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-openclaw.is-clicked .oc-lob\u0060 moves (\u0060animation: openclaw-settle 3s ease-in-out both\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":2117}}}],"partialFingerprints":{"codehealthFindingId/v1":"e05938fe2ec4b002ebb063e75951fe794d74d82c110080f24fba5bc3491dfac9"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-openclaw.is-clicked .oc-ant-l\u0060 moves (\u0060animation: openclaw-droop-l 3s ease-in-out both\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":2126}}}],"partialFingerprints":{"codehealthFindingId/v1":"c04169b163cd3767137aa1821e14958873c31856a8bda6f6a7bf2cd1987af93c"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-openclaw.is-clicked .oc-ant-r\u0060 moves (\u0060animation: openclaw-droop-r 3s ease-in-out both\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":2129}}}],"partialFingerprints":{"codehealthFindingId/v1":"d97bfeae7d70dbc73ec6142170cba18ee1932a4e6ee20caefda498477d1a11bb"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-penguin.is-animated .penguin-wake\u0060 moves (\u0060animation: penguin-wake-slide 5s linear infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":2266}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2fe29fa55a4759d05e91d92dcc6425bb2d362db8a4b327cf044dc1376f97fd5"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-penguin.is-animated .penguin-body\u0060 moves (\u0060animation: penguin-surge 5s ease-in-out infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":2272}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebf7fb33dfc81d8dc4944350c19e7341a32aaf6edbd209bbcc97f38f67ce40ed"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-penguin.is-clicked .penguin-body\u0060 moves (\u0060animation: penguin-shake 0.9s ease-in-out both\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":2282}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea59f175b8b5f4b4b1a03213249eb032cc44617972e311cb1e57501612e2a9e7"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-penguin.is-clicked .penguin-wake\u0060 moves (\u0060animation: penguin-wake-scatter 1.6s ease both\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":2285}}}],"partialFingerprints":{"codehealthFindingId/v1":"1265156511390ec4a3de014480fe213e79c3a2e7de068215f78cd4df331e54fb"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-penguin.is-clicked .penguin-drop\u0060 moves (\u0060animation: penguin-fling var(--dur) ease-out var(--delay) both\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":2291}}}],"partialFingerprints":{"codehealthFindingId/v1":"b331f4e04f120caaf8528641dee9c74ddc4e254f989b4cd82d33f831b7bb50fb"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-pi .pi-depth\u0060 moves (\u0060transition: transform 0.4s cubic-bezier(0.34, 1.3, 0.64, 1)\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":2396}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef85c9a9f3a0c4198cb6808fa10d092481714ed8866ec0fbf88c3539a72b9b48"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-pi.is-clicked .pi-bar\u0060 moves (\u0060animation-name: pi-fall-bar\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":2433}}}],"partialFingerprints":{"codehealthFindingId/v1":"816bd39e88514645c3823144161f4026e8756571f420ebff2fd9ac1392d9beee"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-pi.is-clicked .pi-left\u0060 moves (\u0060animation-name: pi-fall-left\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":2436}}}],"partialFingerprints":{"codehealthFindingId/v1":"7400581ae356df381d8bc9b09597cd7b6b9e6a45f97ad713feadd8d5ee24c9fb"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-pi.is-clicked .pi-right\u0060 moves (\u0060animation-name: pi-fall-right\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":2439}}}],"partialFingerprints":{"codehealthFindingId/v1":"e83dc1304a899a26573f94c721ba7d711a8bd3f70319b88adc43f632f1cc4899"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-pi.is-clicked .pi-base\u0060 moves (\u0060animation: pi-fall-base 3s step-end both\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":2442}}}],"partialFingerprints":{"codehealthFindingId/v1":"022d42c8e6996a5cef8aa1465b4073261615625f2c7df26ade393e7aa356db40"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mascot-pi.is-clicked .pi-foot\u0060 moves (\u0060animation: pi-fall-foot 3s step-end both\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/mascot.css"},"region":{"startLine":2445}}}],"partialFingerprints":{"codehealthFindingId/v1":"8565f75831d707bdb74fca1d121794eff1bb69f6fd90411709ad217b27fd0d94"}},{"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 names Node.js 18, but the repository declares engines \u0060\u003E=20\u0060, engines \u0060\u003E=22\u0060. 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":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fe09df08deb1303dbbfb3a87897a46c166913935825a84c8d72a962d801d8cb"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: website/src/content/docs/docs/contributing/index.md names Node.js 18, but the repository declares engines \u0060\u003E=20\u0060, engines \u0060\u003E=22\u0060. 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":"website/src/content/docs/docs/contributing/index.md"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff6eb407275ea3ef6f9ab9bc98ffae9a23bfe9c3ada03d53b823b24cdc5b0f93"}},{"ruleId":"P12","level":"warning","message":{"text":"Pull-request path filter skips the test gate for source changes: \u0060paths-ignore: website/**\u0060 matches compiled source (\u0060website/astro.config.mjs\u0060, \u0060website/vitest.config.ts\u0060, \u0060website/scripts/check-targets.mjs\u0060) \u2014 a pull request that changes only those files merges without running the tests. Ignore only documentation and other files no build reads."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/pr-checks.yml"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a5f0946fd07581be00b48968f47ec75656ebcacfe3648fa4a519fb3fe464df1"}},{"ruleId":"P2","level":"warning","message":{"text":"No structured logging: No logging call was found in the 250 JavaScript/TypeScript, Rust production file(s) this check read across 6 module(s). Each was searched for its ecosystem\u0027s logging libraries (JavaScript/TypeScript: pino, winston, bunyan, log4js, loglevel, consola, the NestJS Logger; Rust: the log and tracing crates (info!/warn!/error!, #[instrument]), slog, env_logger) and for a call on a receiver named \u0060log\u0060/\u0060logger\u0060 (or ending in \u0060Logger\u0060/\u0060_logger\u0060) with a level verb. It cannot see logging through a repo-local wrapper named otherwise, or in source it did not read \u2014 this is \u0027no logging found by this walk\u0027, not a verdict that nothing here logs. If it is right, production issues will be hard to diagnose."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9f10d71351c6778ebe84e761f82a90d4f9ed6c64f5e01975ede8fda7e4e2ebc5"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060package.json\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b237f7efe841e3a95b381b232502a3a473094adeb069a11eaca8ca533fb1c34"}},{"ruleId":"P4","level":"note","message":{"text":"No release approval gate: The release is automated and no gate that pauses it for a human is DECLARED IN THIS REPOSITORY\u0027S PIPELINE FILES. What was read: every file under \u0060.github/workflows/\u0060, \u0060.forgejo/workflows/\u0060, \u0060.gitea/workflows/\u0060, \u0060.azuredevops/\u0060 and \u0060.azure-pipelines/\u0060, plus \u0060.gitlab-ci*\u0060 and \u0060azure-pipelines*\u0060 \u2014 with comment text stripped, so documenting a gate is not declaring one. What would have counted: GitLab\u0027s \u0060when: manual\u0060, CircleCI\u0027s \u0060type: approval\u0060, an Azure \u0060ManualValidation@\u0060 task or an \u0060approvals:\u0060 block, a Jenkins \u0060input\u0060 step, a \u0060uses:\u0060 step naming an approval action, an \u0060environment:\u0060 paired with \u0060reviewers\u0060 / \u0060required_reviewers\u0060 / \u0060protection\u0060 / \u0060wait-timer\u0060 / \u0060deployment_branch_policy\u0060, a draft-release step, a \u0060workflow_dispatch\u0060 promotion, or a release-event gate. \u2605 What this cannot see, because none of it is a file: a GitHub environment whose required reviewers are configured in repo SETTINGS, a branch protection rule, or an organisation deployment policy \u2014 all of them real, enforced gates that live outside the repository. If yours is one of those, this row is wrong and nothing in the tree could have told us. Otherwise: whatever the release trigger points at is published to users unreviewed, so a mistagged or unverified commit ships and the only remedy is a follow-up release."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6c11e2dbd483b4b423b95ac61bfcc7af1d55351b28a20d2b1105b31cfe38cc60"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 5 sibling directories (16 clone groups): 16 duplicated blocks under src/components/ have copies in at least two of the sibling directories agents, extensions, kits, layout, onboarding \u2014 12 of them are reported below, and 4 are counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 16 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 16 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 16 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/delete-dialog.tsx"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"29b9a4690601a4f651b1b7c5fa2d9de0af25a6621676f8a5b911243481555285"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 2 sibling directories (11 clone groups): 11 duplicated blocks under src/ have copies in at least two of the sibling directories components, pages \u2014 6 of them are reported below, and 5 are counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 11 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 11 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 11 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/extension-detail.tsx"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"14da6c951f4f23e7b72d0145c8f4d465415e5e162fe8073cf8b965ea9e8446d4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (78 matched lines \u00D7 2 locations): src/components/kits/editor-asset-tab.tsx:134 \u00B7 src/components/kits/editor-configs-tab.tsx:72 \u2014 the two spans are one implementation copied and then locally edited \u2014 471 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/kits/editor-asset-tab.tsx"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"19704a6ddfda11520e08cea70455abf4970b1e018bd3c268d8c2ec0c608da5e9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2 locations): src/components/onboarding/onboarding.tsx:455 \u00B7 src/components/onboarding/onboarding.tsx:519 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/onboarding/onboarding.tsx"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c0a20f8f07332cd94850a793e2f61704991a16c7c38e62fefbc531aabb46e58"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (36 matched lines \u00D7 2 locations): src/components/extensions/install-dialog.tsx:84 \u00B7 src/components/extensions/new-skills-dialog.tsx:47 \u2014 the two spans are one implementation copied and then locally edited \u2014 251 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/install-dialog.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f3c6930cabd3114e315ce2df1fd10a9d38e197a000de7c59623247dc6238a9c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 4 locations): src/components/onboarding/onboarding.tsx:640 \u00B7 src/components/onboarding/onboarding.tsx:872 \u00B7 src/components/onboarding/onboarding.tsx:1078 \u00B7 src/components/onboarding/onboarding.tsx:1318 \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":"src/components/onboarding/onboarding.tsx"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9e01fa0c775b7206e1374a518e630e8016d0b7b2c5f08bf5f7f266004c6731a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): src/components/onboarding/onboarding.tsx:426 \u00B7 src/components/onboarding/onboarding.tsx:492 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/onboarding/onboarding.tsx"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"379f30cb0232cea71f8b54caddf19360ea4b187dbdb6629f6f3d0947a61e4b02"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): src/pages/extensions.tsx:202 \u00B7 src/pages/overview.tsx:781 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/extensions.tsx"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1e9304e4e4bf10f8f8e689df047d1b9eeb00ac92788296bed656e5781c51378"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (18 matched lines \u00D7 2 locations): src/pages/agents.tsx:35 \u00B7 src/pages/extensions.tsx:72 \u2014 the two spans are one implementation copied and then locally edited \u2014 84 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/agents.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa36419f0986453e1f5dd49d517cf5d60527d42e56073683ff4d1ec8cb4b5cae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): src/pages/overview.tsx:597 \u00B7 src/pages/overview.tsx:645 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/overview.tsx"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"b57ed5c2aa23ce26aab64d4dc8ac129c6ac67690afde8f5eac4d5c72317e1cbb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/components/layout/update-dialog.tsx:10 \u00B7 src/components/layout/web-update-dialog.tsx:10 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/update-dialog.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"6360de4a8ca64574fdc2af1a330f6781283055d42fbd4908728b73547e973513"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/pages/settings.tsx:90 \u00B7 src/pages/settings.tsx:140 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/settings.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4b997a422e7af3ef4e343d3bb027a47e74baca2daa001689cb306f8d60b8585"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/pages/settings.tsx:370 \u00B7 src/pages/settings.tsx:871 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/settings.tsx"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"377480dc320d9c10c63dbfe3fbc4a822392f0a5631aa80d0d381ced8f65161da"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/stores/marketplace-store.ts:94 \u00B7 src/stores/marketplace-store.ts:114 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/marketplace-store.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"1944f07df2a41db013c4206724fe2b8fbf72a976b43ddf47f68a6a7643bd6b30"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/components/agents/config-file-entry.tsx:210 \u00B7 src/components/agents/config-file-entry.tsx:225 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/agents/config-file-entry.tsx"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ff46b3cb41e2f703531a693db3e852d65316cf798f79c66d137f4fe3612f7cd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/components/kits/kit-editor-dialog.tsx:209 \u00B7 src/components/kits/kit-editor-dialog.tsx:224 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/kits/kit-editor-dialog.tsx"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7f1d44e1201054ba901c6379f3f0687722e1c68ff08c309a399a87091296a49"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/pages/overview.tsx:577 \u00B7 src/pages/overview.tsx:614 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/overview.tsx"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ddb990a4f250f85e1ad6dabf79e808136685efa8d56f5981b82112a5d015d0e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/components/agents/agent-detail.tsx:176 \u00B7 src/components/agents/agent-detail.tsx:190 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/agents/agent-detail.tsx"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"c418e4fc6644a469819740fa314c3126e967f41ed60327dcaa3ef79648319ec4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4 locations): src/components/extensions/delete-dialog.tsx:169 \u00B7 src/components/extensions/delete-dialog.tsx:289 \u00B7 src/components/extensions/new-skills-dialog.tsx:144 \u00B7 src/components/kits/delete-kit-confirm.tsx:33 \u2014 the 4 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/delete-dialog.tsx"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7d9b4f18760961a943619db554b9b10cd4fb47fa97e866e8cd1ec43f6df398f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): src/components/extensions/delete-dialog.tsx:235 \u00B7 src/components/extensions/detail-header.tsx:84 \u2014 the two spans are one implementation copied and then locally edited \u2014 51 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/delete-dialog.tsx"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec9bc171c148802ca590fd2fe05398429db8706d55a16035c43349613c878c41"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/components/extensions/install-dialog.tsx:147 \u00B7 src/components/extensions/install-dialog.tsx:170 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/install-dialog.tsx"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1daf533cbf13484a8e52c583d29434809c0e87b59d8c8fac00f4c5cb0bd0eab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): src/components/extensions/bulk-install-dialog.tsx:287 \u00B7 src/components/kits/install-steps/config-step.tsx:175 \u2014 the two spans are one implementation copied and then locally edited \u2014 68 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/bulk-install-dialog.tsx"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fe5336041fd218a4b16aae4945bec53caa5ce84a85ff7d5de802aac8eb568b2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/components/extensions/delete-dialog.tsx:326 \u00B7 src/components/kits/remove-from-project-dialog.tsx:111 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/delete-dialog.tsx"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"84fe103db082e21afe4fdc5861cee93f6f8e4bf7d07b3e69c8d5ec332480fce2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): src/components/extensions/extension-detail.tsx:72 \u00B7 src/pages/extensions.tsx:27 \u2014 the two spans are one implementation copied and then locally edited \u2014 114 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/extension-detail.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e2fa55aae253ffb8c61ffb92d3e0e497019660b6aa22d8ff0fc46a4288e7b5c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/components/extensions/extension-filters.tsx:240 \u00B7 src/components/kits/editor-asset-tab.tsx:235 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/extension-filters.tsx"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe7c3b05d7433b29bb79a7331e2dc61fd621c30fbaefa86745b5218c8f42d03e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/components/extensions/extension-filters.tsx:264 \u00B7 src/pages/kits.tsx:180 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/extension-filters.tsx"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cb29f79a392aebc2fa51a55335f7a3b8dee8efee82b4fe5a0043fe2278300a5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/components/layout/update-card.tsx:4 \u00B7 src/components/layout/web-update-card.tsx:4 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/update-card.tsx"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"e951b980a581f65279751f94317793de104c00613e3141b8dbe0ce567bdbb0f3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/components/shared/agent-mascot/openclaw-mascot.tsx:30 \u00B7 src/components/shared/agent-mascot/openclaw-mascot.tsx:52 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/openclaw-mascot.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"44931b74d848fb9caf3c1c6067730042bc8c043856aee435da1cc3fe551dfd28"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/pages/audit.tsx:336 \u00B7 src/pages/extensions.tsx:177 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/audit.tsx"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9d16af571416703ad1db1805f4cf8d2fccc9d6a02d610491ad694b5bf8cad51"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/components/extensions/delete-dialog.tsx:189 \u00B7 src/components/extensions/delete-dialog.tsx:311 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/delete-dialog.tsx"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf558a53939a5b825084cb88f1a934c5224d5cdf45185fe803322c213ca48e70"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/components/shared/agent-mascot/antigravity-mascot.tsx:234 \u00B7 src/components/shared/agent-mascot/antigravity-mascot.tsx:247 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/antigravity-mascot.tsx"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddcd63cb77bfaf4adb5cdfb462a435b2a347cada2f81f61f4525e656f9fe6e5f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/components/shared/agent-mascot/penguin-mascot.tsx:148 \u00B7 src/components/shared/agent-mascot/qoder-cn-mascot.tsx:17 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-mascot/penguin-mascot.tsx"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ea07f568e4f15ed93d837137c8e8625e44e7df3376f75fb751fa820993fa94"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): src/components/extensions/detail-paths.tsx:95 \u00B7 src/components/kits/kit-detail-drawer.tsx:333 \u2014 the two spans are one implementation copied and then locally edited \u2014 53 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/detail-paths.tsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"abb6e145c817fba48aae1aaf53cd14e77b91ae3ded8d0405429c599bd7990430"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/components/kits/install-steps/config-step.tsx:68 \u00B7 src/components/kits/install-steps/config-step.tsx:107 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/kits/install-steps/config-step.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6376ecca670c0d1abd6e5b47f22b261ebb98f640f9df98fd0ffbcb19cc750df"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/components/layout/update-dialog.tsx:41 \u00B7 src/components/layout/web-update-dialog.tsx:39 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/update-dialog.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e4b01e8c53f8329c0d6f9be65765b9b058794bd97cf35ac6027e5e6912946d2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4 locations): src/components/onboarding/onboarding.tsx:674 \u00B7 src/components/onboarding/onboarding.tsx:901 \u00B7 src/components/onboarding/onboarding.tsx:1107 \u00B7 src/components/onboarding/onboarding.tsx:1347 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/onboarding/onboarding.tsx"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"25f1f6619b9eae05b9bc14c0355675f91a38942509f5cec7ce51b7d7be6968ec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/components/extensions/bulk-install-dialog.tsx:269 \u00B7 src/components/kits/install-steps/config-step.tsx:155 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/bulk-install-dialog.tsx"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a5a321470afcffed7c4ea59469468f130fab190e8cb854b7ea0d26edeb3783"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/components/kits/delete-kit-confirm.tsx:86 \u00B7 src/components/kits/remove-from-project-dialog.tsx:160 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/kits/delete-kit-confirm.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"aca5ccc1c8e06d2f16c294450ff253e183a1ff58ceebe3dc03ac31f9d70fe400"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/components/layout/app-shell.tsx:77 \u00B7 src/components/onboarding/onboarding.tsx:173 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/app-shell.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e2a40775f1be6ad219c792874dbc0314064f84fd38b912c5ed1be3b08a2320f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/pages/audit.tsx:86 \u00B7 src/pages/kits.tsx:90 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/audit.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"e814565039e3eec9f6e471655a21cf075db297336c756297fa800a2950c8cfec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/stores/extension-store.ts:470 \u00B7 src/stores/extension-store.ts:693 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/extension-store.ts"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b51be6191cf0b59bdae2f5f66457e4ee18a7e0e1994c1a8b05f3d6fe23694ce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): src/components/agents/agent-detail.tsx:149 \u00B7 src/pages/settings.tsx:440 \u00B7 src/pages/settings.tsx:543 \u2014 the 3 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/agents/agent-detail.tsx"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"085eb89c00dd345107adf1f9730ab7962cba61394931682a7a5724eba76c8dd0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/components/extensions/bulk-install-dialog.tsx:156 \u00B7 src/pages/audit.tsx:325 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/bulk-install-dialog.tsx"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e0d2f0bbbbd035da208feb4f0c3c714cca83bf7a47036cdeaa48eb8822a04a9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/components/extensions/extension-detail.tsx:128 \u00B7 src/pages/marketplace.tsx:392 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/extension-detail.tsx"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ddae4ccd8cbdcec9bbb02e81c9e5df22ae04b7cf50b6b9b10d481fae639361f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/components/extensions/extension-detail.tsx:380 \u00B7 src/components/extensions/extension-detail.tsx:404 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/extension-detail.tsx"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"81807191c56e68e772ee7a42f824dd9d7daedcc73d60678179fb357efb43f19b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/components/layout/app-shell.tsx:63 \u00B7 src/components/onboarding/onboarding.tsx:166 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/app-shell.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b00e5a3a4a30dc1ba3079d9fa0efdd83e6fe618d8feae58191ffcd8c3ceded9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): src/components/layout/app-shell.tsx:78 \u00B7 src/components/layout/scope-switcher.tsx:26 \u00B7 src/components/onboarding/onboarding.tsx:174 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/app-shell.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9d55ce9f9e7db1ed12e4002cb32c68cc70571dd69cd92a5857607f99300f045"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): src/components/onboarding/onboarding.tsx:899 \u00B7 src/components/onboarding/onboarding.tsx:1105 \u00B7 src/components/onboarding/onboarding.tsx:1345 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/onboarding/onboarding.tsx"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8b4ff38ef8b97956acdd3bbdd8680af96f0675df5726a9ff55e170e0da3df2b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/pages/audit.tsx:134 \u00B7 src/pages/overview.tsx:230 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/audit.tsx"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ee930be6585642e9c12b829206d554f5f3fec033854baf4d890e908296e351e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): src/stores/audit-store.ts:48 \u00B7 src/stores/extension-store.ts:507 \u00B7 src/stores/web-update-store.ts:116 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/audit-store.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"3718c0aad6d84a4d2faebbac6dd3db48935910af063570ae7795144ed2f96a32"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/components/extensions/delete-dialog.tsx:141 \u00B7 src/components/extensions/new-skills-dialog.tsx:73 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/delete-dialog.tsx"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab06e7608f0e2ff1509732bdbdef6173b82aa06c6814a7088bb2d4607b98b654"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): src/components/extensions/extension-filters.tsx:213 \u00B7 src/components/kits/editor-asset-tab.tsx:234 \u00B7 src/components/kits/editor-configs-tab.tsx:169 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/extension-filters.tsx"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf5ec3594468dcad9a0caf36d83b0ada363c542323465ae56ef8c32031a82c51"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/stores/extension-store.ts:278 \u00B7 src/stores/extension-store.ts:294 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/extension-store.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"61cb09ee54f6991a4b096285140e90fd4ec2bfd2815bc339a0e42037cbf24868"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): src/stores/marketplace-store.ts:139 \u00B7 src/stores/marketplace-store.ts:406 \u00B7 src/stores/marketplace-store.ts:447 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/marketplace-store.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ef58666749a91e7b81ec09c2d60129f473df3619d56337460af8472673d2502"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/components/extensions/extension-detail.tsx:225 \u00B7 src/components/extensions/extension-detail.tsx:266 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/extension-detail.tsx"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc03d62696057a939b5fc0659ae127aa30e31abb5516996e604e40d39aaa5052"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/components/kits/editor-asset-tab.tsx:151 \u00B7 src/components/kits/editor-asset-tab.tsx:185 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/kits/editor-asset-tab.tsx"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff44be0e9f2da2e6f5814278a81e695e1fafa55451af4677733daf5d416ebac6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/components/kits/install-steps/preview-step.tsx:106 \u00B7 src/components/kits/install-steps/preview-step.tsx:127 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/kits/install-steps/preview-step.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fe2350275f6507eddb1774cfaa3de81421765ce60d6f9ca5f79a9cf3a91f701"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/components/agents/agent-detail.tsx:21 \u00B7 src/components/extensions/extension-filters.tsx:56 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/agents/agent-detail.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"e50e7158f70ff8b702b0bb65b21fab1182f3b42d2cff1854c2ebb1ffc35a6f67"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/components/agents/config-file-entry.tsx:34 \u00B7 src/components/extensions/extension-table.tsx:39 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/agents/config-file-entry.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"14e2e08130c3f6a8a6eb72e0624f49c66540f5524de1134551eb47cf53c2adfd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/components/kits/kit-editor-dialog.tsx:161 \u00B7 src/components/kits/kit-editor-dialog.tsx:171 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/kits/kit-editor-dialog.tsx"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"dae40253c108aad0482b2eac3be6f265a10d4b3ffbc3ea58083d84128edf11cb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 28 locations): src/components/agents/agent-detail.tsx:23 \u00B7 src/components/agents/agent-list.tsx:96 \u00B7 src/components/agents/config-file-entry.tsx:37 \u00B7 src/components/agents/config-file-entry.tsx:46 \u00B7 \u002B24 more site(s) not listed \u2014 the 28 copies are spread across 18 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/agents/agent-detail.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"f28701913f831dfaa0487a9e27622413ec7a40a2241b96a314c4f33a95dc5c55"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/components/kits/kit-detail-drawer.tsx:69 \u00B7 src/components/kits/kit-editor-dialog.tsx:45 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/kits/kit-detail-drawer.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"2de0d695bb5860c440c63a9efccc4aa226b3219bb7cccac90b018ef8fc16f5ee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MarketplacePage (cyclomatic 50, cognitive 41): MarketplacePage has cyclomatic complexity 50 and cognitive complexity 41; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/marketplace.tsx"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"1983eb7505b7a10074d54cf70247c26484fb919da282af15f32067285ff42c1e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ExtensionDetail (cyclomatic 42, cognitive 31): ExtensionDetail has cyclomatic complexity 42 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/extension-detail.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c21a6c0120792f5dd0fd653357f944efeb3dcd7f13cd4368dad5fdd8f111e35"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BulkInstallDialog (cyclomatic 37, cognitive 35): BulkInstallDialog has cyclomatic complexity 37 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/bulk-install-dialog.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"8885efa04566a9e4afb6a8baf60a3e7245d97d8c17aa0a5a4cea45b0df912156"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ConfigFileEntry (cyclomatic 33, cognitive 31): ConfigFileEntry has cyclomatic complexity 33 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/agents/config-file-entry.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"41877a14db35d7dae57c6c769605c96d672ef1a9e38e3565dec56640b9b98a29"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AuditPage (cyclomatic 31, cognitive 19): AuditPage has cyclomatic complexity 31 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/audit.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"4971ba43ca37112646be39f699798c68fa2a15379523e63fa63ee083e427ba3b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function InstallDialog (cyclomatic 28, cognitive 24): InstallDialog has cyclomatic complexity 28 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/install-dialog.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"036def0d642e799df9c389d9a93505cdd11d07de17ddb54213d467567df5e1ee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function OverviewPage (cyclomatic 24, cognitive 22): OverviewPage has cyclomatic complexity 24 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/overview.tsx"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"fffd3d71e10583fae83b509d43e73c0a4c4b42d17c451946d3a324e83eb864fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function InstallDialog (cyclomatic 22, cognitive 18): InstallDialog has cyclomatic complexity 22 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/kits/install-dialog.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"610b526dd0892f3cbcc53446fe0ebd467b28f419ad0ad7d510b52a5c740feaae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseError (cyclomatic 21, cognitive 26): parseError has cyclomatic complexity 21 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/error-types.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e193eaa04cd7531a2a88d03a05baa2ba2e368d5a6ba5d30945df4c872a622f4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DeleteDialog (cyclomatic 21, cognitive 23): DeleteDialog has cyclomatic complexity 21 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/delete-dialog.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"856552ae85943d6b0d5a197a943948232b4610c7e5c906cfde597ea13f73f089"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function selectItem (cyclomatic 21, cognitive 21): selectItem has cyclomatic complexity 21 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/marketplace-store.ts"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c1d0152e82f3f040ecc20c9e1b78a3932c8b3b7bd278bd3ac141a2190cfc376"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ExtensionsPage (cyclomatic 21, cognitive 19): ExtensionsPage has cyclomatic complexity 21 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/extensions.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1a3ad89faede1d5c256cd25051815593433426748c868f3a2cf3d1c08e87822"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function humanizeByMessage (cyclomatic 21, cognitive 14): humanizeByMessage has cyclomatic complexity 21 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/errors.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"57ec19d889ab2d184ff714c844d5683d30afd9d08e6006b98ba8d6fe9ca026af"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 24): (anonymous) has cyclomatic complexity 20 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/marketplace.tsx"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"906fdf34e3fef13c4178263ec2515fda0194854cbec0d1ec23f8d3b5a63f2d55"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildInstallPlan (cyclomatic 19, cognitive 54): buildInstallPlan has cyclomatic complexity 19 and cognitive complexity 54; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/install-plan.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a7a117ac5f165f8a7aad868d8668f89efb02c6a807523b59fd399e3df2ac89f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentDetail (cyclomatic 18, cognitive 19): AgentDetail has cyclomatic complexity 18 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/agents/agent-detail.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"71963f50ad8510c7a7173f88706739935898bba9030693db9985e0fbca0f266e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 16): (anonymous) has cyclomatic complexity 18 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/extension-detail.tsx"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"d39fe2ca03f2b48d0cd9219851a0394b2d4a3458a132716636ad0644b26e8034"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ExtensionFilters (cyclomatic 18, cognitive 15): ExtensionFilters has cyclomatic complexity 18 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/extension-filters.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a182f851c0f8db32e96966d0f1b066cc030d09f879043e7ba921a33e11b3ac4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runPreviewThenInstall (cyclomatic 17, cognitive 23): runPreviewThenInstall has cyclomatic complexity 17 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/kits/install-dialog.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"93b1681f44a5ff1438e1ab33148f6c8222b1579aadfd24cb9c048f9b134353a0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 24): (anonymous) has cyclomatic complexity 16 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/App.tsx"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"b66ed3152735b57f4e721537382fec619339f6d9053d6c5080138e531d231d22"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function KitEditorDialog (cyclomatic 16, cognitive 15): KitEditorDialog has cyclomatic complexity 16 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/kits/kit-editor-dialog.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"4afb949ffa09f162280e6d1460e3fef21a61fd39f5a4f26dce7db33895dbb886"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function KitsPage (cyclomatic 16, cognitive 15): KitsPage has cyclomatic complexity 16 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/kits.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4159836a3fc8e79f062507453f67a252ccf0d94a6315707ed34bc1f3919fbd4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 15): (anonymous) has cyclomatic complexity 16 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/settings.tsx"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a0fe716a0a9cf244684156a7ae6de2b6dfd293651ccd0f6ac5b125bf067e7ba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getCachedFiltered (cyclomatic 16, cognitive 15): getCachedFiltered has cyclomatic complexity 16 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/extension-helpers.ts"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"27c96f99b97321f24d3e56ff42892ff83715b26ce257fb903008e68e5f717287"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deduplicatePermissions (cyclomatic 15, cognitive 17): deduplicatePermissions has cyclomatic complexity 15 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/extension-helpers.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"d35a7b707c8fc6b908478b3d6fbc487cac6106523be8993a3899a25ee67f5cb2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 14): (anonymous) has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/delete-dialog.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d719758f832dd32fc8fdab480c225d34dc3c281c59fe1702329ac2a05ccd52f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ScopeTargetField (cyclomatic 15, cognitive 12): ScopeTargetField has cyclomatic complexity 15 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/scope-target-field.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"65180baaf2395f0322f709af94af3539a811e9b202bb2345d7cce56bbff1fcae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractInstallSection (cyclomatic 14, cognitive 27): extractInstallSection has cyclomatic complexity 14 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/marketplace.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a8b8884e92005c7b259a4c1928e7fd2053c0de41750b907fabdd9d3f861c2f2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function localizeChangelog (cyclomatic 14, cognitive 12): localizeChangelog has cyclomatic complexity 14 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/i18n/changelog.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c8ce7482e36ecc010eb7804b195cbed64cf37a5dc6cf4d389d620692f8fe4fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 11): (anonymous) has cyclomatic complexity 14 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/marketplace.tsx"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"1461e42a1d55be16ae139eb4a165a4aab2a99bb0936b8cd753957dc8a1f8ffdf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SettingsPage (cyclomatic 13, cognitive 11): SettingsPage has cyclomatic complexity 13 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/settings.tsx"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e43b15472eb0fc3f195117bc1457d54914fe711f7d480b9ef5addb348925beb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runInstall (cyclomatic 12, cognitive 15): runInstall has cyclomatic complexity 12 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/kits/install-dialog.tsx"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ca3042e4af16970b945be69a01d7a56fc26f8478e2642e3d82e3f5cf683666c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function NewSkillsDialog (cyclomatic 12, cognitive 11): NewSkillsDialog has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/new-skills-dialog.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"1242cd6368862d5de6c5bde1db4c7417169245c445d89ae96c176904d017552b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 10): (anonymous) has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/audit.tsx"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec7249698a79f679a51ba3af2e43ab5d40354fc370f6dfff72c2d6cfedf46405"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateAll (cyclomatic 11, cognitive 18): updateAll has cyclomatic complexity 11 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/extension-store.ts"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"0492a9956b88e4c3504c04eab94067c72deaec3af4719aba170a1ee63af9c483"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleInstallAction (cyclomatic 11, cognitive 14): handleInstallAction has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/install-dialog.tsx"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"d850f329c7f20e2a24b15a85769627894f40b4ac827d669815695cc7e97e277c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runInstall (cyclomatic 11, cognitive 12): runInstall has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/extension-detail.tsx"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"34f7c7e6fff485dc21a54f11310b6dc278d1c837b0d92d9adb9b4a92e5c288ff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function installBlockReason (cyclomatic 11, cognitive 12): installBlockReason has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/agent-capabilities.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e2a995d2e148aa5378edb70664825843f99a995d4c984316e7fdb74a1e344e2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 10): (anonymous) has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/detail-paths.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"dece14bff9c9b1d3ef06a9fd198771200b6a8decea4f529596d64868698f827f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function EditorConfigsTab (cyclomatic 11, cognitive 10): EditorConfigsTab has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/kits/editor-configs-tab.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"00893e7905be112171b1a0a768ad10932c1d7ddfb9fe13bf0042992a8c904f5f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function KitDetailDrawer (cyclomatic 11, cognitive 10): KitDetailDrawer has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/kits/kit-detail-drawer.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cbb538bab237193bcdf38b4b13b8c84c2f40387eb413314bb16bede8c985656"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MockAuditRow (cyclomatic 11, cognitive 10): MockAuditRow has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/onboarding/onboarding.tsx"},"region":{"startLine":1164}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b77f60cc1b7e6a29ce954474597db54c14e7b11fa8667bc4a03eed9308a3d8d"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/onboarding/onboarding.tsx: 1441 lines of code: src/components/onboarding/onboarding.tsx has 1441 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/onboarding/onboarding.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27a3e2fb87c15b36c91a0f10366a9af8cd28c855781d5671d04ae5d68918d719"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/extensions/extension-detail.tsx: 977 lines of code: src/components/extensions/extension-detail.tsx has 977 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/extension-detail.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f763dd5ba4e07a6d70eb2277d5db58ee17ed54ef453207bec2ea664b2eb6598"}},{"ruleId":"R3","level":"warning","message":{"text":"src/pages/marketplace.tsx: 935 lines of code: src/pages/marketplace.tsx has 935 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/marketplace.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"858a0ca775c553d27f9f92812b71c34afcf536c74dc0b914b83e8db323ed1cb6"}},{"ruleId":"R3","level":"warning","message":{"text":"src/pages/settings.tsx: 872 lines of code: src/pages/settings.tsx has 872 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/settings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbfddbda3b18d661592046ad13bd7d809ac9db47a3d57640b3c5362549bfa734"}},{"ruleId":"R3","level":"warning","message":{"text":"src/pages/overview.tsx: 766 lines of code: src/pages/overview.tsx has 766 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/overview.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f75054d69cf9aa4e27b9f41071218144c7032adac4672a3534a6672d474be585"}},{"ruleId":"R3","level":"warning","message":{"text":"src/stores/extension-store.ts: 749 lines of code: src/stores/extension-store.ts has 749 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/extension-store.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae9db690ced1c8211212b7ac1bf9e9a9cacf12db74bb8ac3824b66581302cee8"}},{"ruleId":"R3","level":"warning","message":{"text":"src/pages/audit.tsx: 733 lines of code: src/pages/audit.tsx has 733 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/audit.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ea30193e81a33ea8b071c52bbdd9712267add7d0fc7e3c23a534fb5d9cfc2ef"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/extensions/bulk-install-dialog.tsx: 658 lines of code: src/components/extensions/bulk-install-dialog.tsx has 658 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/bulk-install-dialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdcd4ec36980a721976f14de345816ee7ac461bb22b71dbb6233979869a2d881"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/types.ts: 547 lines of code: src/lib/types.ts has 547 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/types.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b774b5ba9a329abf35f0bca546fea3453984afc27ef09911ccb8adb08324d241"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/extensions/install-dialog.tsx: 514 lines of code: src/components/extensions/install-dialog.tsx has 514 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/install-dialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a01e29996e53b6cfed768c8a86c9c2c2db0fee86c218814fd8128397c15792f4"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/extensions/delete-dialog.tsx: 492 lines of code: src/components/extensions/delete-dialog.tsx has 492 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/delete-dialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"730d993eb125a054227f667d6fdf71fb00648699e16eebbbfc99ab7542f84964"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/extensions/extension-table.tsx: 470 lines of code: src/components/extensions/extension-table.tsx has 470 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/extension-table.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c44c2cabf3bb42a4065110153ed27e2900a3e01ce17ffd0b71815eb797e0f3df"}},{"ruleId":"R3","level":"warning","message":{"text":"src/stores/marketplace-store.ts: 462 lines of code: src/stores/marketplace-store.ts has 462 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/marketplace-store.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5349a8f941c721cd775977309ebb58912d95bff4044cd09d21cdf188c6a06322"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/kits/kit-detail-drawer.tsx: 446 lines of code: src/components/kits/kit-detail-drawer.tsx has 446 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/kits/kit-detail-drawer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b952dd82ef7a5ab4171fabd8770da9236706836918253f88310a349c102a1ebf"}},{"ruleId":"R3","level":"warning","message":{"text":"src/pages/kits.tsx: 434 lines of code: src/pages/kits.tsx has 434 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/kits.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aac4d44f4c92d2c83642a0d11f94b0bdc874b08a688b1cebc0c3aa2fe773565"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/onboarding/onboarding.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3920a8ac335616dd0e46dd3cec3d55ac7ea021a68a77448c881978e037b2f823"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/extension-detail.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd5bc97b7db3c4419aefe56cef139122121b8cdd2a5df082827b76f65176b5c3"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/marketplace.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e837528e32d99699a8e157c945fdcd1727e7c8f8ba38ebaa1bdb342294a6f6f2"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/settings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35aec50f6241f023056536167450115f1fb0131ed9dc437cba49e09ac83aa32e"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/overview.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8a8d9aaa97bd1ed74cae0cecea491ab97c58c8dff78feb766c68644c56b09b9"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/audit.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed4b8af5ef4dda67c2379fc1690240d0c45d4a8af698adfdf14249e7e684facc"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/install-dialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21512b0381554677ac53c8883b4a04da31f529c97fbb44fcc7ddead50fba5204"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/delete-dialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92d6446f8fedfe7d285ef516e949eb648318197d44fdd191f5773119af54de77"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/marketplace-store.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0af414a6617720eb5a6259f71fe36c31581a0e52cdf36689a1191a33073776e"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/extensions.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcaae62900e0e49b4f091ceb5b76f8379c59f1ceaf53e7c00c68da2a0cc781e3"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/new-skills-dialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c7bb645778ffb770e634e5c9b9fcffb19731b1f51031271da32d8dfa4dc3909"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/extension-filters.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"190bfe939b783a963fc0d62e745554a88e0024769d47a02e63d349c827aadaac"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/agents/agent-detail.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6b150e7479245a0aa7e7e21f208f71050ae54dc8d90087f876eab27aff55147"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/agents/agent-list.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdebf1692aed89fa17e25a5dae990849589d3efa6d96893bfac877baa31e470c"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/App.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8836fe5dbfba65d772e530b64f7a11fb69ec4c8118ba42a76f92c43baa52680c"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/detail-cli-sections.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdb85a393f3e5b262ec798d5622a885023b7507a9344b373cabc06b5182d89ec"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/detail-paths.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b36d03dbf4e23f59b0cf894c14f31a62c515fb19720b43b7936196083441c28e"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/sidebar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f19a21a2eb7ea6f5b40ad318f85672aa6315c5876792d78aa4e85cc9ddfec9ec"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/onboarding/confetti.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbede588e6d43c5640574f131c6145a6efa0537f0a73f0ae3ea56e33f7d9ffb8"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/agents.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ab501f04649b41d30598802fda93789bce2ae37ee8cc4faf333251bc94b853b"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/app-shell.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86a2eab70a79c9091ba002e05f9de458e0442e2c7e07ed9fb851d835b43bf8c3"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/agents/section-anchor-rail.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27abcaba26e0205d8449d8f6240c8ea96391a47fc3765f3ac4e3e9063e7012f7"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/detail-header.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d622869a8d3d051b673851aa375c8cf7f5a5da0c46fa31701c88173e270b9d2"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/hermes-category-picker.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c432c62ddf051280d2545e52749c1269bc9cabe14f3c8f6099f86a00e0f520df"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/agents/extensions-summary-card.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a932fea38982c387faa8d7ecaa6eb35e116607b2dda3adb5075c21fd0a2150c"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/agent-card.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"36f76529c2bb2cb57ebb9e5c977ef821bab636bc452e0cbd0aa6abf3caaf8064"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/permission-detail.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9593639d935b1bf0393c67099afba0c0f2c6790caee7a598a6b37505f5720980"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/audit-store.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"905fb77f2b59c2afa22a58d22d1a83f4410c9528b83189d5e88174f76c671c1e"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/toast-container.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8900fb6765ae18b7549df3586496da27b4b922138f41c61419571dc9df289cdf"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/toast.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb943e8704a511948d299b9c2f0e6ac279281a77a74f7acc207d7afb9c492180"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/hint.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3825c98db0e7a4949a347344f780ff587176e840382fbbf2fd980e6c8c72f2b"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/use-server-info.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d450482f1fb73085ae83cbbd2b9e9a50a49f6ef67089cb260bdaa0e662dc828"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/update-card.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4090bf39a805ef7f2e4796aee6bf12f2be719ba1a215b47832fc08fcd3e84e25"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/layout/web-update-card.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e546854a8e27f944d1cd695fcc37f2a2fe767681d4a4f56b3342babce0d322e3"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a520f01fcc93262a0d9800408f0663ba9f124a53540e2dfd2d558a23f4dd00a"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/animated-ellipsis.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7f0945dbb37e1b77f32f23c22d2f68545da9a61561a1e891af408f177c4d785"}},{"ruleId":"R6","level":"warning","message":{"text":"This package\u0027s lint script runs in no CI job: The root package declares the lint script \u0060lint\u0060 (\u0060biome check src/\u0060), but no step of this repository\u0027s CI runs it, by name, through another script, a Makefile target or a workspace runner, and no CI step runs the linter over the package itself. The rules it sets are enforced nowhere a pull request can fail. Run it in CI: a step that runs \u0060npm run lint\u0060 in \u0060.\u0060 (or the workspace\u0027s task runner)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a99e059e3a0cba570f525a46a8aa11293b8fdff66bdcbb6aab0186748d534a1"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~50 LoC): no import path from any entry point (11 application, 6 tooling, 41 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/shared/toast.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5502d64ff8263aececf3ed95ae02a4c2a334b053e692b2706c80ab778df94bb"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027tagColor\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/extension-filters.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fbbc9316a6a8ac01826800d1cdba7bd5a0484db095e6df56a151f7a66a2b835"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027puppeteer\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"91bf796c67d873713cea4efe6bd3e46ec824f6b5f6dbb6f710fcf4c885a16547"}},{"ruleId":"S1","level":"note","message":{"text":"No app-layer HTTPS enforcement detected: This repository starts an HTTP server and nothing in its Rust source or committed \u0060Rocket.toml\u0060 secures the transport: no TLS served (actix-web \u0060bind_rustls\u0060/\u0060bind_openssl\u0060, axum-server \u0060bind_rustls\u0060 with a \u0060RustlsConfig\u0060, tonic \u0060ServerTlsConfig\u0060, a \u0060TlsAcceptor\u0060, Rocket\u0027s \u0060[default.tls]\u0060), no \u0060Strict-Transport-Security\u0060 header, no \u0060X-Forwarded-Proto\u0060 read from a TLS-terminating proxy \u2014 so its traffic may cross the network in clear text. (\u22122.0 on this card.) The server: \u0060axum::serve(\u0060 (crates/hk-web/src/lib.rs:114)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8697c7a8b4c37084f15e81b8ec84d4cf62954730be74a0816d39b2127a21fd9b"}},{"ruleId":"S1","level":"note","message":{"text":"No security response headers detected: None of the 11 security response headers the OWASP Secure Headers Project recommends (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options, \u2026) is set on a response this repository\u0027s Rust server sends \u2014 defense in depth, even when a proxy could set them. (\u22122.0 on this card.) The server: \u0060axum::serve(\u0060 (crates/hk-web/src/lib.rs:114)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bd19c680309417e132c0be93c2002123f0664b42afe6172b1319da65a6a57ba7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060input.source.origin == SourceOrigin::Local \u0026\u0026 input.source.url.is_none()\u0060 appears character-identically in 2 files \u2014 crates/hk-core/src/auditor/rules/permissions.rs, crates/hk-core/src/auditor/rules/plugin.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/auditor/rules/permissions.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"e391405b6e25902152448666dcb5258e662197aeb3e0c8c3cd134612fbd2f88b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060local.starts_with(remote) || remote.starts_with(local)\u0060 appears character-identically in 2 files \u2014 crates/hk-desktop/src/commands/extensions.rs, crates/hk-web/src/handlers/install.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/extensions.rs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"156249152059185251573a62381d624450d26aec7bcffcb5e0aea77ae93bbf4b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060meta.subpath.is_some() || meta.install_type == \u0022manual\u0022\u0060 appears character-identically in 2 files \u2014 crates/hk-desktop/src/commands/extensions.rs, crates/hk-web/src/handlers/install.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/extensions.rs"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"83909a84b1e8733e1f27d9a8d43ffa72624c60f3256446e4edbe4f8f74ce35c2"}},{"ruleId":"X2","level":"note","message":{"text":"Not all async functions that make a request accept an AbortSignal: Only 1/4 async functions that make a cancellable request (fetch, axios, ky, ofetch, got, undici, node:http) accept an AbortSignal or pass one on, so a request keeps running after whatever wanted it has given up \u2014 a page navigated away from, an unmounted component, a timed-out job. Take a \u0060signal\u0060 (or an options object that carries one) and hand it to the request; where nothing could ever cancel the call, omitting it is a deliberate choice \u2014 judge against how the function is used."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bd89d014f84408f7063269aa5892ba3df7c9af3e981ecfb0752c5731bc62d406"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: fetchLatestRelease: \u0060fetchLatestRelease\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/web-update-store.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"23c5d51c45e8a6e71de40f6f447cfe218b7652e57d67ad79b29a61a2123eb64b"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: fetchTips: \u0060fetchTips\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/overview.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"c55d194aefcdeace5f70f1a81bf2ac8813dd2137305dbd44e389ba7f1f2a4644"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: httpInvoke: \u0060httpInvoke\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/transport.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"69667f5ecc87fbd56f0b8cb3c22fa40e4fd9972cb6ee89a7acbeb861c4da2ddc"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060Config.general\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. A test asserts that it parses, which proves the key is read from the input, not that it does anything. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/config.rs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7b8fca0ce972bd43ce124fc4607c332c9ca0cb579ddf16baee1e2b38cd83708"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060Config.audit\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. A test asserts that it parses, which proves the key is read from the input, not that it does anything. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/config.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"03c737d3f28529413071a1b2ad98ec76c58ad842b536463c3ffc3c1a767bd130"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060Config.agent_paths\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/config.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"28dd8682f08a81478ec6749398f354fce3307e0cd2901932a123a871e6e66cb1"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060RulesEnabled.prompt_injection\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. A test asserts that it parses, which proves the key is read from the input, not that it does anything. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/config.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"00e7f95a197b63cc6fa38c559e4da09cb9ad9f06df6744a1475947fcec5a0f2d"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060RulesEnabled.rce\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/config.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"84fc75c5f0ab6eeae7c7c059c1fdb8de7dec5ef33e8c4b279503e7b33cbf1196"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060RulesEnabled.credential_theft\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/config.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"3546f93265495f366c30ae8f2612fbbf908cdba68cb0843bafae29e48aa3e048"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060RulesEnabled.plaintext_secrets\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/config.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5bd14734b2ab1d06cb4f678e648d0bea861bfc039bbfb7c305301dc3618a346"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060RulesEnabled.safety_bypass\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/config.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ca9c99cb092a1dc2d0562bb8a57baacc3db4c7fc2206070e8e52fd193c1ff0"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060RulesEnabled.dangerous_commands\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/config.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"082043d81aeeac7041802f70d23e60e3e4a950442d5f759e7b56cc9e7baff3c1"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060RulesEnabled.broad_permissions\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/config.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"21274bdad5f93055df961ba2b9cba7db0a2965b91e4c4ac7de63f0323ee706e5"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060RulesEnabled.supply_chain\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/config.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc2a60fcbd1a793026068313ab81296bbc33e0c87cad5931c04085b4906d8cec"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060RulesEnabled.outdated\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/config.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a60ca80347ede2c8918302f0819460448d866e566a803b54464bf47f5bc3ca6"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060RulesEnabled.unknown_source\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/config.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd8e95a8e8ad79fb7d74cdddd89b20ee98971e84fd2deb003d394ad3ac7d36dc"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060AgentPathOverrides.claude\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/config.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"c57dc84875ad72203c8594550b022aadf19460bd31cfd398491a535404769ee4"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060AgentPathOverrides.cursor\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/config.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c747cbcf423df292f3e044fcbbf6b4c5a74d6c6f4dbfce677e2e79faaacfe5"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060AgentPathOverrides.codex\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/config.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"b42c1a34c816c7045cfe834e6b470b99038ca18388d28e2976fe4a176c627877"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060AgentPathOverrides.gemini\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/config.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3522341bd5929d5e3c697cca0484e5eb2181574b151337259ebf02eefc02940"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060AgentPathOverrides.antigravity\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/config.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bb8d152a17c716ea5baa4574266acffb134e1001b84750d6e8b5ff03e83955c"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060AgentPathOverrides.copilot\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/config.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f09fce14ce07d7d93dd2ff03dbf763e21daba6475dad79b3daefe42020c7c0"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060SkillsShSkill.installs\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/marketplace.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"cef53852579432f9dab16beb0d8ca778818b1b366f09aa79ef632e7fb8f4df12"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060SmitherySkill.total_activations\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Its value is copied into \u0060installs\u0060, and nothing reads that either. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/marketplace.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dc1f67b5d4e10a72c9f1d782a59c4503b00374f8a59e55d0cdeedcd85ecc3d3"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060SmitherySkill.verified\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. A test asserts that it parses, which proves the key is read from the input, not that it does anything. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/marketplace.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ef2fab455b3717e60ee4c5c06885fbadea402af3d6cf9b5dd2c089e8bdab8c"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060SmitheryServer.verified\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. A test asserts that it parses, which proves the key is read from the input, not that it does anything. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/marketplace.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"06f948ecfc09c8ad054f5e8f0a1c78eda314c72d687e8187dffcabf465629840"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060SmitheryServer.use_count\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. Its value is copied into \u0060installs\u0060, and nothing reads that either. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/marketplace.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"67299eaf6a901987d44b0db6081f5d1a57499a86b45db5507ac8bfa50519b93f"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060RemoteTransportFlags.http\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. A test asserts that it parses, which proves the key is read from the input, not that it does anything. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/models.rs"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e00abbe5c91d5842b8fcfc89458aaf72fd83d52198a223b3a0c06a42ca4d466"}},{"ruleId":"X25","level":"warning","message":{"text":"Configuration option is read nowhere: \u0060RemoteTransportFlags.sse\u0060 is offered as a configuration-file option, so whoever configures the program can set it \u2014 but no production code reads it. A test asserts that it parses, which proves the key is read from the input, not that it does anything. Every value supplied for it is silently ignored. Consult it where it was meant to take effect \u2014 or, if it genuinely does nothing, remove it (or mark it deprecated and say so in its documentation) so the configuration stops advertising a setting that changes nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/models.rs"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"873bd8c3f7d1163f5fe52f602ca6c75cf64a8485969b3847f8f376253194bb57"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060std::fs::create_dir_all(\u0026data_dir)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060main\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/main.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3602ef2bb7a37eb34b2899b149e4dcbc74aaf0273baf5cc085d054e89591180"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060Store::open(\u0026data_dir.join(\u0022metadata.db\u0022))\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060main\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/main.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"f696fe5e94acc83f5f04fba031320aca59bfb450869f85c9d290ae7e9aa00ce2"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060tauri::Builder::default().plugin(tauri_plugin_dialog::init()).plugin(tauri_plugin_opener::init()).plugin(tauri_plugin_updater::Builder::new().build()).plugin(tauri_plugin_process::init()).manage(AppState{store:Arc::new(Mutex::new(store)),adapters:Arc::new(adapter::all_adapters()),pending_clones:Arc::new(Mutex::new(std::collections::HashMap::new())),}).invoke_handler(tauri::generate_handler![commands::list_extensions,commands::list_agents,commands::get_dashboard_stats,commands::toggle_extension,commands::list_audit_results,commands::run_audit,commands::scan_and_sync,commands::delete_extension,commands::uninstall_cli_binary,commands::get_extension_content,commands::get_skill_locations,commands::get_cached_update_statuses,commands::check_updates,commands::update_extension,commands::install_from_local,commands::list_hermes_categories,commands::install_from_git,commands::update_tags,commands::get_all_tags,commands::update_pack,commands::batch_update_tags,commands::batch_update_pack,commands::get_all_packs,commands::search_marketplace,commands::trending_marketplace,commands::fetch_skill_preview,commands::fetch_cli_readme,commands::fetch_skill_audit,commands::install_from_marketplace,commands::install_to_agent,commands::list_projects,commands::add_project,commands::remove_project,commands::discover_projects,commands::count_project_extensions,commands::update_agent_path,commands::set_agent_enabled,commands::update_agent_order,commands::list_skill_files,commands::open_in_system,commands::reveal_in_file_manager,commands::list_agent_configs,commands::read_config_file_preview,commands::scan_git_repo,commands::install_scanned_skills,commands::install_new_repo_skills,commands::get_cli_with_children,commands::list_cli_marketplace,commands::add_custom_config_path,commands::update_custom_config_path,commands::remove_custom_config_path,commands::list_kits,commands::get_kit_details,commands::list_kit_asset_candidates,commands::create_kit,commands::update_kit,commands::delete_kit,commands::preview_kit_project_conflicts,commands::sync_kit_to_project,commands::unsync_kit_from_project,commands::export_kit,commands::import_kit,commands::list_project_install_records,icon::set_app_icon,title_bar::set_title_bar_color,]).on_window_event(|window,event|{if let tauri::WindowEvent::CloseRequested{api,..}=event{#[cfg(target_os=\u0022macos\u0022)]{window.hide().unwrap_or_default();api.prevent_close();}#[cfg(not(target_os=\u0022macos\u0022))]{let _=(window,api);}}}).build(tauri::generate_context!())\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060main\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/main.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f7e5bb518fa579852008f0b62e3173e7b717867d59873e95d9cc4ffea39c678"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060serde_yaml::to_string(\u0026serde_yaml::Value::Sequence(vec![serde_yaml::Value::Mapping(group),]))\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060render_dsh_patch\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/deployer.rs"},"region":{"startLine":1712}}}],"partialFingerprints":{"codehealthFindingId/v1":"e552f37c51bcc3b2c1ccee80058ef693d85ded5e41b3c03d3d8b4954bc143196"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060group.as_object_mut()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060deploy_hook\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/deployer.rs"},"region":{"startLine":2030}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bfd65c9b74f408eef10fd35e18069415fbdaed40240c9f5172dbf66e2b6b69a"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060config.as_object_mut()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060deploy_hook\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/deployer.rs"},"region":{"startLine":2044}}}],"partialFingerprints":{"codehealthFindingId/v1":"c370772f45a95921bd30f612eb3e8a5a64841af4537ec79c53c142679ae2fd23"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060config.as_object_mut()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060deploy_hook\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/deployer.rs"},"region":{"startLine":2087}}}],"partialFingerprints":{"codehealthFindingId/v1":"851ed12b5f2d37be87b718d3f2798f40635e4d47810759ec03b81c1944148794"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060config.as_object_mut()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060deploy_hook\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/deployer.rs"},"region":{"startLine":2115}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b3d38348ded82bb7ba2985726c343970b34270ebc417b431263c56d225db8ef"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060config.as_object_mut()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060restore_hook\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/deployer.rs"},"region":{"startLine":2580}}}],"partialFingerprints":{"codehealthFindingId/v1":"6604a0e639fc9f00c490cd62c1f06328e269f74b6501ca01eae1eaa51c688f68"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060config.as_object_mut()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060restore_hook\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/deployer.rs"},"region":{"startLine":2621}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c973217abd4834e2827b28d9dd8c3328146a47dd4bc926f9c27432b4d9ea010"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060adapter(name)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060toggle_skill\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/manager.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e7eaf6006ffaaab1b63e94eb1521b219efbc9eb3b5f871f16a66466b13f1b71"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060NonZeroUsize::new(MAX_CACHE_ENTRIES)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060fetch_github_stars\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/marketplace.rs"},"region":{"startLine":1076}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a770abc32cb974472ecb1706fc60a29968ea9147e1c516235a7ec59ab3ede39"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060Regex::new(r\u0022(\\d\u002B\\.\\d\u002B(?:\\.\\d\u002B)?)\u0022)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060get_binary_version\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/scanner.rs"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"2522504fb8f49fb23d82a4200492c638c1207bd48d5a6ae68c16322af5f32d10"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060config_groups.get(\u0026item.target_path)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060sync_kit_to_project\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/kits/service.rs"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff551a58a4c28899eb5396d049994cb2a7b3c8f95e766c8e7546d504af480587"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060regex::Regex::new(r\u0022https?://[\\w.\\-]\u002B\u0022)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060check\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/auditor/rules/permissions.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"cff3d912878d93da1c9a9f5fdac67cb615d6f5cd65b9ba38ddb53231fdb0d806"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060regex::Regex::new(r\u0022\u0060\u0060\u0060(?:bash|shell|sh|zsh)\u0022)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060check\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/auditor/rules/permissions.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d02868c5a2504ae2a0fbfe5bdfa056c2608d286d48b3b1aee0159296f3e9703"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060regex::Regex::new(r\u0022(?i)(?:process\\.env|environ|getenv|\\$[A-Z_]\u002B|\\.env\\b)\u0022)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060check\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/auditor/rules/permissions.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dea33639446ba2e63afcba4027e22d6b05ba753d5dd9c840db0e64622735bdc"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060row.name\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060fold_plugin_rows_in_text\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/adapter/dsh.rs"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d7b933c04e2966990e473e0a41d3842ac430b494ea954e16a3f8f4e122c4f7f"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060siblings.iter().next()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060build_groups\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-cli/src/grouping.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"d41eed2803db239b18732970a4273a7cfb6ddd70a729a5b5724001ebb4df537b"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060members.remove(\u0026key)\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.expect()\u0060 in \u0060build_groups\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-cli/src/grouping.rs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bebf9d12fee75b15b514b5c8bd7fb67790f1467f4f33eeb87bb936521794ac3"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060tokio::runtime::Runtime::new()\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060main\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-cli/src/main.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"4607aafa33a8b8b186fbf9de371a7e0abc95e967bcc6ef6d80c32435ad69e051"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: \u0060agent\u0060 can be absent \u2014 it is an \u0060Option\u0060 or \u0060Result\u0060, which is why it is forced \u2014 and \u0060.unwrap()\u0060 in \u0060select_grouped_list_rows\u0060 forces it with nothing on this path excluding \u0060None\u0060/\u0060Err\u0060: no \u0060if let\u0060 or \u0060match\u0060 arm that matched it present, no \u0060let \u2026 else\u0060, no \u0060is_some()\u0060/\u0060is_ok()\u0060 test (or \u0060is_none()\u0060/\u0060is_err()\u0060 test that leaves), no \u0060assert!\u0060 of it, and for a lookup no proof the key or index exists. This line panics the first time the value is not there. Handle the absent case where it arises: propagate it with \u0060?\u0060, branch on it with \u0060if let\u0060 / \u0060match\u0060 / \u0060let \u2026 else\u0060, or give it a default (\u0060unwrap_or\u0060, \u0060unwrap_or_default\u0060, \u0060unwrap_or_else\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-cli/src/main.rs"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fcc9dd8ed0faf2c4b8ba2810e816f790f234579416e38648f0c72fb5a0c3640"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CLoader2 size=  class=\u0022animate-spin\u0022/\u003E\u0060 under \u0060updating\u0060, but \u0060updating\u0060 is settled by a load that can fail and the component draws no failure state, so a failed load is shown as \u0022not yet\u0022 for ever, or as the loaded state over its initial value. Give the component a failure state and draw it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/detail-header.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e78e3f482c7f93a4a5c460bdd89abd4bee9e054dc087abf091b4591f2b83941"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CLoader2 size=  class=\u0022animate-spin\u0022/\u003E\u0060 under \u0060installing\u0060, but \u0060installing\u0060 is settled by a load that can fail and the component draws no failure state, so a failed load is shown as \u0022not yet\u0022 for ever, or as the loaded state over its initial value. Give the component a failure state and draw it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/extensions/new-skills-dialog.tsx"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e11b42fc61feb39e628fdff806eff440c6e7c93089d2266fd08b898ca57aec6"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060external_project_memory\u0060 turns every \u0060Err\u0060 into \u0060vec![]\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/adapter/claude.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"80dfae42578fb8585bd36b89ec9db8f9bc127437f54809b6f928ee31c4d00bd5"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060read_plugins\u0060 turns every \u0060Err\u0060 into \u0060vec![]\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/adapter/codex.rs"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e71ca0987c113ad45e7a9346aca1c4306e851883ef281bf7d924913edb57ace"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060read_hooks\u0060 turns every \u0060Err\u0060 into \u0060vec![]\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/adapter/copilot.rs"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"285ea08a0a64eaa1c2efc684488ddcb386cb793e42497b7402d30a586de8c3c2"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060read_mcp_servers_from\u0060 turns every \u0060Err\u0060 into \u0060vec![]\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/adapter/dsh.rs"},"region":{"startLine":916}}}],"partialFingerprints":{"codehealthFindingId/v1":"563cf3ee50375570166ce691c0d73a23c62ca70e1810eae22309f936271c4247"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060read_plugins\u0060 turns every \u0060Err\u0060 into \u0060vec![]\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/adapter/gemini.rs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"f06a4899aaeff5c95bc971878a2cf8e8b3c0e92141c5463855a4f8155ca1f9ea"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060scan_plugin_dir\u0060 turns every \u0060Err\u0060 into \u0060vec![]\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/adapter/grok.rs"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"483b0bdf4fd9c897b7d5bea80005f19791f68f83a8f10e8659d1a7a2307adeef"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060external_project_memory\u0060 turns every \u0060Err\u0060 into \u0060vec![]\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/adapter/qoder_cn.rs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"239e3276b7096ee8dbc58b51753a899f199e23366a7c9cf8dc0e1425a9a8f68b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060global_memory_files\u0060 turns every \u0060Err\u0060 into \u0060vec![]\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/adapter/windsurf.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"759bfa83d05efabfdc2f79be0b2b20e73564dfb6387edc852e2db1bd375433dc"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060global_workflow_files\u0060 turns every \u0060Err\u0060 into \u0060vec![]\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/adapter/windsurf.rs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"d99b31bc7b9dbf6c518d313014e87cdab7dd6f2571b4cb63d99b0c5baa011264"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060read_ts_extensions\u0060 turns every \u0060Err\u0060 into \u0060vec![]\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/adapter/mod.rs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3ec8851be83be198a37258176f6f4d45ffa0a155512306078a1da5770a5c526"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060read_marketplace_repos\u0060 turns every \u0060Err\u0060 into \u0060std::collections::HashMap::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/adapter/claude.rs"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e96e5cea80ba2336326f957ce302dd8c51b27436ccc0290ddf2976f1812e332"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060claude_plugin_states\u0060 turns every \u0060Err\u0060 into \u0060HashMap::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/adapter/grok.rs"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b10fc03f297ff5ef617159437314c3cdadebfe61ef6c5d5d4fd8b97d659e6d3"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060read_disabled_hook_names\u0060 turns every \u0060Err\u0060 into \u0060HashSet::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/adapter/grok.rs"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"c424f421d4895f9c9427a605c4cf9ae60a891504a839d25074014ff4d786f353"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060skill_entries\u0060 turns every \u0060Err\u0060 into \u0060Vec::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/scanner.rs"},"region":{"startLine":1037}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3976032c580205a4e238cd36540b872c052a1bff79111b4d2666f74e47abef0"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060read_plugin_content\u0060 turns every \u0060Err\u0060 into \u0060String::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/service.rs"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"c943f652091e16f8f43d65ea8314de43a3efdf201cef4ca1d9ab5cdc6f0d7f90"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060find_canonical_skill_siblings\u0060 turns every \u0060Err\u0060 into \u0060Ok(Vec::new())\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-core/src/service.rs"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd77dc9fcc5f68e6d8fab58b7fd217deb7445fe76574351d7075d76bc364a3e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060format_dir_tree\u0060 turns every \u0060Err\u0060 into \u0060String::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-desktop/src/commands/settings.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"04e39a8c5a6bd8bd598ab5d0d841e07fee98bcdb7d9a04805914e58a20ab6a1e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060resolve_node_name\u0060 turns every \u0060Err\u0060 into \u0060\u0022unknown-host\u0022.to_string()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-web/src/lib.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3fb71d4df457fc7b798b6516d2cbce01deb368bd2f9df76ad5e291f19b33dc1"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060reachable_ipv4_addrs\u0060 turns every \u0060Err\u0060 into \u0060Vec::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-web/src/lib.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bb83e8620d2be5a7c63d9ffe6155478023ab54d85f1f0a7fef61078e59ac87b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060format_dir_tree\u0060 turns every \u0060Err\u0060 into \u0060String::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hk-web/src/handlers/settings.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"402422af07258c5542f1234ffd29bd2a7035c7f0a613cb602d4f6f678e5cc942"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getStoredStringArray\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/ui-store.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6f8fab19958ca6dd7e6de7fe7f2c84e67feb5acc3b92411167c3aeb573a17ef"}}],"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-125","guid":"98717707-96bf-ca5b-9568-8d1d257574c1","name":"CWE-125","shortDescription":{"text":"CWE-125"},"helpUri":"https://cwe.mitre.org/data/definitions/125.html"},{"id":"CWE-1333","guid":"11a336ce-63de-c45c-845e-29ca1e8df13d","name":"CWE-1333","shortDescription":{"text":"CWE-1333"},"helpUri":"https://cwe.mitre.org/data/definitions/1333.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-552","guid":"3492436b-eca2-9c54-9ba3-5dade427c903","name":"Files or Directories Accessible to External Parties","shortDescription":{"text":"Files or Directories Accessible to External Parties"},"helpUri":"https://cwe.mitre.org/data/definitions/552.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":124,"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."]}]}