{"$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":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D7","name":"Architectural Integrity","shortDescription":{"text":"Architectural Integrity"},"helpUri":"https://codehealth.canine.dev/dimensions/D7"},{"id":"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":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"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":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D23","name":"Boundary Type-Coupling","shortDescription":{"text":"Boundary Type-Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D23"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"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":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"AXR1","name":"Runtime accessibility","shortDescription":{"text":"Runtime accessibility"},"helpUri":"https://codehealth.canine.dev/dimensions/AXR1"},{"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":"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":"P5","name":"DR \u0026 Backup","shortDescription":{"text":"DR \u0026 Backup"},"helpUri":"https://codehealth.canine.dev/dimensions/P5"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R11","name":"Import Boundaries","shortDescription":{"text":"Import Boundaries"},"helpUri":"https://codehealth.canine.dev/dimensions/R11"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R4","name":"Test Coverage","shortDescription":{"text":"Test Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/R4"},{"id":"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":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"SkillDetailPage.SkillDetailPage (cyclomatic 198): SkillDetailPage.SkillDetailPage has cyclomatic complexity 198 (threshold 15). Of this number, 131 points are the body\u0027s own statements and 67 belong to 28 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/SkillDetailPage.tsx"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"41c2e08d463f61bcd0204a425085eda1ac9730127d7dc3602f74ec1a9e651257"}},{"ruleId":"D1","level":"warning","message":{"text":"packagesV1.packagesPostRouterV1Handler (cyclomatic 167): packagesV1.packagesPostRouterV1Handler has cyclomatic complexity 167 (threshold 15). Of this number, 166 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":2615}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca4dd0f5bec88cc99777b4696e620b0c5f43dd60a97c8a046bce2499e41f2eb"}},{"ruleId":"D1","level":"warning","message":{"text":"settings.Settings (cyclomatic 162): settings.Settings has cyclomatic complexity 162 (threshold 15). Of this number, 89 points are the body\u0027s own statements and 73 belong to 32 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/routes/settings.tsx"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5d996fa17d703358d5bf7e45b1c23dea4a7afea8a3648c3939c50d0de1a42b3"}},{"ruleId":"D1","level":"warning","message":{"text":"skillsV1.skillsGetRouterV1Handler (cyclomatic 157): skillsV1.skillsGetRouterV1Handler has cyclomatic complexity 157 (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":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":1761}}}],"partialFingerprints":{"codehealthFindingId/v1":"c28051bbbf8010f35c39e965888032eb0cedda5d00942dd4c58d185dea952248"}},{"ruleId":"D1","level":"warning","message":{"text":"publish.PublishPluginRoute (cyclomatic 151): publish.PublishPluginRoute has cyclomatic complexity 151 (threshold 15). Of this number, 75 points are the body\u0027s own statements and 76 belong to 14 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/routes/plugins/publish.tsx"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"f95062aaefc153a69d1e9c701a84d3975f38fafd16a04cd4ef881dfedd68e87b"}},{"ruleId":"D1","level":"warning","message":{"text":"AbusePage.AbusePage (cyclomatic 142): AbusePage.AbusePage has cyclomatic complexity 142 (threshold 15). Of this number, 129 points are the body\u0027s own statements and 13 belong to 5 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/routes/-management/AbusePage.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"56366c2eead69b63ba5a259ecb4d83c72ca8716d1f1dc9379d859007d326a079"}},{"ruleId":"D1","level":"warning","message":{"text":"skillsV1.skillsPostRouterV1Handler (cyclomatic 141): skillsV1.skillsPostRouterV1Handler has cyclomatic complexity 141 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":2926}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3bad7574ad0ddbdf8e52edc3c79d2693dcefe92111faa2e0bff27eacf3c5ce2"}},{"ruleId":"D1","level":"warning","message":{"text":"packages.publishPackageImpl (cyclomatic 138): packages.publishPackageImpl has cyclomatic complexity 138 (threshold 15). Of this number, 126 points are the body\u0027s own statements and 12 belong to 5 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":"convex/packages.ts"},"region":{"startLine":8052}}}],"partialFingerprints":{"codehealthFindingId/v1":"454d348d0d5718eb2a946d9e71d3e584fd626c9974d5b19e6a4f37be196021aa"}},{"ruleId":"D1","level":"warning","message":{"text":"$name.PluginDetailPageContent (cyclomatic 133): $name.PluginDetailPageContent has cyclomatic complexity 133 (threshold 15). Of this number, 122 points are the body\u0027s own statements and 11 belong to 8 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/routes/plugins/$name.tsx"},"region":{"startLine":1048}}}],"partialFingerprints":{"codehealthFindingId/v1":"90fef65fbe09869fbcae2bda2a97c65266878869b19ffa8053dd88d5672170d1"}},{"ruleId":"D1","level":"warning","message":{"text":"packagesV1.packagesGetRouterV1Handler (cyclomatic 132): packagesV1.packagesGetRouterV1Handler has cyclomatic complexity 132 (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":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":3777}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b740814282bd30023ca0bc934f2ecaa966a9e58d8e33c6a89ea83f2dd0d09bd"}},{"ruleId":"D1","level":"warning","message":{"text":"packagesV1.listPackages (cyclomatic 125): packagesV1.listPackages has cyclomatic complexity 125 (threshold 15). Of this number, 121 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":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":1159}}}],"partialFingerprints":{"codehealthFindingId/v1":"aabc658d8184b28f6db22ff79050c12c34d193f385f97015919d4efc6647864d"}},{"ruleId":"D1","level":"warning","message":{"text":"skills.cmdUpdate (cyclomatic 124): skills.cmdUpdate has cyclomatic complexity 124 (threshold 15). Of this number, 118 points are the body\u0027s own statements and 6 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":"packages/clawhub/src/cli/commands/skills.ts"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d45135e5a0ae7246b46f8b421c50f41f4d713b7ed9c960ef57dc76aea3d1fba"}},{"ruleId":"D1","level":"warning","message":{"text":"HomeListingSection.HomeListingSection (cyclomatic 116): HomeListingSection.HomeListingSection has cyclomatic complexity 116 (threshold 15). Of this number, 49 points are the body\u0027s own statements and 67 belong to 23 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/HomeListingSection.tsx"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"e785f330bf310022a7e72c6ec98c1f159145fbd5982e4f7ba03c1053a6a4214d"}},{"ruleId":"D1","level":"warning","message":{"text":"import.ImportGitHub (cyclomatic 114): import.ImportGitHub has cyclomatic complexity 114 (threshold 15). Of this number, 53 points are the body\u0027s own statements and 61 belong to 20 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/routes/import.tsx"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eed9dede3f4f5fa14a9b1a086bef77a8edad2a517530d380912c7c900218929"}},{"ruleId":"D1","level":"warning","message":{"text":"packages.listPackagePageImpl (cyclomatic 109): packages.listPackagePageImpl has cyclomatic complexity 109 (threshold 15). Of this number, 98 points are the body\u0027s own statements and 11 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/packages.ts"},"region":{"startLine":3946}}}],"partialFingerprints":{"codehealthFindingId/v1":"f71fb58840fdd59c1ee3bc7fc2f4cafaf8988e70a2403daef99ab6bc9c468cfa"}},{"ruleId":"D1","level":"warning","message":{"text":"management.Management (cyclomatic 102): management.Management has cyclomatic complexity 102 (threshold 15). Of this number, 70 points are the body\u0027s own statements and 32 belong to 21 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/routes/management.tsx"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc9a8b2a72ea26308e34e51012b80019c561c188dd66ecadbc5421c801a24a83"}},{"ruleId":"D1","level":"warning","message":{"text":"Header.Header (cyclomatic 93): Header.Header has cyclomatic complexity 93 (threshold 15). Of this number, 38 points are the body\u0027s own statements and 55 belong to 18 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/Header.tsx"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f5e2af915c08e41512e4d69409edc59b389b76b3add1dfeeb5922e91fe8b11"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillDetailPageView.SkillDetailPageView (cyclomatic 93): SkillDetailPageView.SkillDetailPageView has cyclomatic complexity 93 (threshold 15). Of this number, 84 points are the body\u0027s own statements and 9 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/SkillDetailPageView.tsx"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"df0533b22a6d488f0074ee26d4d54cd244cd5c0cb8e2343e2dfabc07288a25a3"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillDiffCard.SkillDiffCard (cyclomatic 83): SkillDiffCard.SkillDiffCard has cyclomatic complexity 83 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 49 belong to 14 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/SkillDiffCard.tsx"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb1178015ae660b0cda38624403bf31e2f3601a7642cd6258af36b3b7132e213"}},{"ruleId":"D1","level":"warning","message":{"text":"publish.Upload (cyclomatic 83): publish.Upload has cyclomatic complexity 83 (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 (publish.Upload::handleSubmit) 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/routes/skills/publish.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bcf5e14953c2de7240953a8ab83859002ff4051f2be045b96e66b019aa5941f"}},{"ruleId":"D1","level":"warning","message":{"text":"templates.validateTemplateManifest (cyclomatic 79): templates.validateTemplateManifest has cyclomatic complexity 79 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/templates.ts"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d79d7e9e0be6f84c65de7bad1604f1cc29350a037484485c890367c172df80c"}},{"ruleId":"D1","level":"warning","message":{"text":"skillsShCatalogV1.skillsShCatalogTestV1Handler (cyclomatic 78): skillsShCatalogV1.skillsShCatalogTestV1Handler has cyclomatic complexity 78 (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":"convex/httpApiV1/skillsShCatalogV1.ts"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"030aece64975c5725d5828b0103d329a6ae9e04e67d8ce396fe62ceaf40ec422"}},{"ruleId":"D1","level":"warning","message":{"text":"publishAttemptOperationalRecovery.validateRetainedPublishAttempt (cyclomatic 76): publishAttemptOperationalRecovery.validateRetainedPublishAttempt has cyclomatic complexity 76 (threshold 15). Of this number, 70 points are the body\u0027s own statements and 6 belong to 3 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":"convex/lib/publishAttemptOperationalRecovery.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bae4494c14adf381ec25742423cff20fa0048de910be6d88cc0471bda8d4faa"}},{"ruleId":"D1","level":"warning","message":{"text":"GoogleAnalytics.GoogleAnalytics (cyclomatic 76): GoogleAnalytics.GoogleAnalytics has cyclomatic complexity 76 (threshold 15). Most of this is not in the body itself: 1 of the 76 points is its own statement and the rest belongs to 13 function literals inside it that branch (lines 75, 199, 57, \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/GoogleAnalytics.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c7d64a6a8b6affac4a0cd0aafb14d23ec36b1156ad49477babd93fe825c37de"}},{"ruleId":"D1","level":"warning","message":{"text":"$handle.PublisherProfilePage (cyclomatic 74): $handle.PublisherProfilePage has cyclomatic complexity 74 (threshold 15). Of this number, 51 points are the body\u0027s own statements and 23 belong to 11 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/routes/user/$handle.tsx"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"90001fec4d8bb4a5467361b88e1b8d86b87537f05630acac8224f024390865fc"}},{"ruleId":"D1","level":"warning","message":{"text":"githubSkillSync.applyGenericGitHubSkillSourceSyncHandler (cyclomatic 71): githubSkillSync.applyGenericGitHubSkillSourceSyncHandler has cyclomatic complexity 71 (threshold 15). Of this number, 70 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/githubSkillSync.ts"},"region":{"startLine":1030}}}],"partialFingerprints":{"codehealthFindingId/v1":"e10467a21c0d80b905a55159f6c4dca5212dd747df77b7cf735c1bdc30fb54d4"}},{"ruleId":"D1","level":"warning","message":{"text":"packages.preparePackagePublishPlan (cyclomatic 70): packages.preparePackagePublishPlan has cyclomatic complexity 70 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/packages.ts"},"region":{"startLine":2646}}}],"partialFingerprints":{"codehealthFindingId/v1":"869326eb15b2e45392feed6af24b35a217181186bd6ac3071597237708d2b642"}},{"ruleId":"D1","level":"warning","message":{"text":"search.UnifiedSearchPage (cyclomatic 70): search.UnifiedSearchPage has cyclomatic complexity 70 (threshold 15). Of this number, 57 points are the body\u0027s own statements and 13 belong to 5 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/routes/search.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ba3ed99b8f400ca29eaf95d6c4e70dd7719e77c666d3e7713d64f61e9edebad"}},{"ruleId":"D1","level":"warning","message":{"text":"searchInsights.cmdSearchInsights (cyclomatic 69): searchInsights.cmdSearchInsights has cyclomatic complexity 69 (threshold 15). Of this number, 68 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/searchInsights.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"34b82f4e52ad969e62fea436d10e962de24f4d4270a41ad796b33d690db75428"}},{"ruleId":"D1","level":"warning","message":{"text":"useUnifiedSearch.useUnifiedSearch (cyclomatic 68): useUnifiedSearch.useUnifiedSearch has cyclomatic complexity 68 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 46 belong to 9 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/lib/useUnifiedSearch.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"6debbd160900085618365cab899b68c88de33817c9ff54133984e56e942db4c1"}},{"ruleId":"D1","level":"warning","message":{"text":"skillPublish.publishVersionForUser (cyclomatic 66): skillPublish.publishVersionForUser has cyclomatic complexity 66 (threshold 15). Of this number, 62 points are the body\u0027s own statements and 4 belong to 3 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/skillPublish.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"f85e967464c4ded51e224f5f215fc16dfb52382d4d7c2a0d4af3535494a59943"}},{"ruleId":"D1","level":"warning","message":{"text":"skillsV1.exportSkillsV1Handler (cyclomatic 61): skillsV1.exportSkillsV1Handler has cyclomatic complexity 61 (threshold 15). Of this number, 57 points are the body\u0027s own statements and 4 belong to 4 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":3531}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f018b413f263d1d4401bb404fb82132bb91c552e8df70d42c16f0f9717261b0"}},{"ruleId":"D1","level":"warning","message":{"text":"skillsShCatalog.admitScans (cyclomatic 61): skillsShCatalog.admitScans has cyclomatic complexity 61 (threshold 15). Of this number, 60 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skillsShCatalog.ts"},"region":{"startLine":1442}}}],"partialFingerprints":{"codehealthFindingId/v1":"147d301f51268a8bf93e7d75268fafaca693c57dfb71d486d27fb1bc2d018de9"}},{"ruleId":"D1","level":"warning","message":{"text":"skills.setSkillSoftDeletedByActor (cyclomatic 57): skills.setSkillSoftDeletedByActor has cyclomatic complexity 57 (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":"convex/skills.ts"},"region":{"startLine":11462}}}],"partialFingerprints":{"codehealthFindingId/v1":"95966b605047b2ae53b2402d85fbd22f7153e55a52b019c3daa0dd3ff0038977"}},{"ruleId":"D1","level":"warning","message":{"text":"publish.cmdPublish (cyclomatic 56): publish.cmdPublish has cyclomatic complexity 56 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/publish.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"c924a6468ea148f31c690d2fb5f77c36a075c3659c92576b91a1be9937ea9ac4"}},{"ruleId":"D1","level":"warning","message":{"text":"PluginVersionsPanel.PluginVersionsPanel (cyclomatic 56): PluginVersionsPanel.PluginVersionsPanel has cyclomatic complexity 56 (threshold 15). Most of this is not in the body itself: 15 of the 56 points are its own statements and the rest belongs to 8 function items inside it that branch (a function literal at line 273, loadMore, handleRestore, \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/PluginVersionsPanel.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"47877f405824fa8b4677e9d8f831029e83037624592486698d6f5dcd754d184a"}},{"ruleId":"D1","level":"warning","message":{"text":"packages.searchPackagesImpl (cyclomatic 54): packages.searchPackagesImpl has cyclomatic complexity 54 (threshold 15). Of this number, 39 points are the body\u0027s own statements and 15 belong to 7 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":"convex/packages.ts"},"region":{"startLine":4581}}}],"partialFingerprints":{"codehealthFindingId/v1":"996307d2c9716c825e1e8e9cd5c7c28a35127852424c7b1b86043163be7a8791"}},{"ruleId":"D1","level":"warning","message":{"text":"githubSkillSync.applyGitHubSkillVerificationResultHandler (cyclomatic 54): githubSkillSync.applyGitHubSkillVerificationResultHandler has cyclomatic complexity 54 (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":"convex/githubSkillSync.ts"},"region":{"startLine":2209}}}],"partialFingerprints":{"codehealthFindingId/v1":"702dbbee2fb1a69eddd4091cf225bb07946fa384717cdd098a0e5d9c034100ea"}},{"ruleId":"D1","level":"warning","message":{"text":"usersV1.handleAdminStaffEmail (cyclomatic 54): usersV1.handleAdminStaffEmail has cyclomatic complexity 54 (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":"convex/httpApiV1/usersV1.ts"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"95b3cb3a69593401da6ca661cb1e59d5b4f32b880d7cfb0c385727c005bd1eea"}},{"ruleId":"D1","level":"warning","message":{"text":"searchInsights.readReport (cyclomatic 53): searchInsights.readReport has cyclomatic complexity 53 (threshold 15). Of this number, 41 points are the body\u0027s own statements and 12 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":"convex/searchInsights.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"9901ecee910b9fac6237dbe2c09958a6507ee5108afe866f8b3f287dd192ba75"}},{"ruleId":"D1","level":"warning","message":{"text":"SearchInsightsPage.SearchInsightsPage (cyclomatic 53): SearchInsightsPage.SearchInsightsPage has cyclomatic complexity 53 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 25 belong to 11 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/routes/-management/SearchInsightsPage.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"706f305c9d14d031c8fbd4ec12060c2c566b59ac0170014f0768c9ad383d7107"}},{"ruleId":"D1","level":"warning","message":{"text":"index.PluginsIndex (cyclomatic 53): index.PluginsIndex has cyclomatic complexity 53 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 21 belong to 11 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/routes/plugins/index.tsx"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"3768f1d4f4abf7bb2d03bf214e0e08a8e97d8ce0e7bf0be4e700c2e6f3eda1cd"}},{"ruleId":"D1","level":"warning","message":{"text":"skills.mergeOwnedSkillIntoCanonicalByActor (cyclomatic 51): skills.mergeOwnedSkillIntoCanonicalByActor has cyclomatic complexity 51 (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":"convex/skills.ts"},"region":{"startLine":9310}}}],"partialFingerprints":{"codehealthFindingId/v1":"eea7a09faa17378b23f543569f491317a73c85ceaad3b1c07c84c800a986c923"}},{"ruleId":"D1","level":"warning","message":{"text":"templateBundled.validateTemplateBundledSources (cyclomatic 51): templateBundled.validateTemplateBundledSources has cyclomatic complexity 51 (threshold 15). Of this number, 45 points are the body\u0027s own statements and 6 belong to 3 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/templateBundled.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c978ae852149107e65adae0642133c3c74b92a44b33eb448f9883f9d9f4e4ba"}},{"ruleId":"D1","level":"warning","message":{"text":"packagesV1.searchPackages (cyclomatic 50): packagesV1.searchPackages has cyclomatic complexity 50 (threshold 15). Of this number, 47 points are the body\u0027s own statements and 3 belong to 3 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":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":3590}}}],"partialFingerprints":{"codehealthFindingId/v1":"d80f9065974bd932d4834fb3679df2aa51104f645051d944c65564edaad8eef0"}},{"ruleId":"D1","level":"warning","message":{"text":"usersV1.usersPostRouterV1Handler (cyclomatic 48): usersV1.usersPostRouterV1Handler has cyclomatic complexity 48 (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":"convex/httpApiV1/usersV1.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a3805f1415c8c76c28b07a1b49573d75d2ab622fc33509696d14ebf1238a1b3"}},{"ruleId":"D1","level":"warning","message":{"text":"skillsShCatalogSource.measureSkillsShMirrorProofSource (cyclomatic 48): skillsShCatalogSource.measureSkillsShMirrorProofSource has cyclomatic complexity 48 (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":"server/skillsShCatalogSource.ts"},"region":{"startLine":1866}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffdf285233c2246867f6d4193cb3cc4bc6e63c5fbf5b3ea49cf877ad9a269f61"}},{"ruleId":"D1","level":"warning","message":{"text":"inspect.cmdInspect (cyclomatic 47): inspect.cmdInspect has cyclomatic complexity 47 (threshold 15). Most of this is not in the body itself: 4 of the 47 points are its own statements and the rest belongs to one function literal inside it that branches (line 81). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/inspect.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef810e5cb9bce7031a9477f34b2dfcbd6e8870f4b770d26157e8327ff5886dd"}},{"ruleId":"D1","level":"warning","message":{"text":"search.lexicalFallbackSkillsImpl (cyclomatic 46): search.lexicalFallbackSkillsImpl has cyclomatic complexity 46 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 24 belong to 7 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":"convex/search.ts"},"region":{"startLine":1916}}}],"partialFingerprints":{"codehealthFindingId/v1":"12ba2da34b00fb02b8ccf59c3ebedf9f4e684ef3ed903305ed5321a7000131af"}},{"ruleId":"D1","level":"warning","message":{"text":"dashboard.Dashboard (cyclomatic 46): dashboard.Dashboard has cyclomatic complexity 46 (threshold 15). Of this number, 36 points are the body\u0027s own statements and 10 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/routes/dashboard.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cf7dbd5764714d0f6dad3831f5d0a5147ff96bb003dc427f1b22789d75c9d72"}},{"ruleId":"D1","level":"warning","message":{"text":"-useSkillsBrowseModel.useSkillsBrowseModel (cyclomatic 46): -useSkillsBrowseModel.useSkillsBrowseModel has cyclomatic complexity 46 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 25 belong to 11 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/routes/skills/-useSkillsBrowseModel.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0228a3d095f8fc8b8701b350bafdd5df3fcc5bf72db736fdfc154765bbdad74"}},{"ruleId":"D1","level":"warning","message":{"text":"device.CliDeviceAuth (cyclomatic 45): device.CliDeviceAuth has cyclomatic complexity 45 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 19 belong to 3 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/cli/device.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b8699cddbdb3374b2aaf0008033662c490a2ca97458b195d99f91b2121138db"}},{"ruleId":"D1","level":"warning","message":{"text":"sync.cmdSync (cyclomatic 44): sync.cmdSync has cyclomatic complexity 44 (threshold 15). Of this number, 42 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":"packages/clawhub/src/cli/commands/sync.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"fee125dfc7a70717d9688f933d2c2bffe8c1303dffec3217f676c64577d4ce2d"}},{"ruleId":"D1","level":"warning","message":{"text":"templateAgent.validateNativeAgentSettings (cyclomatic 44): templateAgent.validateNativeAgentSettings has cyclomatic complexity 44 (threshold 15). Of this number, 40 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/templateAgent.ts"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"f789442c596e17f6c2ac703bf28bcb0ccff49234bde45c5785cf9f6f5ff359ad"}},{"ruleId":"D1","level":"warning","message":{"text":"index.parseClawdisMetadata (cyclomatic 43): index.parseClawdisMetadata has cyclomatic complexity 43 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/skills/index.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc11e33d6d36f3be8135dc23b065ae39b5b3b77d25f0658d702006beda2c478"}},{"ruleId":"D1","level":"warning","message":{"text":"packagesV1.exportPluginsV1Handler (cyclomatic 43): packagesV1.exportPluginsV1Handler has cyclomatic complexity 43 (threshold 15). Of this number, 41 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":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":1738}}}],"partialFingerprints":{"codehealthFindingId/v1":"c687266511f4805e3aa633a07241d683bb0906ee2b55968c408382c9182115ba"}},{"ruleId":"D1","level":"warning","message":{"text":"$name.PluginDetailTabs (cyclomatic 43): $name.PluginDetailTabs has cyclomatic complexity 43 (threshold 15). Of this number, 37 points are the body\u0027s own statements and 6 belong to 3 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/plugins/$name.tsx"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fc95cc98fb2bdef60a09165aa859f39cb2d4d567e6f628f450e55cd668968f0"}},{"ruleId":"D1","level":"warning","message":{"text":"UserBadge.UserBadge (cyclomatic 42): UserBadge.UserBadge has cyclomatic complexity 42 (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/components/UserBadge.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b148e23d5f5b5538d689e615674ba50b6cafd3ba6237b155858a4513e29d444"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillDetailTabs.SkillDetailTabs (cyclomatic 42): SkillDetailTabs.SkillDetailTabs has cyclomatic complexity 42 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 8 belong to 5 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/SkillDetailTabs.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd1f26f9b4d4fd88a1fca263e26997a2203667f1b7959c7948fe98465fe11b61"}},{"ruleId":"D1","level":"warning","message":{"text":"templatePackage.validateTemplatePackageContents (cyclomatic 41): templatePackage.validateTemplatePackageContents has cyclomatic complexity 41 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/templatePackage.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf47581dfa9523fe4c9695a77d35965f01f09eefd222da15adc02ea580d84225"}},{"ruleId":"D1","level":"warning","message":{"text":"catalogFeed.buildSkillEntry (cyclomatic 40): catalogFeed.buildSkillEntry has cyclomatic complexity 40 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/catalogFeed.ts"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"7427f49b1e28fe75b95e4b025967388f018fb25e6c9662d31b2990f66a5fd416"}},{"ruleId":"D1","level":"warning","message":{"text":"publishAttemptOperationalRecovery.assertRetryFinalization (cyclomatic 40): publishAttemptOperationalRecovery.assertRetryFinalization has cyclomatic complexity 40 (threshold 15). Of this number, 38 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/publishAttemptOperationalRecovery.ts"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"9141348ec8e58def3ed2f9e63a3d4bff59a533c83f863db792a04e2e7ba021af"}},{"ruleId":"D1","level":"warning","message":{"text":"TemplateDetailPage.TemplateDetailPage (cyclomatic 40): TemplateDetailPage.TemplateDetailPage has cyclomatic complexity 40 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 18 belong to 4 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/TemplateDetailPage.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"feefad08b809f6fd2d9f9c5b67c2353465261953cfded34206628f6c84da7152"}},{"ruleId":"D1","level":"warning","message":{"text":"skills.hardDeleteSkillStep (cyclomatic 39): skills.hardDeleteSkillStep has cyclomatic complexity 39 (threshold 15). Of this number, 37 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skills.ts"},"region":{"startLine":1448}}}],"partialFingerprints":{"codehealthFindingId/v1":"20d372a5f3c40bbcb0b1ec573c6092a907ac4bf8bd6e126423c8573bea2b3b05"}},{"ruleId":"D1","level":"warning","message":{"text":"featuredSelections.publishForActor (cyclomatic 39): featuredSelections.publishForActor has cyclomatic complexity 39 (threshold 15). Of this number, 35 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/featuredSelections.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd43f23815ce7bb28da0e6ff7c24bd8d74d5edd1375ee16a4d5f5b2c57723562"}},{"ruleId":"D1","level":"warning","message":{"text":"skills.searchPackageCatalogImpl (cyclomatic 38): skills.searchPackageCatalogImpl has cyclomatic complexity 38 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skills.ts"},"region":{"startLine":5949}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab8e8ae4796bb28c6ae8d86dcdd5a6e2b981a47b93ab1bd4ad916ae1377a6e43"}},{"ruleId":"D1","level":"warning","message":{"text":"searchInsightsV1.searchInsightsV1Handler (cyclomatic 37): searchInsightsV1.searchInsightsV1Handler has cyclomatic complexity 37 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/searchInsightsV1.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af388672e52932f93c994637ddaa10961b142cbf47583a9073ea78cfef097b9"}},{"ruleId":"D1","level":"warning","message":{"text":"prepublicationReports.retainHttp (cyclomatic 37): prepublicationReports.retainHttp has cyclomatic complexity 37 (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":"convex/prepublicationReports.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"72e26f0b56414a5bfe5eccd279db65f444a738d06d9e3b85a3fff5751d12cb67"}},{"ruleId":"D1","level":"warning","message":{"text":"searchEvidenceDigest.buildSearchEvidenceDigest (cyclomatic 37): searchEvidenceDigest.buildSearchEvidenceDigest has cyclomatic complexity 37 (threshold 15). Most of this is not in the body itself: 4 of the 37 points are its own statements and the rest belongs to 14 function items inside it that branch (project, a function literal at line 203, project::tie, \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":"convex/lib/searchEvidenceDigest.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a3b0eaa700b41c1125f9497f30033ad9ee3de284ef1549a10bd09192bf42fb5"}},{"ruleId":"D1","level":"warning","message":{"text":"packages.cmdInspectPackage (cyclomatic 37): packages.cmdInspectPackage has cyclomatic complexity 37 (threshold 15). Most of this is not in the body itself: 3 of the 37 points are its own statements and the rest belongs to one function literal inside it that branches (line 396). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/packages.ts"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8cb550e7bd9bb7aa27e8d5ddaad3a71e52247cb86bb2ccbf636c152cfdc4b1b"}},{"ruleId":"D1","level":"warning","message":{"text":"downloads.downloadZipHandler (cyclomatic 36): downloads.downloadZipHandler 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":"convex/downloads.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"f13db339cc818ff58914de785c502fcb97e8131501974d24266c175d2f4022fb"}},{"ruleId":"D1","level":"warning","message":{"text":"featuredIntelligence.recommendFeatured (cyclomatic 36): featuredIntelligence.recommendFeatured has cyclomatic complexity 36 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 19 belong to 7 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":"convex/lib/featuredIntelligence.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbbf4ab6ca55e9f529eba98c5db209b3b01c209026913ac12b46557915efec45"}},{"ruleId":"D1","level":"warning","message":{"text":"packages.settleExistingStagedPackagePublication (cyclomatic 36): packages.settleExistingStagedPackagePublication has cyclomatic complexity 36 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/packages.ts"},"region":{"startLine":8770}}}],"partialFingerprints":{"codehealthFindingId/v1":"14be3102ef0b4b8feda4412a51bf0995e4a72ab8a7c6c800c971c84f54ce0a2d"}},{"ruleId":"D1","level":"warning","message":{"text":"featuredIntelligence.readMonthlyAdoption (cyclomatic 36): featuredIntelligence.readMonthlyAdoption has cyclomatic complexity 36 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 20 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":"convex/featuredIntelligence.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"88810822bef7e92ae983bc6bb1ea2173bbf3a3a818d8e8a45a83339604659a3c"}},{"ruleId":"D1","level":"warning","message":{"text":"skills.listCuratedSkillPage (cyclomatic 36): skills.listCuratedSkillPage 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":"convex/skills.ts"},"region":{"startLine":6305}}}],"partialFingerprints":{"codehealthFindingId/v1":"69b97a421e7321f48e403e11499f85a6d7906e1c1351ce26919e14a33d6fb9c0"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillFilesPanel.SkillFilesPanel (cyclomatic 36): SkillFilesPanel.SkillFilesPanel has cyclomatic complexity 36 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 16 belong to 5 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/SkillFilesPanel.tsx"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"f51b9f31e3a0f8eb538b73d1b6458798d6bb25be7fcbd7135f79c9871b297dd0"}},{"ruleId":"D1","level":"warning","message":{"text":"FeaturedEditorial.FeaturedEditorial (cyclomatic 36): FeaturedEditorial.FeaturedEditorial has cyclomatic complexity 36 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 15 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/routes/-management/FeaturedEditorial.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"50f2b1cd63526d0951d9ebd9e3a74ec912fe3c0ab8e61fb3883b672f344c73fe"}},{"ruleId":"D1","level":"warning","message":{"text":"agentSkillsHttp.resolveSkill (cyclomatic 35): agentSkillsHttp.resolveSkill 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":"convex/agentSkillsHttp.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c74cdfaabc3d7205b94c29be8471d2ceac5b618ff8f006c580a6bfe80b57c35"}},{"ruleId":"D1","level":"warning","message":{"text":"devSeed.seedLocalModerationFixturesHandler (cyclomatic 35): devSeed.seedLocalModerationFixturesHandler 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":"convex/devSeed.ts"},"region":{"startLine":2934}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b904b3301631b5f84368c2cee96f50f14b71b73cfbe1af4d63b98a4ea161eeb"}},{"ruleId":"D1","level":"warning","message":{"text":"pluginDiscoveryQueries.listCuratedPluginCategoryPage (cyclomatic 35): pluginDiscoveryQueries.listCuratedPluginCategoryPage has cyclomatic complexity 35 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 7 belong to 3 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/pluginDiscoveryQueries.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"958f097ddfe6a54aaca58718fe19d753d979eb562102b115a4d26557d8b00f30"}},{"ruleId":"D1","level":"warning","message":{"text":"githubSkillSync.applyGitHubSkillSourceSyncHandler (cyclomatic 35): githubSkillSync.applyGitHubSkillSourceSyncHandler has cyclomatic complexity 35 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 3 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":"convex/githubSkillSync.ts"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"068bf4aa2ec8c10e7f456a0d2803d3752de837c5847fb655ecc069a0cf73a5b1"}},{"ruleId":"D1","level":"warning","message":{"text":"maintenance.inspectSkillLineageCycleInternalHandler (cyclomatic 35): maintenance.inspectSkillLineageCycleInternalHandler has cyclomatic complexity 35 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/maintenance.ts"},"region":{"startLine":3401}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cc3b49b352b78f7f2ace99737d5d8ce0b38ead158662f124946d59fc2ec6e01"}},{"ruleId":"D1","level":"warning","message":{"text":"textFiles.decodeUtf8Text (cyclomatic 35): textFiles.decodeUtf8Text has cyclomatic complexity 35 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/textFiles.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"0db2c4778ac3764c368f0a7fc397ea5ce0c91ed062738f9d89a51631fe3508fa"}},{"ruleId":"D1","level":"warning","message":{"text":"rolloutCapabilities.getClawHubRuntimeEnvironment (cyclomatic 34): rolloutCapabilities.getClawHubRuntimeEnvironment has cyclomatic complexity 34 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/rolloutCapabilities.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f691086c536c16a8b3673359d12e0e0f2f01f83ab578ff2ff1a32a7dc9acc08"}},{"ruleId":"D1","level":"warning","message":{"text":"skillsShCatalogV1.skillsShCatalogPublicV1Handler (cyclomatic 33): skillsShCatalogV1.skillsShCatalogPublicV1Handler 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":"convex/httpApiV1/skillsShCatalogV1.ts"},"region":{"startLine":1147}}}],"partialFingerprints":{"codehealthFindingId/v1":"823890a1a8ed211939620b533227fd88a89466fde4b0be98c0075b818311da64"}},{"ruleId":"D1","level":"warning","message":{"text":"skills.cmdInstall (cyclomatic 33): skills.cmdInstall has cyclomatic complexity 33 (threshold 15). Most of this is not in the body itself: 11 of the 33 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 448, 581). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/skills.ts"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"b35cf51642f3ea9e54c05365dba4ec02b09280d30fa3d1462a3a2513c461e27e"}},{"ruleId":"D1","level":"warning","message":{"text":"packageApi.fetchPluginCatalog (cyclomatic 33): packageApi.fetchPluginCatalog 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":"src/lib/packageApi.ts"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"f553c2808511013d6f5ee1872b15209bf80f0d32e79080f96551f5bffd765724"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillVersionsPanel.SkillVersionsPanel (cyclomatic 33): SkillVersionsPanel.SkillVersionsPanel has cyclomatic complexity 33 (threshold 15). Most of this is not in the body itself: 5 of the 33 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 177, handleDelete, handleRestore, \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/SkillVersionsPanel.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f04385fcd7aba956ee42bd999dd496ed73552063b5d9bcf43379ed850fcf38c"}},{"ruleId":"D1","level":"warning","message":{"text":"ManagedMcpTools.ManagedMcpForm (cyclomatic 33): ManagedMcpTools.ManagedMcpForm has cyclomatic complexity 33 (threshold 15). Most of this is not in the body itself: 15 of the 33 points are its own statements and the rest belongs to 5 function items inside it that branch (submit, selectIcon, a function literal at line 253, \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/routes/-management/ManagedMcpTools.tsx"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"d268b89ef5aa98643d6286eed7fbf022cae2b4cfd126e9d01999d8b177fef71b"}},{"ruleId":"D1","level":"warning","message":{"text":"publish.Upload::handleSubmit (cyclomatic 33): publish.Upload::handleSubmit has cyclomatic complexity 33 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (publish.Upload) 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/routes/skills/publish.tsx"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"81bda01067d28feca00efffe5158f2f41563166385f826cb51bb0af7e5df1312"}},{"ruleId":"D1","level":"warning","message":{"text":"aigAnalysis.reusableAigAnalysis (cyclomatic 32): aigAnalysis.reusableAigAnalysis has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/aigAnalysis.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eaddc0a3c9b804b5a51692df23d064c6523cde3fadb38caf87588018cbc9968"}},{"ruleId":"D1","level":"warning","message":{"text":"skillPageRead.readSkillPageBySlug (cyclomatic 32): skillPageRead.readSkillPageBySlug has cyclomatic complexity 32 (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":"convex/lib/skillPageRead.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dc6072cab645c224668d6f2f95d66d395ad660d37ad5ae1828025975e0e7325"}},{"ruleId":"D1","level":"warning","message":{"text":"githubSkillSync.upsertGitHubSkillCandidate (cyclomatic 32): githubSkillSync.upsertGitHubSkillCandidate has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/githubSkillSync.ts"},"region":{"startLine":1501}}}],"partialFingerprints":{"codehealthFindingId/v1":"58024d0643eab96f1db051b0627e842301aca676168eb722e9661a00bb2004b6"}},{"ruleId":"D1","level":"warning","message":{"text":"publishers.ensurePersonalPublisherForUser (cyclomatic 31): publishers.ensurePersonalPublisherForUser has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/publishers.ts"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"32ba4494f1563c5a20cd777016da25ffb55885f64811baf42f6b8f38e474e070"}},{"ruleId":"D1","level":"warning","message":{"text":"packagePublishRecovery.assertPackageRecoveryEligibility (cyclomatic 31): packagePublishRecovery.assertPackageRecoveryEligibility has cyclomatic complexity 31 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/packagePublishRecovery.ts"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"09caddca3a906ccea8687cd26889bf7fd0f19372326a34fa82e1de72c69aa14f"}},{"ruleId":"D1","level":"warning","message":{"text":"promotions.normalizePromotionInput (cyclomatic 31): promotions.normalizePromotionInput has cyclomatic complexity 31 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/promotions.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b779b5647ddbd46fd8bdd0aa58a981d56cf5e6498f1efda3b8eb86e9647f23"}},{"ruleId":"D1","level":"warning","message":{"text":"usersV1.handleAdminUpdatePublisherProfile (cyclomatic 31): usersV1.handleAdminUpdatePublisherProfile has cyclomatic complexity 31 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/usersV1.ts"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"c415baf8f3864f3d280f78ad273aa562fcd5de91c5518f466fac4f695297f5b3"}},{"ruleId":"D1","level":"warning","message":{"text":"publisherAbuseTemporalScan.runScheduledTemporalPublisherAbuseScanStep (cyclomatic 31): publisherAbuseTemporalScan.runScheduledTemporalPublisherAbuseScanStep has cyclomatic complexity 31 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 5 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":"convex/publisherAbuseTemporalScan.ts"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f72616d9f735ac2b010cd238e91c86d566375183bbb9797bea492d7e895403"}},{"ruleId":"D1","level":"warning","message":{"text":"packagesV1.mintPublishTokenV1Handler (cyclomatic 30): packagesV1.mintPublishTokenV1Handler has cyclomatic complexity 30 (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":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":2420}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1912b5459fec6f88401051b15ececddd3723a68f3d5a2357d1256d81497465a"}},{"ruleId":"D1","level":"warning","message":{"text":"skillsShCatalogSource.buildSkillsShMirrorObservation (cyclomatic 30): skillsShCatalogSource.buildSkillsShMirrorObservation has cyclomatic complexity 30 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/skillsShCatalogSource.ts"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"261ac854a3a0a18b8b7fe98258b30d02e4f415fa6578b14643c4c0d79a33741e"}},{"ruleId":"D1","level":"warning","message":{"text":"skillsShCatalogSource.measureSkillsShTrendingSource (cyclomatic 30): skillsShCatalogSource.measureSkillsShTrendingSource has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/skillsShCatalogSource.ts"},"region":{"startLine":1461}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9684e3d6ffd41fc6a46478ab12d88b556355a20b590fd85a8e761185b967a49"}},{"ruleId":"D1","level":"warning","message":{"text":"homeListingData.fetchHomeSkillListing (cyclomatic 30): homeListingData.fetchHomeSkillListing has cyclomatic complexity 30 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 14 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/lib/homeListingData.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"64fa94244b8111257688786a1c7077c26279d11d3a01f6d81a31626e77d51e25"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillInstallSurface.InstallCommandCard (cyclomatic 30): SkillInstallSurface.InstallCommandCard has cyclomatic complexity 30 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, 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/SkillInstallSurface.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9776d8d9817f142f3867b7891a2247316a02c57f6b8b043a7288b2893ad1729"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillsPage.SkillsPage (cyclomatic 30): SkillsPage.SkillsPage has cyclomatic complexity 30 (threshold 15). Most of this is not in the body itself: 5 of the 30 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 134, 183, 333, \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/routes/-management/SkillsPage.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"646615b548e94641c6fb2c44573118bdd9f18c169821cd29e846db060791abc8"}},{"ruleId":"D1","level":"warning","message":{"text":"-useSkillsBrowseModel.useSkillsBrowseModel.sorted (cyclomatic 30): -useSkillsBrowseModel.useSkillsBrowseModel.sorted has cyclomatic complexity 30 (threshold 15). Most of this is not in the body itself: 6 of the 30 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 385, 362, 370, \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/routes/skills/-useSkillsBrowseModel.ts"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"247b6d5cc99935f2ef7aef07a9d8ccf8ec6267f85ae57591cf71057426d52f75"}},{"ruleId":"D1","level":"warning","message":{"text":"githubActionsOidc.verifyGitHubActionsWorkflowJwt (cyclomatic 29): githubActionsOidc.verifyGitHubActionsWorkflowJwt has cyclomatic complexity 29 (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":"convex/lib/githubActionsOidc.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"e765a24814111c1f75aacd095a7d79ffc87af48ced862a3b3a721eddfb09c432"}},{"ruleId":"D1","level":"warning","message":{"text":"packages.listPackageInspectorScanBatch (cyclomatic 29): packages.listPackageInspectorScanBatch has cyclomatic complexity 29 (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":"convex/packages.ts"},"region":{"startLine":10277}}}],"partialFingerprints":{"codehealthFindingId/v1":"de15ddb7d1af214fa551147ea425c1060771853ce0594b6133fb4279dbb5cd6c"}},{"ruleId":"D1","level":"warning","message":{"text":"pluginCategories.inferPluginCategoriesFromManifest (cyclomatic 29): pluginCategories.inferPluginCategoriesFromManifest has cyclomatic complexity 29 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/pluginCategories.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbc54f9aba8c99f4ec76edfd56e43d48b4fa60494726ac3c7f4dd54fc1ff7eea"}},{"ruleId":"D1","level":"warning","message":{"text":"pluginAutoCandidates (cyclomatic 29): pluginAutoCandidates has cyclomatic complexity 29 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 6 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/catalogClassifier.mjs"},"region":{"startLine":1411}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ea0c323e59118ae85e8253588ebb207eb4d3bf09bc084ec50f6ed970e75419"}},{"ruleId":"D1","level":"warning","message":{"text":"githubSkillSync.buildGitHubSkillSourceSnapshot (cyclomatic 28): githubSkillSync.buildGitHubSkillSourceSnapshot 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":"convex/lib/githubSkillSync.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f4420bc6259d83b380d050621b7f9ada171311ee2f1b29aa50a777184bc9f59"}},{"ruleId":"D1","level":"warning","message":{"text":"githubSkillSync.scheduleGitHubSkillVerification (cyclomatic 28): githubSkillSync.scheduleGitHubSkillVerification 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":"convex/githubSkillSync.ts"},"region":{"startLine":1958}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c12ca2784029f424fcd1beea8b587841b1c31f9963034ce1cfa0fa3139c7dfc"}},{"ruleId":"D1","level":"warning","message":{"text":"securityPrompt.parseLlmEvalResponse (cyclomatic 28): securityPrompt.parseLlmEvalResponse has cyclomatic complexity 28 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/securityPrompt.ts"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"17fd8d09ed2633c19d0242ac9f7ff3cf655957254a5ea37cc15c89a04a7a6c12"}},{"ruleId":"D1","level":"warning","message":{"text":"publisherAbuse.autoBanPublisherAbuseCandidatesPageInternalHandler (cyclomatic 28): publisherAbuse.autoBanPublisherAbuseCandidatesPageInternalHandler 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":"convex/publisherAbuse.ts"},"region":{"startLine":932}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0d06ee2062342d3b28cab509c478afd40fa805e0ae279f5053877a513d51993"}},{"ruleId":"D1","level":"warning","message":{"text":"packages.cmdPublishPackage (cyclomatic 28): packages.cmdPublishPackage 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":"packages/clawhub/src/cli/commands/packages.ts"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a7d0178ff71b1ec6b3f5273b0d38e814a928a2f46914e3c555be805d07eb668"}},{"ruleId":"D1","level":"warning","message":{"text":"managedMcp.parseManagedMcpDefinition (cyclomatic 28): managedMcp.parseManagedMcpDefinition has cyclomatic complexity 28 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/managedMcp.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc7607593144334ae573057ddfe36387c0a2953e8a3a53773153d8c3a2c63ab5"}},{"ruleId":"D1","level":"warning","message":{"text":"MarketplaceIcon.MarketplaceIcon (cyclomatic 28): MarketplaceIcon.MarketplaceIcon has cyclomatic complexity 28 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 6 belong to 4 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/MarketplaceIcon.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff2fd65ec5ad6723382b8bfeb7e1f807702a347b3f7e7673708b08ce37ba4474"}},{"ruleId":"D1","level":"warning","message":{"text":"import.ReviewSkillCard (cyclomatic 28): import.ReviewSkillCard has cyclomatic complexity 28 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 4 belong to 3 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/routes/import.tsx"},"region":{"startLine":1225}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f3fd16e39544a885bffa3313faa90468a88c8be383fe45a60bbfb8d3edb95bb"}},{"ruleId":"D1","level":"warning","message":{"text":"managementShared.formatAuditMetadataSummary (cyclomatic 28): managementShared.formatAuditMetadataSummary 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":"src/routes/-management/managementShared.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"52ea003250fe77e4d0b39dc791cea3aaaff4f523b1b828811dc7b1db8d8909ab"}},{"ruleId":"D1","level":"warning","message":{"text":"githubImport.importGitHubSkillForUser (cyclomatic 27): githubImport.importGitHubSkillForUser has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/githubImport.ts"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"233e3f88bfa345101d52af2de324e7f9ccdf359fd8db000a4cc27c5079a3effe"}},{"ruleId":"D1","level":"warning","message":{"text":"templatePackageHttpRead.readTemplatePackageHttp (cyclomatic 27): templatePackageHttpRead.readTemplatePackageHttp has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/templatePackageHttpRead.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ca66b85eff20f6fe28bdc615848b029dcdf19459ed478fbd2cb708c0d9c5eab"}},{"ruleId":"D1","level":"warning","message":{"text":"mcpPublicInspection.discoverOAuth (cyclomatic 27): mcpPublicInspection.discoverOAuth has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/mcpPublicInspection.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"a07c2a90e61448cc73c8cf263fec08cda37e73133be902411e8d68546277d79c"}},{"ruleId":"D1","level":"warning","message":{"text":"publishers.migrateLegacyPublisherHandleToOrgWithActor (cyclomatic 27): publishers.migrateLegacyPublisherHandleToOrgWithActor has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/publishers.ts"},"region":{"startLine":1192}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8a16bf427b854fe610180235f600afc953eec8e31446a40c1ce244f324b86ab"}},{"ruleId":"D1","level":"warning","message":{"text":"skill.png.default (cyclomatic 27): skill.png.default has cyclomatic complexity 27 (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":"server/routes/og/skill.png.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"a107543f4a150762cd65aa1d20d9175e148ecb50ed086f73cbba11479bc6b0d0"}},{"ruleId":"D1","level":"warning","message":{"text":"Header.SearchTypeahead (cyclomatic 27): Header.SearchTypeahead has cyclomatic complexity 27 (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/components/Header.tsx"},"region":{"startLine":893}}}],"partialFingerprints":{"codehealthFindingId/v1":"b252fd01cd2e145f9828e4c752ca7b64dacda74377421a4a3da21ab88eca94be"}},{"ruleId":"D1","level":"warning","message":{"text":"homeListingData.fetchHomePluginListing (cyclomatic 27): homeListingData.fetchHomePluginListing has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 9 of the 27 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 380, 427, 467, \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/lib/homeListingData.ts"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff06c453f2d4cf068d207dd1366c7b7eedd29460f39fc0445e338b832c8edacc"}},{"ruleId":"D1","level":"warning","message":{"text":"add.AddPage (cyclomatic 27): add.AddPage has cyclomatic complexity 27 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 4 belong to 3 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/routes/add.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ac315402c55f5891334859898c009d32c8041c732aac450f5b72dfd99f7ad34"}},{"ruleId":"D1","level":"warning","message":{"text":"packageRegistry.extractMcpServerSummaries (cyclomatic 26): packageRegistry.extractMcpServerSummaries has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 1 of the 26 points is its own statement and the rest belongs to one function literal inside it that branches (line 275). 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":"convex/lib/packageRegistry.ts"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"e429d366f1d23d59c25350ac478b44aaa2f5037d633e38085cd43f21a0472187"}},{"ruleId":"D1","level":"warning","message":{"text":"publishAttemptOperationalRecovery.retryFailedPublishAttemptChecks (cyclomatic 26): publishAttemptOperationalRecovery.retryFailedPublishAttemptChecks has cyclomatic complexity 26 (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":"convex/lib/publishAttemptOperationalRecovery.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"0026d1693b27e51be7f18c38b284f665b9afd39c8486391f5935aaa0746f5dd0"}},{"ruleId":"D1","level":"warning","message":{"text":"mcpPublicInspection.inspectPublicMcp (cyclomatic 26): mcpPublicInspection.inspectPublicMcp has cyclomatic complexity 26 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/mcpPublicInspection.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5f415f92f2bfea4c6d7aacb5d721a609ade5ace337ec6ba7dff93f0b98a094b"}},{"ruleId":"D1","level":"warning","message":{"text":"convexProxy.parseSkillArchiveManifest (cyclomatic 26): convexProxy.parseSkillArchiveManifest has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/convexProxy.ts"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"762667cfac7ba728261dff8816b170b74be6aa9e675b7cf87c936e94f0abf94f"}},{"ruleId":"D1","level":"warning","message":{"text":"publisherOgSvg.buildPublisherOgSvg (cyclomatic 26): publisherOgSvg.buildPublisherOgSvg has cyclomatic complexity 26 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/og/publisherOgSvg.ts"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"bde26f63bf48d88bb8738606aa2bf5f015ed51d10001b9abc95d6fbb160812fb"}},{"ruleId":"D1","level":"warning","message":{"text":"analyticsEngagement.observeAnalyticsEngagement (cyclomatic 26): analyticsEngagement.observeAnalyticsEngagement has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 2 of the 26 points are its own statements and the rest belongs to 5 function items inside it that branch (scroll, a function literal at line 32, a function literal at line 50, \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/lib/analyticsEngagement.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cc2940f9505d3a1937552c9c8c0fd79d3efaf576bdb8737f0eae6c0a7b3adc9"}},{"ruleId":"D1","level":"warning","message":{"text":"googleAnalytics.getGoogleAnalyticsPage (cyclomatic 26): googleAnalytics.getGoogleAnalyticsPage has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/googleAnalytics.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"20e8d6955d2e4e7559860f705a6088cbadebff48a493634eab48394dbd8c45b7"}},{"ruleId":"D1","level":"warning","message":{"text":"packageApi.fetchPackages (cyclomatic 26): packageApi.fetchPackages has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/packageApi.ts"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa06073a4baa38d64b8e35752bdcfceeb6f241a0e0a85ae5801b5906551252db"}},{"ruleId":"D1","level":"warning","message":{"text":"ManagedMcpTools.ManagedMcpTools (cyclomatic 26): ManagedMcpTools.ManagedMcpTools has cyclomatic complexity 26 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 12 belong to 6 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/routes/-management/ManagedMcpTools.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a5c3bff14d6d3a60e4401073190fb778c525821a9ecf27dc2ceb969e6776377"}},{"ruleId":"D1","level":"warning","message":{"text":"managedMcpV1.managedMcpV1Handler (cyclomatic 25): managedMcpV1.managedMcpV1Handler 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":"convex/httpApiV1/managedMcpV1.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"b606abe617d327d977b077822024edfe042e384de0604899ae091062c085ae38"}},{"ruleId":"D1","level":"warning","message":{"text":"searchIntentClassifier.classifySearchIntent (cyclomatic 25): searchIntentClassifier.classifySearchIntent has cyclomatic complexity 25 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 5 belong to 2 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":"convex/lib/searchIntentClassifier.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab8e00a823a4f25d764bf3684054a657aa47341172ee9740af67075f3dc9ed71"}},{"ruleId":"D1","level":"warning","message":{"text":"templates.packageManagerArtifacts (cyclomatic 25): templates.packageManagerArtifacts 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":"packages/schema/src/templates.ts"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"e98f67e1cb08b50af81ea6610205a782409b5aba8efd9ef75b69dd24f11aba28"}},{"ruleId":"D1","level":"warning","message":{"text":"CatalogMetadataFields.CatalogMetadataFields (cyclomatic 25): CatalogMetadataFields.CatalogMetadataFields has cyclomatic complexity 25 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 9 belong to 3 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/CatalogMetadataFields.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce83e5fd9b9ac49ea71e284e55237329bd76734f8d277c4db614b10c0bf47413"}},{"ruleId":"D1","level":"warning","message":{"text":"catalogFeed.buildEntry (cyclomatic 24): catalogFeed.buildEntry has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/catalogFeed.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"298ed990bbbb44c93c7b181d224fc046104d023d897ba955b0dcb1170fa5ef7c"}},{"ruleId":"D1","level":"warning","message":{"text":"catalogTextMatch.matchCatalogText (cyclomatic 24): catalogTextMatch.matchCatalogText has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/catalogTextMatch.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc8622e2602eaa7d0799a859d16d04e3c4ac408b56e5ffb6189d078360bebd28"}},{"ruleId":"D1","level":"warning","message":{"text":"githubSkillSync.getArchiveScanBySkillAndContentHashHandler (cyclomatic 24): githubSkillSync.getArchiveScanBySkillAndContentHashHandler has cyclomatic complexity 24 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 6 belong to 2 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":"convex/githubSkillSync.ts"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f6d113b45b8868079e18a560d87bb183e87ce8516562fe3e72663e360625881"}},{"ruleId":"D1","level":"warning","message":{"text":"usersV1.handleAdminRecoverPersonalPublisher (cyclomatic 24): usersV1.handleAdminRecoverPersonalPublisher has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/usersV1.ts"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce23290a4a93fc890c67dbf6c6a4e29633183c21a03959cbae27097240687056"}},{"ruleId":"D1","level":"warning","message":{"text":"skillsShClaims.beginSkillsShClaimHandler (cyclomatic 24): skillsShClaims.beginSkillsShClaimHandler has cyclomatic complexity 24 (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":"convex/skillsShClaims.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0da6ba348e9cdbfaf032d6e3f743d438420754bb01a3daa49abbccf2e6c9bee"}},{"ruleId":"D1","level":"warning","message":{"text":"profile.png.default (cyclomatic 24): profile.png.default has cyclomatic complexity 24 (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":"server/routes/og/profile.png.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1fff74aeb184a854f2c0068f08ae9ff34317199c0f4b355f98c20f3e814629a"}},{"ruleId":"D1","level":"warning","message":{"text":"classifyPluginTopics (cyclomatic 24): classifyPluginTopics 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":"convex/lib/catalogClassifier.mjs"},"region":{"startLine":1886}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a76a7bc9b6b95e14a60eda7f19e8bcfc024374ead69f6b167248c60c37aa205"}},{"ruleId":"D1","level":"warning","message":{"text":"openClawPublishAuthorization.validateParentState (cyclomatic 23): openClawPublishAuthorization.validateParentState has cyclomatic complexity 23 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/openClawPublishAuthorization.ts"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b0a9867cd8f7137d40d7108908d19c27337ee2cc5b5c6cac3caf8ceec37971a"}},{"ruleId":"D1","level":"warning","message":{"text":"packages.listStablePackageDiscoveryPage (cyclomatic 23): packages.listStablePackageDiscoveryPage has cyclomatic complexity 23 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 9 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/packages.ts"},"region":{"startLine":3818}}}],"partialFingerprints":{"codehealthFindingId/v1":"4445e0efaae1cfade2bc87604f34bf528c614e35b77c78a0e1a7568e34f5dbf3"}},{"ruleId":"D1","level":"warning","message":{"text":"packages.transferPackageOwnerForUser (cyclomatic 23): packages.transferPackageOwnerForUser has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/packages.ts"},"region":{"startLine":9548}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4c2324c2fd04670350dc81ce64d641d3bbc1e0963c55fb233938d635edbf83d"}},{"ruleId":"D1","level":"warning","message":{"text":"skillPublish.prepareSkillInsertArgsForFinalization (cyclomatic 23): skillPublish.prepareSkillInsertArgsForFinalization has cyclomatic complexity 23 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, 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":"convex/lib/skillPublish.ts"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c183ac6428147d9148ed5e18cb8103c963fcf045ee688819920133303160506"}},{"ruleId":"D1","level":"warning","message":{"text":"skills.renameOwnedSkillByActor (cyclomatic 23): skills.renameOwnedSkillByActor has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skills.ts"},"region":{"startLine":9195}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b3d64226aaf857a9c495ef6e0511b0ee563ced502e96488e091d96e9807b5f4"}},{"ruleId":"D1","level":"warning","message":{"text":"featuredV1.featuredV1Handler (cyclomatic 23): featuredV1.featuredV1Handler has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/featuredV1.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8a29bc7fcd67920eff6cc7d9530d7ed6822ba93f74c03345c22fcd3bcb3d6b8"}},{"ruleId":"D1","level":"warning","message":{"text":"securityPrompt.assembleEvalUserMessage (cyclomatic 23): securityPrompt.assembleEvalUserMessage has cyclomatic complexity 23 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/securityPrompt.ts"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b5dcadeb3d3b03a9fcb4ac99f49e4f105cd6d34a2b4a886de63667553355f0e"}},{"ruleId":"D1","level":"warning","message":{"text":"email.cmdSendStaffEmail (cyclomatic 23): email.cmdSendStaffEmail has cyclomatic complexity 23 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/email.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb2108693272102892bb70d24ef496c9e7ceac86037dd4dc14b43282763446d5"}},{"ruleId":"D1","level":"warning","message":{"text":"moderation.cmdRescanAllSkills (cyclomatic 23): moderation.cmdRescanAllSkills 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":"packages/clawhub-admin/src/commands/moderation.ts"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"afda250ad25ce0d1029bc71dbc251a83295c175aecfed993f06bfb891cdb8033"}},{"ruleId":"D1","level":"warning","message":{"text":"skillsShCatalogSource.parseSkillsShMirrorProofSnapshotId (cyclomatic 23): skillsShCatalogSource.parseSkillsShMirrorProofSnapshotId has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/skillsShCatalogSource.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad601e20a08ccd7044b0e2b23744c135737fa615105e16fef4f878388d21f901"}},{"ruleId":"D1","level":"warning","message":{"text":"skillsShCatalogSource.selectSkillsShCatalogTestRows (cyclomatic 23): skillsShCatalogSource.selectSkillsShCatalogTestRows 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":"server/skillsShCatalogSource.ts"},"region":{"startLine":2789}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0e24bf51566ff2c2fd75645341488185886d69338f83f7c6a76ba2ddc928362"}},{"ruleId":"D1","level":"warning","message":{"text":"downloads.parseArchiveMetricPayload (cyclomatic 22): downloads.parseArchiveMetricPayload has cyclomatic complexity 22 (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":"convex/downloads.ts"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab6f912219808068ca9c4a7fcc7b9c03ca57f4d6044b9b60f62e1479927c42dc"}},{"ruleId":"D1","level":"warning","message":{"text":"skillPresentation.isStructurallyValidJpeg (cyclomatic 22): skillPresentation.isStructurallyValidJpeg 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":"convex/lib/skillPresentation.ts"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"9428971d0c9dfbf650edf3e690633972351f22e57a70f0035d84be8a6262acaa"}},{"ruleId":"D1","level":"warning","message":{"text":"packageSdkUsage.replacePackageSdkUsage (cyclomatic 22): packageSdkUsage.replacePackageSdkUsage has cyclomatic complexity 22 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/packageSdkUsage.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac162add3e47b2cadbd93a485533ab35fbeec852bf22860ea136a3721a709471"}},{"ruleId":"D1","level":"warning","message":{"text":"packages.resolveDirectPackageSearchDigests (cyclomatic 22): packages.resolveDirectPackageSearchDigests has cyclomatic complexity 22 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 4 belong to 4 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/packages.ts"},"region":{"startLine":1475}}}],"partialFingerprints":{"codehealthFindingId/v1":"fca1a667c1758e615b77c98eae94fbabde9b571bd1ecf16bd010208820f149b0"}},{"ruleId":"D1","level":"warning","message":{"text":"packages.buildPackagePluginCategoryDigestQuery (cyclomatic 22): packages.buildPackagePluginCategoryDigestQuery has cyclomatic complexity 22 (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":"convex/packages.ts"},"region":{"startLine":1690}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc7148d2ba1a82bec34d8948de7df5e8c8f554c8d514887d78176799074cd096"}},{"ruleId":"D1","level":"warning","message":{"text":"packages.latestCompletedFindingsScans (cyclomatic 22): packages.latestCompletedFindingsScans 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":"convex/packages.ts"},"region":{"startLine":3529}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a784d43db5b55b742829bc45539f38fb7774a107d8600adcdf311fdb00a855d"}},{"ruleId":"D1","level":"warning","message":{"text":"packages.restorePackageDoc (cyclomatic 22): packages.restorePackageDoc 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":"convex/packages.ts"},"region":{"startLine":5680}}}],"partialFingerprints":{"codehealthFindingId/v1":"6884f927f94c7043e78874da8065a7ad7b4f418b1a50c81acbb2c5efffd3765c"}},{"ruleId":"D1","level":"warning","message":{"text":"packages.insertPackageInspectorFindings (cyclomatic 22): packages.insertPackageInspectorFindings has cyclomatic complexity 22 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/packages.ts"},"region":{"startLine":9950}}}],"partialFingerprints":{"codehealthFindingId/v1":"a32d14de46ad06dd494d2df99216aa6b7367eb97e9322dc82c52768aef4cb7c2"}},{"ruleId":"D1","level":"warning","message":{"text":"skillPublicationProgress.readSkillVersionPublicationProgress (cyclomatic 22): skillPublicationProgress.readSkillVersionPublicationProgress has cyclomatic complexity 22 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/skillPublicationProgress.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bf30de2a735feab4d74520cb6f2c4cbdf65f7f906fd0d7887c742defccd3062"}},{"ruleId":"D1","level":"warning","message":{"text":"skillsV1.listSkillsV1Handler (cyclomatic 22): skillsV1.listSkillsV1Handler has cyclomatic complexity 22 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":1447}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c23ca5ac4d124995095b8cb424913b2ec53d759c75bef532f44f8e47c1299b8"}},{"ruleId":"D1","level":"warning","message":{"text":"packageInspectorHttp.packageInspectorResultsHttp (cyclomatic 22): packageInspectorHttp.packageInspectorResultsHttp has cyclomatic complexity 22 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/packageInspectorHttp.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"4193b35a4359d4866d18dccb6fe7c86ff5953a511b5b834a252359ed2143ad5f"}},{"ruleId":"D1","level":"warning","message":{"text":"publisherAbuse.runPublisherAbuseScoreRunInternalHandler (cyclomatic 22): publisherAbuse.runPublisherAbuseScoreRunInternalHandler 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":"convex/publisherAbuse.ts"},"region":{"startLine":1559}}}],"partialFingerprints":{"codehealthFindingId/v1":"f701d52a057479ff5285408f6499c1b36fe5e149eb958ac2c3254cc1852b8108"}},{"ruleId":"D1","level":"warning","message":{"text":"skillsShClaims.applySkillsShTestClaimVerdictHandler (cyclomatic 22): skillsShClaims.applySkillsShTestClaimVerdictHandler has cyclomatic complexity 22 (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":"convex/skillsShClaims.ts"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"c52f70c4070990748e17683fd60df96fe1c16beccfdc79419968dc75b4b36cda"}},{"ruleId":"D1","level":"warning","message":{"text":"skillsShCatalogSource.fetchSkillsShIdentityPage (cyclomatic 22): skillsShCatalogSource.fetchSkillsShIdentityPage 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":"server/skillsShCatalogSource.ts"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"506dcbdcde17089f134dacfb9aff3012b6f37537ff31635b5e3b63fa13d362ae"}},{"ruleId":"D1","level":"warning","message":{"text":"convexProxy.parseSkillExportArchiveManifest (cyclomatic 22): convexProxy.parseSkillExportArchiveManifest 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":"server/convexProxy.ts"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"1114897788b92a30619b85bd81217a4928b35c4ffa862264893161700010de18"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillSecurityScanResults.SkillSpectorContent (cyclomatic 22): SkillSecurityScanResults.SkillSpectorContent has cyclomatic complexity 22 (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/components/SkillSecurityScanResults.tsx"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6411217b9c52a6cb434babad66dee279144310f55e33cfc179533febe6d4f04"}},{"ruleId":"D1","level":"warning","message":{"text":"PackageSourceChooser.PackageSourceChooser (cyclomatic 22): PackageSourceChooser.PackageSourceChooser 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/components/PackageSourceChooser.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbd1927ecd88c47f2e58b07c3fa17884b6cf3ffb90e2f74ea8730a2884fe7858"}},{"ruleId":"D1","level":"warning","message":{"text":"skillDetailUtils.formatConfigSnippet (cyclomatic 22): skillDetailUtils.formatConfigSnippet 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":"src/components/skillDetailUtils.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"97ae4c911eee76460e5dbbb806357464a327b2b01672a14a960ad5c40c55d820"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillDetailPage.buildStaffVisibilityAlert (cyclomatic 22): SkillDetailPage.buildStaffVisibilityAlert has cyclomatic complexity 22 (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/components/SkillDetailPage.tsx"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"f751621e243ab998f6cd70d01f0b97675bbfa3111f8a67ead56ffcfff7ef7105"}},{"ruleId":"D1","level":"warning","message":{"text":"DownloadsPage.DownloadsPage (cyclomatic 22): DownloadsPage.DownloadsPage has cyclomatic complexity 22 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 5 belong to 4 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/-management/DownloadsPage.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"2757e77b54c5e2685c158ff6885aca658fcf1e1242c3a39ef094db1ae6585cda"}},{"ruleId":"D1","level":"warning","message":{"text":"index.parseFrontmatterLevelDeclarations (cyclomatic 21): index.parseFrontmatterLevelDeclarations 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":"convex/lib/skills/index.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c3cf83ee61adf33ea08e530892cc4b6faf2bebf1fca0751ac16371717768c1f"}},{"ruleId":"D1","level":"warning","message":{"text":"githubSkillSync.parseSkillsShDisplayManifest (cyclomatic 21): githubSkillSync.parseSkillsShDisplayManifest has cyclomatic complexity 21 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 9 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/githubSkillSync.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"a98ffe42663863e6dcb267c22120e4f033ec701576e7af6189f266fafb1083a8"}},{"ruleId":"D1","level":"warning","message":{"text":"githubSkillSync.buildGitHubSkillSyncPlan (cyclomatic 21): githubSkillSync.buildGitHubSkillSyncPlan 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":"convex/lib/githubSkillSync.ts"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ec90559ad177a80c9b63678e8d3a7c60f7fb406f578ed2de5118b13744aebd0"}},{"ruleId":"D1","level":"warning","message":{"text":"skills.isOwnerInitiatedSkillHideForAdminTransfer (cyclomatic 21): skills.isOwnerInitiatedSkillHideForAdminTransfer has cyclomatic complexity 21 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 8 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":"convex/skills.ts"},"region":{"startLine":11385}}}],"partialFingerprints":{"codehealthFindingId/v1":"6720db142ae697b45d92f10cb861af61de13359c1dbaa96c4c05ee5ff0b6e135"}},{"ruleId":"D1","level":"warning","message":{"text":"githubSkillSync.rollbackGitHubSkillCandidateHandler (cyclomatic 21): githubSkillSync.rollbackGitHubSkillCandidateHandler 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":"convex/githubSkillSync.ts"},"region":{"startLine":2069}}}],"partialFingerprints":{"codehealthFindingId/v1":"505d9f04d94c182a33223c23c8f912f69bff41a472a9576dc1c2c963ec06db0f"}},{"ruleId":"D1","level":"warning","message":{"text":"packageInspectorHttp.packageInspectorClaimHttp (cyclomatic 21): packageInspectorHttp.packageInspectorClaimHttp has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/packageInspectorHttp.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"4370055dee8ee32369b75203f809749212020cdefd3659f7dfa99a37938988eb"}},{"ruleId":"D1","level":"warning","message":{"text":"skillCardClaims.admitSkillCardClaims (cyclomatic 21): skillCardClaims.admitSkillCardClaims 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":"convex/lib/skillCardClaims.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"696df88a85683d79f678fc7a8fb7befe8caff76755825c90f8f18bffaea9b054"}},{"ruleId":"D1","level":"warning","message":{"text":"skills.readSkillOrigin (cyclomatic 21): skills.readSkillOrigin has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/skills.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"119869af9eb72c40a8df9f225169c1c3dffa937891d91368c018bc2cb056b8e7"}},{"ruleId":"D1","level":"warning","message":{"text":"skillsShCatalogSource.resolveSkillsShMirrorGitHubLocators (cyclomatic 21): skillsShCatalogSource.resolveSkillsShMirrorGitHubLocators has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 1 of the 21 points is its own statement and the rest belongs to 4 function literals inside it that branch (lines 1197, 1218, 1244, \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":"server/skillsShCatalogSource.ts"},"region":{"startLine":1177}}}],"partialFingerprints":{"codehealthFindingId/v1":"8692c63d7a6d8ca97518d462a28a5016dda08003aa59dd9ec297277b7849b2c1"}},{"ruleId":"D1","level":"warning","message":{"text":"skillsShCatalogSource.fetchSkillsShMirrorBatch (cyclomatic 21): skillsShCatalogSource.fetchSkillsShMirrorBatch has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 9 of the 21 points are its own statements and the rest belongs to 2 function items inside it that branch (a function literal at line 2262, monitoredFetch). 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":"server/skillsShCatalogSource.ts"},"region":{"startLine":2193}}}],"partialFingerprints":{"codehealthFindingId/v1":"7455fb3da09e3b9c91b85d471e9b7349a755df4c21a3d8943aee61807956c66c"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillListingRow.SkillListingRow (cyclomatic 21): SkillListingRow.SkillListingRow 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/components/SkillListingRow.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"93e262b8d409e3179a50e3e2242372af9148016f485ad31caf0f8745a0ce9d77"}},{"ruleId":"D1","level":"warning","message":{"text":"HomePopularPublishersSection.HomePopularPublishersSection (cyclomatic 21): HomePopularPublishersSection.HomePopularPublishersSection has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 3 of the 21 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 61, handlePointerMove, handlePointerDown, \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/HomePopularPublishersSection.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c8712f534a6ac15965fd82c91d8307190dcfb1a528d1b2bac65f08b04b90471"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillOwnershipPanel.SkillOwnershipPanel (cyclomatic 21): SkillOwnershipPanel.SkillOwnershipPanel has cyclomatic complexity 21 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 9 belong to 4 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/SkillOwnershipPanel.tsx"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"18094f29bb576a968c5b13d1b96ba3c343dd469d9fe3e62a56f89727b236183e"}},{"ruleId":"D1","level":"warning","message":{"text":"PromotionsPage.parseForm (cyclomatic 21): PromotionsPage.parseForm 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/routes/-management/PromotionsPage.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d092260c19860e0ea7b1cef85ef1f6b938dc979f3b78494cb72829a79212dc6"}},{"ruleId":"D1","level":"warning","message":{"text":"index.loadPluginsPageData (cyclomatic 21): index.loadPluginsPageData 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/routes/plugins/index.tsx"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"727c7da88a2c6aa6eae57fc72ab4d354f173d7f1ccdf45d8b89ff26097036266"}},{"ruleId":"D1","level":"warning","message":{"text":"security-audit.SkillSecurityAuditRoutePage (cyclomatic 21): security-audit.SkillSecurityAuditRoutePage has cyclomatic complexity 21 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/$owner/$slug/security-audit.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"27c05ff1e75f79e745ca04f9c7744a02e7ad3f6e44ac3dba6e9caeeffe3e944a"}},{"ruleId":"D1","level":"warning","message":{"text":"shared.parseMultipartPublish (cyclomatic 20): shared.parseMultipartPublish has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/shared.ts"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"07e8e8e69569cfaba80580afdf7c207326f97996906c82b5a6f33216a84865e0"}},{"ruleId":"D1","level":"warning","message":{"text":"packageCatalogRead.packageMatchesListFilters (cyclomatic 20): packageCatalogRead.packageMatchesListFilters has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/packageCatalogRead.ts"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"b85a610c6a721d92e78fa31051a8bb66cc956f21c3c5a6144eae790a2a6b0ecc"}},{"ruleId":"D1","level":"warning","message":{"text":"packagesV1.buildPackageReadiness (cyclomatic 20): packagesV1.buildPackageReadiness has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":4598}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ae2d0f972fc4d439c5e52b0499f92579946a6343bf9c171aa019411b5a5b5e8"}},{"ruleId":"D1","level":"warning","message":{"text":"skillsShCatalogV1.verifyControlledCanaryGitHubSource (cyclomatic 20): skillsShCatalogV1.verifyControlledCanaryGitHubSource has cyclomatic complexity 20 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/skillsShCatalogV1.ts"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e913a73f92f155562f84e9ca5163474909aed527a9e797998750b852646d621"}},{"ruleId":"D1","level":"warning","message":{"text":"skillsV1.parseSecurityVerdictItems (cyclomatic 20): skillsV1.parseSecurityVerdictItems 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":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"00d53f9be020fce6c0e2a4f4b4f9becadf66e0040e8ac142821e912ab58eacbc"}},{"ruleId":"D1","level":"warning","message":{"text":"skillsV1.parseListSort (cyclomatic 20): skillsV1.parseListSort has cyclomatic complexity 20 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":1401}}}],"partialFingerprints":{"codehealthFindingId/v1":"4986c9f262c1eb4d3af6492a7d23543261440fc4969d5156277419c88b368d4a"}},{"ruleId":"D1","level":"warning","message":{"text":"publisherAbuseScoring.classifySkillTemporalAbuseScore (cyclomatic 20): publisherAbuseScoring.classifySkillTemporalAbuseScore has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/publisherAbuseScoring.ts"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a74edfe84571ecf9607ceb4a55027c122e2ae14ecfedd005d0bcc6fd3a026f4"}},{"ruleId":"D1","level":"warning","message":{"text":"maintenance.backfillSkillSummariesInternalHandler (cyclomatic 20): maintenance.backfillSkillSummariesInternalHandler 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":"convex/maintenance.ts"},"region":{"startLine":1057}}}],"partialFingerprints":{"codehealthFindingId/v1":"3252d046da20a89146b1c769e196424bc47e9edc149192450ea933bc0d90ae15"}},{"ruleId":"D1","level":"warning","message":{"text":"migrations.classifySuspiciousPublishAttemptPublicState (cyclomatic 20): migrations.classifySuspiciousPublishAttemptPublicState has cyclomatic complexity 20 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/migrations.ts"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"38a0c082fcac0660767fa3f47ec644c04bd62391116e9d9e167ae47b41c8b7fa"}},{"ruleId":"D1","level":"warning","message":{"text":"migrations.buildCanonicalCatalogMetadataPatch (cyclomatic 20): migrations.buildCanonicalCatalogMetadataPatch has cyclomatic complexity 20 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/migrations.ts"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"77346fd29ade4a9f1a97b389b3796e720140c610893371ee2327f4cb7a0d922e"}},{"ruleId":"D1","level":"warning","message":{"text":"skillsShCatalog.cancelAttempt (cyclomatic 20): skillsShCatalog.cancelAttempt 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":"convex/skillsShCatalog.ts"},"region":{"startLine":2952}}}],"partialFingerprints":{"codehealthFindingId/v1":"742f181483edb0a3bd474daf2dbe32b812e980ccb191e49d2d5948f4036620c1"}},{"ruleId":"D1","level":"warning","message":{"text":"users.computeEnsureUpdates (cyclomatic 20): users.computeEnsureUpdates has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/users.ts"},"region":{"startLine":957}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cb5983a2d264f5d0a283dd05544f50c5509e8af6bbe7c698dc846e336b21376"}},{"ruleId":"D1","level":"warning","message":{"text":"users.getSelfDeletedAccountEligibility (cyclomatic 20): users.getSelfDeletedAccountEligibility has cyclomatic complexity 20 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/users.ts"},"region":{"startLine":1200}}}],"partialFingerprints":{"codehealthFindingId/v1":"827c9aa392d04b8c2209a291931bbc59837de2126607f91cd9a644f3e52dedd8"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillCard.SkillCard (cyclomatic 20): SkillCard.SkillCard has cyclomatic complexity 20 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/SkillCard.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"966e5be4ab4c6333c5e3f4d2c13ea8fdce7cd05c8b8fa2039203ffa1482ec797"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillCardPreview.SkillCardPreview (cyclomatic 20): SkillCardPreview.SkillCardPreview has cyclomatic complexity 20 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 6 belong to 4 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/SkillCardPreview.tsx"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddc5367add55e59302c82e9de462b834a206d2b31f2579dd65d4fa41267a756c"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillInstallCard.buildSkillInstallTabs (cyclomatic 20): SkillInstallCard.buildSkillInstallTabs has cyclomatic complexity 20 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/SkillInstallCard.tsx"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"af04aed21bf74be1efde0531efb843da34bea0a2e396e0870dcb8258d504d2e6"}},{"ruleId":"D1","level":"warning","message":{"text":"PromotionsPage.PromotionsPage (cyclomatic 20): PromotionsPage.PromotionsPage has cyclomatic complexity 20 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 8 belong to 4 function items inside it that branch. To reduce it, 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/routes/-management/PromotionsPage.tsx"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cacc324d398ca7b50d43190b96c6daf61a6ba1e48275d018fbc481d1c250b6a"}},{"ruleId":"D1","level":"warning","message":{"text":"verifiedClientIp.getVerifiedClientIp (cyclomatic 19): verifiedClientIp.getVerifiedClientIp has cyclomatic complexity 19 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/verifiedClientIp.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"eda3a35564be9e3f355de385bbc92b900ffd8892845cc5b404ca8ad7a700dcec"}},{"ruleId":"D1","level":"warning","message":{"text":"githubImport.parseGitHubImportUrl (cyclomatic 19): githubImport.parseGitHubImportUrl has cyclomatic complexity 19 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: 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":"convex/lib/githubImport.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3c6712538d5ae44649957eb52e186a6507b092f673f87d70c3cb3d1de0fe92f"}},{"ruleId":"D1","level":"warning","message":{"text":"packageSdkUsage.recordPackageInspectorScan (cyclomatic 19): packageSdkUsage.recordPackageInspectorScan 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":"convex/lib/packageSdkUsage.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"45d2d3f56b122783b01e38cf6f8673342349a34cb65b50d1c0161ffb62b860b9"}},{"ruleId":"D1","level":"warning","message":{"text":"packages.buildPackageTopicDigestQuery (cyclomatic 19): packages.buildPackageTopicDigestQuery has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/packages.ts"},"region":{"startLine":1793}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d7c57d6230389f4e75c5f40bd007649b06c8d08068973ca5cb47c2e10e8264c"}},{"ruleId":"D1","level":"warning","message":{"text":"skillQuality.evaluateQuality (cyclomatic 19): skillQuality.evaluateQuality 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":"convex/lib/skillQuality.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"059c04eb65506c4398d4c990f6d903b5f0fdb73e3f53152acc3db4dd215f38a6"}},{"ruleId":"D1","level":"warning","message":{"text":"skills.listSkillTopicFilteredPage (cyclomatic 19): skills.listSkillTopicFilteredPage has cyclomatic complexity 19 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 2 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skills.ts"},"region":{"startLine":5019}}}],"partialFingerprints":{"codehealthFindingId/v1":"385a8137427fd57dd6260bbced81649efe7fa7c7d7040f7afad25dae4727bc73"}},{"ruleId":"D1","level":"warning","message":{"text":"githubSkillSync.fetchPublicGitHubRepoMetadata (cyclomatic 19): githubSkillSync.fetchPublicGitHubRepoMetadata has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/githubSkillSync.ts"},"region":{"startLine":3130}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7d8264af0b99a6c0c23d9d760758f052ff124637bc02b2bb3d008d0022790b7"}},{"ruleId":"D1","level":"warning","message":{"text":"skillsShCatalogV1.storeArtifactFiles (cyclomatic 19): skillsShCatalogV1.storeArtifactFiles 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":"convex/httpApiV1/skillsShCatalogV1.ts"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"c613def3069505128d99f3d574157d64f08dcc40482c87a2728335801c842472"}},{"ruleId":"D1","level":"warning","message":{"text":"skillsV1.handleTransferRequest (cyclomatic 19): skillsV1.handleTransferRequest has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":2736}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a26f3195a93eb5d3fd013da4fc98df38c7c75b44d57ceeb7af352d4070dbce5"}},{"ruleId":"D1","level":"warning","message":{"text":"publisherAbuseTemporalScan.getOrStartScheduledTemporalScanInternalHandler (cyclomatic 19): publisherAbuseTemporalScan.getOrStartScheduledTemporalScanInternalHandler has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/publisherAbuseTemporalScan.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"f92b3e32616b1a93958045fa7282b80c6e946b558a15cdf371f63f1ffd797aa4"}},{"ruleId":"D1","level":"warning","message":{"text":"securityScan.requestSkillRescanForActor (cyclomatic 19): securityScan.requestSkillRescanForActor 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":"convex/securityScan.ts"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"95209acd9eb85bebbb6746968e35c9213cfeaa523fec78ee455619c738fb4037"}},{"ruleId":"D1","level":"warning","message":{"text":"securityScan.enqueuePackageReleaseScan (cyclomatic 19): securityScan.enqueuePackageReleaseScan has cyclomatic complexity 19 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/securityScan.ts"},"region":{"startLine":2654}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b22b697ca09cdc6363cabc8f117b77c4b8fada1ee9f9b8d0dfa939d1b03262"}},{"ruleId":"D1","level":"warning","message":{"text":"securityScan.prepareCatalogRetry (cyclomatic 19): securityScan.prepareCatalogRetry has cyclomatic complexity 19 (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":"convex/securityScan.ts"},"region":{"startLine":3182}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b51377b9ca6f7e7449587253cca717b233a3fc673e2608686c29710e37f18e3"}},{"ruleId":"D1","level":"warning","message":{"text":"skills.cmdSearch (cyclomatic 19): skills.cmdSearch has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 7 of the 19 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 313, 347). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/skills.ts"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"fde983d09e445996460194fec14ef6f31bb000113fa84bc4ef11d1975a23e28f"}},{"ruleId":"D1","level":"warning","message":{"text":"skills.resolveExploreSort (cyclomatic 19): skills.resolveExploreSort has cyclomatic complexity 19 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/skills.ts"},"region":{"startLine":1391}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ace1a662ab4112d5964e8fd2784b9d2b4e83f80d3134b2349a40493386dddb6"}},{"ruleId":"D1","level":"warning","message":{"text":"inspect.cmdVerifySkill (cyclomatic 19): inspect.cmdVerifySkill has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 9 of the 19 points are its own statements and the rest belongs to one function literal inside it that branches (line 310). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/inspect.ts"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bceaeb3f13bc5acc67f6852653abdac68a04aebcce9157be08796f8ad314838"}},{"ruleId":"D1","level":"warning","message":{"text":"cli.findFirstTopLevelOperand (cyclomatic 19): cli.findFirstTopLevelOperand 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":"packages/clawhub/src/cli.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a4fd6fb3fa2a7e052d798b888c559f3a5d2c4007e3766e20a91599d28b4c92f"}},{"ruleId":"D1","level":"warning","message":{"text":"skillsShCatalogSource.validateSkillsShCatalogGitHubOwnerProof (cyclomatic 19): skillsShCatalogSource.validateSkillsShCatalogGitHubOwnerProof has cyclomatic complexity 19 (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":"server/skillsShCatalogSource.ts"},"region":{"startLine":2616}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee71d49be98a7f18ecf7b96b756e2483f6b431c27b584051cdf36d3b4e89ec7f"}},{"ruleId":"D1","level":"warning","message":{"text":"registryOgSvg.wrapText (cyclomatic 19): registryOgSvg.wrapText has cyclomatic complexity 19 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 6 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/og/registryOgSvg.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"88fba8405bceacd7e9fc870dbad698d18b026a235c822dea42235b64b6ed808b"}},{"ruleId":"D1","level":"warning","message":{"text":"CatalogTopicInput.CatalogTopicInput (cyclomatic 19): CatalogTopicInput.CatalogTopicInput has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 7 of the 19 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 148, commitDraft, a function literal at line 98, \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/CatalogTopicInput.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ac2fb53964b984a7f5e94c50f5cadc2f8b9a35bfe39816adbb7696fba7145f"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillDiffCard.applyMonacoTheme (cyclomatic 19): SkillDiffCard.applyMonacoTheme has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/SkillDiffCard.tsx"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb2b37bf50ed0ff72def97e4d7906d201f75a1ea84ce6cf187aa989ea52ee6e4"}},{"ruleId":"D1","level":"warning","message":{"text":"DashboardDownloadsInsights.DashboardDownloadsInsights (cyclomatic 19): DashboardDownloadsInsights.DashboardDownloadsInsights has cyclomatic complexity 19 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 5 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/components/dashboard/DashboardDownloadsInsights.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a648e5346e8a3da9de7d2a8c30738eef3d0ae2018b706c0fd644ec2595ef20c"}},{"ruleId":"D1","level":"warning","message":{"text":"DashboardNeedsAttention.DashboardNeedsAttention (cyclomatic 19): DashboardNeedsAttention.DashboardNeedsAttention has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 7 of the 19 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 145, 83, 105, \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/dashboard/DashboardNeedsAttention.tsx"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"df5ec61c6e116044d6c58e6bab643f036d9e64dabd435eb53ec461813e5bb8d0"}},{"ruleId":"D1","level":"warning","message":{"text":"AbusePage.PublisherTemporalEvidence (cyclomatic 19): AbusePage.PublisherTemporalEvidence has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 5 of the 19 points are its own statements and the rest belongs to one function literal inside it that branches (line 1393). 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/routes/-management/AbusePage.tsx"},"region":{"startLine":1366}}}],"partialFingerprints":{"codehealthFindingId/v1":"a521e650399bdc637e7319c7b284a7238cf49c3b48ad77b6fbbec1ac2330c8ee"}},{"ruleId":"D1","level":"warning","message":{"text":"packageSecurity.resolvePackageReleaseScanStatus (cyclomatic 18): packageSecurity.resolvePackageReleaseScanStatus 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":"convex/lib/packageSecurity.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"53604464c20ca68a7e443bc223354709769cf98ded5430e3b3ab0d4134b9718a"}},{"ruleId":"D1","level":"warning","message":{"text":"clawpack.parseTarEntries (cyclomatic 18): clawpack.parseTarEntries has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/clawpack.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff6351e0346806b076ef819d9766d718d7c752f377d2edae99f98597e08b32c2"}},{"ruleId":"D1","level":"warning","message":{"text":"packageCatalogRead.digestMatchesFilters (cyclomatic 18): packageCatalogRead.digestMatchesFilters has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/packageCatalogRead.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b8d612c9e435a48ce80ede77368b9b761919b42af5574cf4ee63bf6ef330ce1"}},{"ruleId":"D1","level":"warning","message":{"text":"packages.toPublicPackage (cyclomatic 18): packages.toPublicPackage 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":"convex/packages.ts"},"region":{"startLine":939}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f52844a3f207a0062eab3e8b3ef6017a0af410ec536a2c1bd241495470257c1"}},{"ruleId":"D1","level":"warning","message":{"text":"featuredArtifacts.readSkill (cyclomatic 18): featuredArtifacts.readSkill 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":"convex/featuredArtifacts.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"163e85c99e477c1f691fb1f199b533efc927d5cac13e338f6fcef7dcbe99560e"}},{"ruleId":"D1","level":"warning","message":{"text":"skills.updateSkillTagsForActor (cyclomatic 18): skills.updateSkillTagsForActor has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skills.ts"},"region":{"startLine":8526}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bfde41fdcdd9db5ba3170f17851342a9ae0ca880b9e0e239194028c7fcd5cac"}},{"ruleId":"D1","level":"warning","message":{"text":"githubSkillSync.ensureRetainedCurrentGitHubSkillCandidate (cyclomatic 18): githubSkillSync.ensureRetainedCurrentGitHubSkillCandidate has cyclomatic complexity 18 (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":"convex/githubSkillSync.ts"},"region":{"startLine":1664}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a00e391d6d8fae6e95caec6f542d96b08da11f094fdb29f68b5562a8aa3cb2c"}},{"ruleId":"D1","level":"warning","message":{"text":"canonicalSkillSearchResponse.serializeCanonicalSkillSearchResults (cyclomatic 18): canonicalSkillSearchResponse.serializeCanonicalSkillSearchResults has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 1 of the 18 points is its own statement and the rest belongs to one function literal inside it that branches (line 38). 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":"convex/lib/canonicalSkillSearchResponse.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e9b22d2aec4f748776d6e56cfbc18ecebc5b039f8210b950a690db83f3c43d2"}},{"ruleId":"D1","level":"warning","message":{"text":"packagePublishRecoveryV1.recoverPackagePublishAttemptV1Handler (cyclomatic 18): packagePublishRecoveryV1.recoverPackagePublishAttemptV1Handler has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/packagePublishRecoveryV1.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd218b6439cf3a06b645c54adaa548cbe2bcbad85708fac398e79052ef4cdff1"}},{"ruleId":"D1","level":"warning","message":{"text":"packagesV1.packagesDeleteRouterV1Handler (cyclomatic 18): packagesV1.packagesDeleteRouterV1Handler has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":3321}}}],"partialFingerprints":{"codehealthFindingId/v1":"51979dfd5168cc3260d2d025a55220604d1bca9ce954a0323a5d70d706d10592"}},{"ruleId":"D1","level":"warning","message":{"text":"securityPrompt.parseAgenticRiskFindings (cyclomatic 18): securityPrompt.parseAgenticRiskFindings has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/securityPrompt.ts"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c412b74b4fa8993154fa7d807bfed043efa3673d66702b47385110cff772423"}},{"ruleId":"D1","level":"warning","message":{"text":"usersV1.handleAdminReserve (cyclomatic 18): usersV1.handleAdminReserve has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/usersV1.ts"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8129579ac67940b45ef0100fe90c4c3dfa0c588a5210fbee0045517397c5c22"}},{"ruleId":"D1","level":"warning","message":{"text":"skillBackfill.deepEqual (cyclomatic 18): skillBackfill.deepEqual has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/skillBackfill.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"12aaed8a3224f2ad3ee7df480bff3feb70e8ac6e9c8a5da63ae73bd3d32575fb"}},{"ruleId":"D1","level":"warning","message":{"text":"userSearch.scoreUser (cyclomatic 18): userSearch.scoreUser 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":"convex/lib/userSearch.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"312f9dd69fde2474be80caf47bdb9bac6dfa95d8eb1224966b915e89ddd6ec40"}},{"ruleId":"D1","level":"warning","message":{"text":"publisherAbuseDevSeed.clearDemoRows (cyclomatic 18): publisherAbuseDevSeed.clearDemoRows has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/publisherAbuseDevSeed.ts"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dd8d21682ce2304a5a6ccb34edfa3e49bdc50d46c6895632e84c7a0f3f7de96"}},{"ruleId":"D1","level":"warning","message":{"text":"moderation.cmdReclassifyBan (cyclomatic 18): moderation.cmdReclassifyBan has cyclomatic complexity 18 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/moderation.ts"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"a51a160ee651cd42adeecc909cb049a0f026909b9b6dd35ec1aab9ce4b3d3ae3"}},{"ruleId":"D1","level":"warning","message":{"text":"skillsShCatalogSource.buildSkillsShMirrorUpstreamScanners (cyclomatic 18): skillsShCatalogSource.buildSkillsShMirrorUpstreamScanners has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/skillsShCatalogSource.ts"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e7bed9758e02007cb938ec02c035d186c6ac4ccf425e6cfacad3a5f30d67a0d"}},{"ruleId":"D1","level":"warning","message":{"text":"convexProxy.proxyConvexRequest (cyclomatic 18): convexProxy.proxyConvexRequest has cyclomatic complexity 18 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions. This is NOT this file\u0027s highest cyclomatic complexity: convexProxy.isMergedExportManifestEntry (cyclomatic 19) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/convexProxy.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"97579e04db46e42435f39572e068d33cb7ab0f051fcb70ae0482dd79ba89aa59"}},{"ruleId":"D1","level":"warning","message":{"text":"BrowseControls.BrowseCategorySelect (cyclomatic 18): BrowseControls.BrowseCategorySelect has cyclomatic complexity 18 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 8 belong to 7 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/BrowseControls.tsx"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"e351628338fee9c7cd507d429bf9ec71717bb5c50a8ed0e3d73cf4ca48ab1dcc"}},{"ruleId":"D1","level":"warning","message":{"text":"googleAnalytics.createGoogleAnalytics.update (cyclomatic 18): googleAnalytics.createGoogleAnalytics.update 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/lib/googleAnalytics.ts"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bb4fcdc18df24b4d52e5c747eb1f28c594ae58dde18e8a804f3fb020d630f6a"}},{"ruleId":"D1","level":"warning","message":{"text":"AbusePage.PublisherAbuseSignalInspector (cyclomatic 18): AbusePage.PublisherAbuseSignalInspector has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/-management/AbusePage.tsx"},"region":{"startLine":993}}}],"partialFingerprints":{"codehealthFindingId/v1":"7df8ba5e5471369b8a613ea9b486ffd054a956f75a81a407a729bd4e83aa688c"}},{"ruleId":"D1","level":"warning","message":{"text":"functions.repointPackageLatestRelease (cyclomatic 17): functions.repointPackageLatestRelease has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/functions.ts"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"64ed86f3aa0686e591bb2cdea96795cde6722e5903c68c149a36002cd84cf0fe"}},{"ruleId":"D1","level":"warning","message":{"text":"skillZip.buildOrderedZipStream::advance (cyclomatic 17): skillZip.buildOrderedZipStream::advance 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":"convex/lib/skillZip.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e5f2f757ce7be967eabd7eca6db85eb157f5deedf3d7b426acf672657bab60f"}},{"ruleId":"D1","level":"warning","message":{"text":"packagePageCursor.decodePublicPageCursor (cyclomatic 17): packagePageCursor.decodePublicPageCursor has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/packagePageCursor.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"1607fd09970a71bbf78293edafefcd20017056c9900f7cbabdbec3b030757939"}},{"ruleId":"D1","level":"warning","message":{"text":"pluginCategoryClassification.classifyPluginCategories (cyclomatic 17): pluginCategoryClassification.classifyPluginCategories has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/pluginCategoryClassification.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc6eac2ef50f1725e7cfb56be32be1a8c7d28238ede1c60887f0cc92b9d24c6c"}},{"ruleId":"D1","level":"warning","message":{"text":"skills.resolveDigestLatestVersionForSkill (cyclomatic 17): skills.resolveDigestLatestVersionForSkill has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skills.ts"},"region":{"startLine":5354}}}],"partialFingerprints":{"codehealthFindingId/v1":"e239fc2453b1210387a72238b48f7e2fb1fadfd71265bdcd25cc2c8844c6beed"}},{"ruleId":"D1","level":"warning","message":{"text":"skills.revokeSkillVersionForUser (cyclomatic 17): skills.revokeSkillVersionForUser has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skills.ts"},"region":{"startLine":8022}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea34d3c8be3d16681b58e46c024dee634c8c9dcfc6f668804d78afa01eb008cc"}},{"ruleId":"D1","level":"warning","message":{"text":"httpRouteRateLimit.resolveDefaultRouteRateLimit (cyclomatic 17): httpRouteRateLimit.resolveDefaultRouteRateLimit has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/httpRouteRateLimit.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b0bcc72b050bc33981e80893822ca625f0fb1f013489b8a4309ba0ab6c641dd"}},{"ruleId":"D1","level":"warning","message":{"text":"promotionsV1.promotionsPostRouterV1Handler (cyclomatic 17): promotionsV1.promotionsPostRouterV1Handler has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/promotionsV1.ts"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a2c97a836079904cd2c840f55c4774fa6ae7f8ac1e251efcb66ec853b95ec78"}},{"ruleId":"D1","level":"warning","message":{"text":"skillsV1.skillScanGetRouterV1Handler (cyclomatic 17): skillsV1.skillScanGetRouterV1Handler 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":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":1200}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d11d86068eca5187e8ef3056c9bf0223ca052eabe15b1974d1066f6f13c0301"}},{"ruleId":"D1","level":"warning","message":{"text":"maintenance.cleanupEmptySkillsInternalHandler (cyclomatic 17): maintenance.cleanupEmptySkillsInternalHandler has cyclomatic complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, 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":"convex/maintenance.ts"},"region":{"startLine":2590}}}],"partialFingerprints":{"codehealthFindingId/v1":"6551ac8adfb38710bceb0073b2422e197ee69f093532ea4e80bcd613e8c297f2"}},{"ruleId":"D1","level":"warning","message":{"text":"publisherAbuseOwnerSynchrony.getPublisherAbuseOwnerSynchronyCandidateInternalHandler (cyclomatic 17): publisherAbuseOwnerSynchrony.getPublisherAbuseOwnerSynchronyCandidateInternalHandler 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":"convex/publisherAbuseOwnerSynchrony.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"e08cd325c97487d52d45d57d747afa96ebcc6efaabeafb829f7d3da20cd7ee0b"}},{"ruleId":"D1","level":"warning","message":{"text":"publishers.ensureOrgPublisherHandleWithActor (cyclomatic 17): publishers.ensureOrgPublisherHandleWithActor 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":"convex/publishers.ts"},"region":{"startLine":1349}}}],"partialFingerprints":{"codehealthFindingId/v1":"897e4a48230eb82648bbccadb6ad7fc2e32b1382dd59604e7912566fee2f03fd"}},{"ruleId":"D1","level":"warning","message":{"text":"packages.waitForPackagePublication (cyclomatic 17): packages.waitForPackagePublication has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/packages.ts"},"region":{"startLine":1248}}}],"partialFingerprints":{"codehealthFindingId/v1":"67c2d8c38b007899c92e92ca0d567f0b4321a410051a894c5bc6d03963208635"}},{"ruleId":"D1","level":"warning","message":{"text":"packages.buildSource (cyclomatic 17): packages.buildSource has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/packages.ts"},"region":{"startLine":3057}}}],"partialFingerprints":{"codehealthFindingId/v1":"7185c6d9a4746d6b9405f04c182cafc048785ca3805eead62398ef150f163bc2"}},{"ruleId":"D1","level":"warning","message":{"text":"skills.readSkillsShResolverMetadata (cyclomatic 17): skills.readSkillsShResolverMetadata has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/skills.ts"},"region":{"startLine":1527}}}],"partialFingerprints":{"codehealthFindingId/v1":"54631de6fc3b8c4431ac8f67ee7683f6d370d8e6f55c8c9cf3c039381cf5c7fe"}},{"ruleId":"D1","level":"warning","message":{"text":"moderation.cmdRecoverPersonalPublisher (cyclomatic 17): moderation.cmdRecoverPersonalPublisher has cyclomatic complexity 17 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/moderation.ts"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fec32cb948a1ae525a74e21e04ec9cb5085f32026355bee6654cf6af7098425"}},{"ruleId":"D1","level":"warning","message":{"text":"SecurityAuditPage.AigFindingCard (cyclomatic 17): SecurityAuditPage.AigFindingCard has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/SecurityAuditPage.tsx"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff556db5842e0168c06fff975319cd393591de6b76ae9a2b5bbc6136f836f210"}},{"ruleId":"D1","level":"warning","message":{"text":"SecurityAuditPage.SecurityAuditPage (cyclomatic 17): SecurityAuditPage.SecurityAuditPage 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":"src/components/SecurityAuditPage.tsx"},"region":{"startLine":1114}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b4c3fe468961bac8774714a843506748e8cb03595f595f9b1b92a516b9ac26f"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillDiffCard.cssColor4ToHex (cyclomatic 17): SkillDiffCard.cssColor4ToHex 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":"src/components/SkillDiffCard.tsx"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a50625e8f4532261e4ba4d4414f7b860e385101eea19a1a4fe34e25822d797"}},{"ruleId":"D1","level":"warning","message":{"text":"artifactStatus.skillArtifactStatus (cyclomatic 17): artifactStatus.skillArtifactStatus has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/artifacts/artifactStatus.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"408deef8bd435ed26d8d1410513c1572d1054308188b883346f1d65c1e8acf38"}},{"ruleId":"D1","level":"warning","message":{"text":"DashboardDownloadsInsights.Sparkline (cyclomatic 17): DashboardDownloadsInsights.Sparkline has cyclomatic complexity 17 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/dashboard/DashboardDownloadsInsights.tsx"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"604d82808bc05467623dd78eee0eba377f90934dc42c769ca3aa23627ed06862"}},{"ruleId":"D1","level":"warning","message":{"text":"stars.Stars (cyclomatic 17): stars.Stars has cyclomatic complexity 17 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/stars.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4da95ff684b48d7f13bf2e3e4d01daa06ea2a53292ee5b6ec47caea4d4df33f"}},{"ruleId":"D1","level":"warning","message":{"text":"$name.PluginValidationFindingCard (cyclomatic 17): $name.PluginValidationFindingCard has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/plugins/$name.tsx"},"region":{"startLine":876}}}],"partialFingerprints":{"codehealthFindingId/v1":"57ca4dc8ba5e5929f6d769297da80184b20e694908c72e08efc5447b92d3dfc5"}},{"ruleId":"D1","level":"warning","message":{"text":"index.parseInstallSpec (cyclomatic 16): index.parseInstallSpec has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/skills/index.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b4c6bf2251bc4f5c1126efdff36c8161977a961532a6ba6feea4c218eefbfc7"}},{"ruleId":"D1","level":"warning","message":{"text":"clawpack.parseClawPack (cyclomatic 16): clawpack.parseClawPack has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/clawpack.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3d82ddf24573603a57c2ce59f86c82ba312a9bfaa26985f2553c586053814dc"}},{"ruleId":"D1","level":"warning","message":{"text":"openaiResponse.extractResponseText (cyclomatic 16): openaiResponse.extractResponseText 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":"convex/lib/openaiResponse.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf131ccebba3ec0b1092dc9a8e63e47fe8a54c8e5544f64ca495a537091a5d19"}},{"ruleId":"D1","level":"warning","message":{"text":"packagePublishRecovery.assertManualPackagePublisher (cyclomatic 16): packagePublishRecovery.assertManualPackagePublisher has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This is NOT this file\u0027s highest cyclomatic complexity: packagePublishRecovery.assertRecoveryArtifactEligibility (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/packagePublishRecovery.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f6819b0c1d184fd0635cc60a4282b51fd55165d7c7a42c7dac9f285a78a6b6"}},{"ruleId":"D1","level":"warning","message":{"text":"packageSdkUsageContract.normalizeSdkUsageReport (cyclomatic 16): packageSdkUsageContract.normalizeSdkUsageReport has cyclomatic complexity 16 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 4 belong to 2 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/packageSdkUsageContract.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e006723978e961a581c33e8030579ebe4b0de0937bad6d20d8f3bca4e27c8f"}},{"ruleId":"D1","level":"warning","message":{"text":"packages.takeVisiblePackageCategoryDigestPage (cyclomatic 16): packages.takeVisiblePackageCategoryDigestPage has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: packages.reverifyOpenClawAuthorizationEvidence (cyclomatic 17) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/packages.ts"},"region":{"startLine":1925}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd80045f882d8038e5e571300a01942825ee075bf80d537716fbbb36f6355d7a"}},{"ruleId":"D1","level":"warning","message":{"text":"skillFileReadAccess.canReadSkillVersionFiles (cyclomatic 16): skillFileReadAccess.canReadSkillVersionFiles 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":"convex/lib/skillFileReadAccess.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"b12e63380ad72b67b0d8355ff3e4fd32757dcaa6b8374c4417bec08c25872902"}},{"ruleId":"D1","level":"warning","message":{"text":"skills.collectSkillPackageCatalogPage (cyclomatic 16): skills.collectSkillPackageCatalogPage 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":"convex/skills.ts"},"region":{"startLine":5676}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dfd1dc14f3eb02df920598dcfbc7d63ae80e6388b351e2ef2c010eb61b93e2b"}},{"ruleId":"D1","level":"warning","message":{"text":"githubImport.toOwnedPublicRepoListItem (cyclomatic 16): githubImport.toOwnedPublicRepoListItem has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/githubImport.ts"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdec71400585e0eaa84195ff368df3187c0802b649077f7fc37041e396a3a1d3"}},{"ruleId":"D1","level":"warning","message":{"text":"httpApi.cliPublishHandler (cyclomatic 16): httpApi.cliPublishHandler 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":"convex/httpApi.ts"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"2af05ff3325825a6fd86f45edf740fac9082e6a264635f711b43a7683840dc35"}},{"ruleId":"D1","level":"warning","message":{"text":"publishersV1.createPublisherV1Handler (cyclomatic 16): publishersV1.createPublisherV1Handler has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/publishersV1.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"49b297e7a8b86209c68fa122c92ca0987f74da6f39ebd0ba875c6e8e2732ae85"}},{"ruleId":"D1","level":"warning","message":{"text":"searchReportsV1.searchReportsV1Handler (cyclomatic 16): searchReportsV1.searchReportsV1Handler 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":"convex/httpApiV1/searchReportsV1.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cd9803494b2f0b069c2c87f4082e3c2c6522b464f91612315b94af95270e248"}},{"ruleId":"D1","level":"warning","message":{"text":"usersV1.handleAdminReclassifyBan (cyclomatic 16): usersV1.handleAdminReclassifyBan has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/usersV1.ts"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"6de0dadea773edbd0d0cc6938aa39e613ce79386c080887d9e8df268b0dec5e1"}},{"ruleId":"D1","level":"warning","message":{"text":"usersV1.handleAdminEnsurePublisher (cyclomatic 16): usersV1.handleAdminEnsurePublisher has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/usersV1.ts"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e69ae4308d08af100e62f8c545b709e144758abb13111e56a8ec7d96992c14a"}},{"ruleId":"D1","level":"warning","message":{"text":"managedMcpBundle.buildManagedMcpBundle (cyclomatic 16): managedMcpBundle.buildManagedMcpBundle 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":"convex/lib/managedMcpBundle.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5c7ec89954fb5d4dc508d3b030a4eaa18340f4da2432eb7121f13e887d7ef69"}},{"ruleId":"D1","level":"warning","message":{"text":"maintenance.backfillSkillFingerprintsInternalHandler (cyclomatic 16): maintenance.backfillSkillFingerprintsInternalHandler has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, 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":"convex/maintenance.ts"},"region":{"startLine":1952}}}],"partialFingerprints":{"codehealthFindingId/v1":"514e9ab1055d05dd978d40bb446d2c6542ac182f25ab0afce34af5bb5ad3f506"}},{"ruleId":"D1","level":"warning","message":{"text":"maintenance.repairSkillLineageCyclesInternalHandler (cyclomatic 16): maintenance.repairSkillLineageCyclesInternalHandler 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":"convex/maintenance.ts"},"region":{"startLine":3613}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8fd9fcbe15f52bab445193331ee6e9bf34a3c28cc88d7af47424200750fd8d2"}},{"ruleId":"D1","level":"warning","message":{"text":"publisherAbuse.publisherSkillMetricsForScoring (cyclomatic 16): publisherAbuse.publisherSkillMetricsForScoring has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/publisherAbuse.ts"},"region":{"startLine":2398}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cc6d6bfc54bc6c86dd4532835991670aa442cae96e3828bcdae1377ecf297af"}},{"ruleId":"D1","level":"warning","message":{"text":"publisherAbuseTemporalScan.runScheduledTemporalPublisherAbuseScanInternalHandler (cyclomatic 16): publisherAbuseTemporalScan.runScheduledTemporalPublisherAbuseScanInternalHandler 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":"convex/publisherAbuseTemporalScan.ts"},"region":{"startLine":1061}}}],"partialFingerprints":{"codehealthFindingId/v1":"67997ca47281b8aac76796f91a901bf61b4cd3999f2750a1b0d5596da8a0427e"}},{"ruleId":"D1","level":"warning","message":{"text":"publishers.toPublisherListItem (cyclomatic 16): publishers.toPublisherListItem has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs 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":"convex/publishers.ts"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"967857bf994da794227307e05d23dd56d93e0b1511f3b649fe9e96333edcec33"}},{"ruleId":"D1","level":"warning","message":{"text":"skillsShCatalog.reconcileNativeSkill (cyclomatic 16): skillsShCatalog.reconcileNativeSkill has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: skillsShCatalog.sameFixtureObservation (cyclomatic 19) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skillsShCatalog.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d1b7984b791272eae6613037880f82460b9f1e5012d1d323db7984859cdd235"}},{"ruleId":"D1","level":"warning","message":{"text":"skillsShCatalog.validateRealScanArtifacts (cyclomatic 16): skillsShCatalog.validateRealScanArtifacts has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: skillsShCatalog.sameFixtureObservation (cyclomatic 19) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skillsShCatalog.ts"},"region":{"startLine":2852}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f5bc4e9023dc29c7b43fb3ac640a3773d2991f8c60a125a18dffa732b36c910"}},{"ruleId":"D1","level":"warning","message":{"text":"users.ensurePublisherHandleWithActor (cyclomatic 16): users.ensurePublisherHandleWithActor has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/users.ts"},"region":{"startLine":2243}}}],"partialFingerprints":{"codehealthFindingId/v1":"02a9cb73fbb43626ab9803c099f9e9c01ee684a51bd1ce2fc065d9a9a34b6d82"}},{"ruleId":"D1","level":"warning","message":{"text":"deviceAuth.pollForDeviceToken (cyclomatic 16): deviceAuth.pollForDeviceToken has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/deviceAuth.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"db43ac133bbedc24350d55e36bb5ea0dcef6fed163bd3d588a15b8b8929efba5"}},{"ruleId":"D1","level":"warning","message":{"text":"http.normalizeHttpErrorBody (cyclomatic 16): http.normalizeHttpErrorBody has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/http.ts"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad1363386f153f3b7ea60066024a258c2abea94acb8a96969b60eb4a429c49d3"}},{"ruleId":"D1","level":"warning","message":{"text":"http.formatStructuredHttpError (cyclomatic 16): http.formatStructuredHttpError has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/http.ts"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"4719f6523c53379c3a0bf225574a782b10017af113687068036809ac8d59a406"}},{"ruleId":"D1","level":"warning","message":{"text":"packages.cmdExplorePackages (cyclomatic 16): packages.cmdExplorePackages 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 one function literal inside it that branches (line 325). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/packages.ts"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb276b90013146c4a7e0a2d438eb55f67ba662e49ce8a9ae8fe4a80b8d1f4db"}},{"ruleId":"D1","level":"warning","message":{"text":"packages.cmdValidatePackage (cyclomatic 16): packages.cmdValidatePackage has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/packages.ts"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"2438733f9432fc643a9754788fc4ff26314a2900be7f6e42420b73ddc7fcdf8a"}},{"ruleId":"D1","level":"warning","message":{"text":"packages.cmdVerifyPackage (cyclomatic 16): packages.cmdVerifyPackage 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 one function literal inside it that branches (line 1552). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/packages.ts"},"region":{"startLine":1540}}}],"partialFingerprints":{"codehealthFindingId/v1":"85c05d80e42c6d565d4c9a19f9c1b77b9397a79260e881faf7cf565d48c8869f"}},{"ruleId":"D1","level":"warning","message":{"text":"featured.parseSkillRefOrFail (cyclomatic 16): featured.parseSkillRefOrFail has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/featured.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"39ad7ee1708534ffef98dbb0d5971a5c481320b8f9cca92d29e1514f9e573c4d"}},{"ruleId":"D1","level":"warning","message":{"text":"packages.cmdPackageModerationQueue (cyclomatic 16): packages.cmdPackageModerationQueue has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/packages.ts"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c37b295cf0fc296a94d0549bbf4c0ef75f60fa1113716dd2bdf718fcde853b7"}},{"ruleId":"D1","level":"warning","message":{"text":"packages.cmdUpsertPackageMigration (cyclomatic 16): packages.cmdUpsertPackageMigration has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 4 of the 16 points are its own statements and the rest belongs to one function literal inside it that branches (line 641). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/packages.ts"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"357ad37467cbc09008e779abcba057db290d3af583abc497917b45f663da93c7"}},{"ruleId":"D1","level":"warning","message":{"text":"skillsShCatalogSource.fetchGitHubRepoTreeSnapshot (cyclomatic 16): skillsShCatalogSource.fetchGitHubRepoTreeSnapshot has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/skillsShCatalogSource.ts"},"region":{"startLine":1099}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d3ee83e3f75b82386dcdba40f4862125f242cbb6b11c1630fce16651ca41f4b"}},{"ruleId":"D1","level":"warning","message":{"text":"plugin.png.default (cyclomatic 16): plugin.png.default has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/routes/og/plugin.png.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"caa0afd5e6c52be0a3b7fa40fbcd762364edd0c4d13e2c5a1794b912b52c356c"}},{"ruleId":"D1","level":"warning","message":{"text":"analyticsEvents.analyticsEventParameters (cyclomatic 16): analyticsEvents.analyticsEventParameters 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":"src/lib/analyticsEvents.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8f4a2413df177096ee1dc4f174e1ed1367e689c78df6e8b687f8dad3b033b16"}},{"ruleId":"D1","level":"warning","message":{"text":"googleAnalytics.deferredWorkflow (cyclomatic 16): googleAnalytics.deferredWorkflow has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/googleAnalytics.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"abf079c650663f262fa2952d1906035050b4124aabc03e7c572c54ade820f228"}},{"ruleId":"D1","level":"warning","message":{"text":"SecurityAuditPage.inferSkillSpectorPatternCategory (cyclomatic 16): SecurityAuditPage.inferSkillSpectorPatternCategory has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/SecurityAuditPage.tsx"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"cadbb7bc6518c8f69a4613dd48ebe98bd63968ae2094241f0ce1550e7ad3dd7a"}},{"ruleId":"D1","level":"warning","message":{"text":"docs.DocsAuth (cyclomatic 16): docs.DocsAuth has cyclomatic complexity 16 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, 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/routes/auth/docs.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf6107f00609a107e9f76a45b9e23d4acf10e8ea8af2379aafb1b8f343a761bb"}},{"ruleId":"D1","level":"warning","message":{"text":"-useSkillsBrowseModel.useSkillsBrowseModel.fetchPage (cyclomatic 16): -useSkillsBrowseModel.useSkillsBrowseModel.fetchPage has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, 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/routes/skills/-useSkillsBrowseModel.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"24d6a078329e402cf2103df45ec908570c7a44d62f35a4e6818ee5473c0345e2"}},{"ruleId":"D1","level":"warning","message":{"text":"classifySkill (cyclomatic 16): classifySkill has cyclomatic complexity 16 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 6 belong to 8 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":"convex/lib/catalogClassifier.mjs"},"region":{"startLine":2018}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda4b7149ba15b8720d9ad32e404640ecd44c69632ca713a7f7f749fe739734d"}},{"ruleId":"D2","level":"warning","message":{"text":"skillsV1.skillsGetRouterV1Handler (cognitive 276): skillsV1.skillsGetRouterV1Handler has cognitive complexity 276 (threshold 15). Drivers by points: if/else 75 (154 pts), ternaries 38 (88 pts), boolean chains 34 (nesting depth added 129). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":1761}}}],"partialFingerprints":{"codehealthFindingId/v1":"808e37ee7e2d9975731b77934fdbb1aa9b859a24dcac39f5ad55199b7f996696"}},{"ruleId":"D2","level":"warning","message":{"text":"packagesV1.packagesPostRouterV1Handler (cognitive 258): packagesV1.packagesPostRouterV1Handler has cognitive complexity 258 (threshold 15). Drivers by points: if/else 83 (153 pts), boolean chains 38, ternaries 16 (36 pts), error handling 16 (31 pts) (nesting depth added 105). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":2615}}}],"partialFingerprints":{"codehealthFindingId/v1":"326842d00da8677c2ae4b2c67bfb9b346a622f2a78053ee0af51df743c8c0240"}},{"ruleId":"D2","level":"warning","message":{"text":"skillsV1.skillsPostRouterV1Handler (cognitive 221): skillsV1.skillsPostRouterV1Handler has cognitive complexity 221 (threshold 15). Drivers by points: if/else 62 (116 pts), ternaries 27 (60 pts), error handling 13 (26 pts), boolean chains 19 (nesting depth added 100). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":2926}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea6ba6103ee98a74ee556bbdc882356f0bee23ef066ae7aa18fa2a12c354546e"}},{"ruleId":"D2","level":"warning","message":{"text":"packagesV1.packagesGetRouterV1Handler (cognitive 212): packagesV1.packagesGetRouterV1Handler has cognitive complexity 212 (threshold 15). Drivers by points: if/else 84 (159 pts), boolean chains 26, ternaries 9 (17 pts), error handling 3 (7 pts), loops 1 (3 pts) (nesting depth added 89). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":3777}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c83d71a5d2087e37502f25ace92c599d35d00d1e4c45eae03754e6b2e361805"}},{"ruleId":"D2","level":"warning","message":{"text":"AbusePage.AbusePage (cognitive 201): AbusePage.AbusePage has cognitive complexity 201 (threshold 15). Drivers by points: ternaries 93 (156 pts), boolean chains 35, if/else 7 (10 pts) (nesting depth added 66). Of this number, 170 points are the body\u0027s own statements and 31 belong to 5 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/routes/-management/AbusePage.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7d19a97f16f340503738c37a9e2f1f3d23eb1289e569b95a90c8fa32c686f40"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillDetailPage.SkillDetailPage (cognitive 198): SkillDetailPage.SkillDetailPage has cognitive complexity 198 (threshold 15). Drivers by points: ternaries 74 (96 pts), boolean chains 63, if/else 34 (36 pts), error handling 3 (nesting depth added 24). Of this number, 127 points are the body\u0027s own statements and 71 belong to 28 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/SkillDetailPage.tsx"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed3a069102e1b1720f33b7b1f23a1db7788381d7d58eb5b564c8ab5d7decb7a7"}},{"ruleId":"D2","level":"warning","message":{"text":"publish.PublishPluginRoute (cognitive 196): publish.PublishPluginRoute has cognitive complexity 196 (threshold 15). Drivers by points: ternaries 47 (95 pts), if/else 55 (66 pts), boolean chains 33, error handling 1 (2 pts) (nesting depth added 60). Of this number, 101 points are the body\u0027s own statements and 95 belong to 14 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/routes/plugins/publish.tsx"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"67e2533db7ca63f773be11a58a280b076e1eca5ab598be131844ef2c4395c02a"}},{"ruleId":"D2","level":"warning","message":{"text":"HomeListingSection.HomeListingSection (cognitive 195): HomeListingSection.HomeListingSection has cognitive complexity 195 (threshold 15). Drivers by points: ternaries 56 (117 pts), if/else 35 (56 pts), boolean chains 22 (nesting depth added 82). Of this number, 67 points are the body\u0027s own statements and 128 belong to 23 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/HomeListingSection.tsx"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef3971de8638cab12702af22be515cfbe91541b8ddad719bf12a59be7153cc18"}},{"ruleId":"D2","level":"warning","message":{"text":"packages.listPackagePageImpl (cognitive 193): packages.listPackagePageImpl has cognitive complexity 193 (threshold 15). Drivers by points: if/else 36 (90 pts), ternaries 26 (62 pts), boolean chains 33, loops 3 (8 pts) (nesting depth added 95). Of this number, 174 points are the body\u0027s own statements and 19 belong to 2 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/packages.ts"},"region":{"startLine":3946}}}],"partialFingerprints":{"codehealthFindingId/v1":"300e49d60c6afd75b4617239e75b8ad6b235d3b10c16cd12badbe8956f777bb2"}},{"ruleId":"D2","level":"warning","message":{"text":"settings.Settings (cognitive 191): settings.Settings has cognitive complexity 191 (threshold 15). Drivers by points: ternaries 52 (96 pts), if/else 42 (45 pts), boolean chains 41, error handling 9 (nesting depth added 47). Of this number, 101 points are the body\u0027s own statements and 90 belong to 32 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/routes/settings.tsx"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bfa25c0604171b7fa969ebed25fbeded630ddd4d97b5b88814dd66e858e369f"}},{"ruleId":"D2","level":"warning","message":{"text":"packages.publishPackageImpl (cognitive 186): packages.publishPackageImpl has cognitive complexity 186 (threshold 15). Drivers by points: if/else 56 (102 pts), ternaries 36 (45 pts), boolean chains 32, error handling 4 (5 pts), loops 1 (2 pts) (nesting depth added 57). Of this number, 172 points are the body\u0027s own statements and 14 belong to 5 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/packages.ts"},"region":{"startLine":8052}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfb3e88c59d00753c411525a6aa89a60fa02909bb32fec5caf17e45191c52869"}},{"ruleId":"D2","level":"warning","message":{"text":"skills.cmdUpdate (cognitive 180): skills.cmdUpdate has cognitive complexity 180 (threshold 15). Drivers by points: if/else 45 (104 pts), ternaries 18 (41 pts), boolean chains 32, error handling 1 (2 pts), loops 1 (nesting depth added 83). Of this number, 169 points are the body\u0027s own statements and 11 belong to 4 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/skills.ts"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b0c82588d259195f228765a514aaba2ef0ee08871a7103dd963879e3ab3c369"}},{"ruleId":"D2","level":"warning","message":{"text":"$name.PluginDetailPageContent (cognitive 165): $name.PluginDetailPageContent has cognitive complexity 165 (threshold 15). Drivers by points: ternaries 78 (121 pts), boolean chains 37, if/else 7 (nesting depth added 43). Of this number, 154 points are the body\u0027s own statements and 11 belong to 8 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/routes/plugins/$name.tsx"},"region":{"startLine":1048}}}],"partialFingerprints":{"codehealthFindingId/v1":"4471910cc4a6345c359ce4e7a26c8cd89e22e994c19db25430ac1560a41e87c8"}},{"ruleId":"D2","level":"warning","message":{"text":"import.ImportGitHub (cognitive 151): import.ImportGitHub has cognitive complexity 151 (threshold 15). Drivers by points: ternaries 38 (75 pts), if/else 27 (36 pts), boolean chains 24, loops 10 (11 pts), error handling 4 (5 pts) (nesting depth added 48). Of this number, 80 points are the body\u0027s own statements and 71 belong to 20 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/routes/import.tsx"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"630c54f8ade69c28d1717d06bc29556c7be799b38fae39272f0c49414e75431a"}},{"ruleId":"D2","level":"warning","message":{"text":"templates.validateTemplateManifest (cognitive 144): templates.validateTemplateManifest has cognitive complexity 144 (threshold 15). Drivers by points: if/else 42 (100 pts), loops 13 (21 pts), boolean chains 17, error handling 2 (5 pts), ternaries 1 (nesting depth added 69). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/templates.ts"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a19c2a19e22309a09d33003d5add79c005cd3f92b732c27738a5632e38773e0"}},{"ruleId":"D2","level":"warning","message":{"text":"packagesV1.listPackages (cognitive 142): packagesV1.listPackages has cognitive complexity 142 (threshold 15). Drivers by points: ternaries 27 (56 pts), boolean chains 45, if/else 27 (37 pts), loops 2 (4 pts) (nesting depth added 41). Of this number, 136 points are the body\u0027s own statements and 6 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":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":1159}}}],"partialFingerprints":{"codehealthFindingId/v1":"1835fee8bc58bf7c7632243f204fe4aead411f5d60e7db71aa6b73e92f813a47"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillDiffCard.SkillDiffCard (cognitive 130): SkillDiffCard.SkillDiffCard has cognitive complexity 130 (threshold 15). Drivers by points: ternaries 38 (87 pts), if/else 23 (25 pts), boolean chains 14, loops 3, error handling 1 (nesting depth added 51). Of this number, 73 points are the body\u0027s own statements and 57 belong to 14 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/SkillDiffCard.tsx"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"3818a24f3447a77123c7b905cee6bdfcbfe332c427f535b3ebc226a7643e9c69"}},{"ruleId":"D2","level":"warning","message":{"text":"searchInsights.cmdSearchInsights (cognitive 124): searchInsights.cmdSearchInsights has cognitive complexity 124 (threshold 15). Drivers by points: if/else 38 (66 pts), ternaries 12 (26 pts), loops 7 (21 pts), boolean chains 11 (nesting depth added 56). Of this number, 121 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/searchInsights.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"b503e58a2ad597d1ee2a9585343e46292f42a0315b2a07d43ae103b1f2d48b33"}},{"ruleId":"D2","level":"warning","message":{"text":"$handle.PublisherProfilePage (cognitive 121): $handle.PublisherProfilePage has cognitive complexity 121 (threshold 15). Drivers by points: ternaries 38 (90 pts), boolean chains 19, if/else 11, error handling 1 (nesting depth added 52). Of this number, 101 points are the body\u0027s own statements and 20 belong to 11 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/user/$handle.tsx"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"62b5fe5f9f1a2aa4b5735c473d2f118fb532a2698385163a5db2f843a6f330db"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillDetailPageView.SkillDetailPageView (cognitive 116): SkillDetailPageView.SkillDetailPageView has cognitive complexity 116 (threshold 15). Drivers by points: ternaries 54 (94 pts), boolean chains 21, if/else 1 (nesting depth added 40). Of this number, 107 points are the body\u0027s own statements and 9 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/SkillDetailPageView.tsx"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"b62ef944644d1f2b175bd231d08479d0e11fe68f9e3aeead0fd21a845bd266d4"}},{"ruleId":"D2","level":"warning","message":{"text":"search.UnifiedSearchPage (cognitive 113): search.UnifiedSearchPage has cognitive complexity 113 (threshold 15). Drivers by points: ternaries 34 (87 pts), boolean chains 23, if/else 3 (nesting depth added 53). Of this number, 90 points are the body\u0027s own statements and 23 belong to 5 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/search.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"987810d8f81f1d8a217c8f35fb3ca75852146eba7e995bdcb36a596ccdecf26e"}},{"ruleId":"D2","level":"warning","message":{"text":"skillsV1.exportSkillsV1Handler (cognitive 109): skillsV1.exportSkillsV1Handler has cognitive complexity 109 (threshold 15). Drivers by points: if/else 35 (74 pts), ternaries 8 (15 pts), error handling 5 (7 pts), loops 5 (7 pts), boolean chains 6 (nesting depth added 50). Of this number, 105 points are the body\u0027s own statements and 4 belong to 4 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":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":3531}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6768baf1c475483143ecee4ca699069fefefe6cc4849956d187c29c98189062"}},{"ruleId":"D2","level":"warning","message":{"text":"templateBundled.validateTemplateBundledSources (cognitive 109): templateBundled.validateTemplateBundledSources has cognitive complexity 109 (threshold 15). Drivers by points: if/else 19 (68 pts), ternaries 4 (16 pts), boolean chains 15, loops 4 (10 pts) (nesting depth added 67). Of this number, 99 points are the body\u0027s own statements and 10 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/templateBundled.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca84fe3ef42bbe17b533976af338ff705e010f06ec8f4174249e96c871bbd1fd"}},{"ruleId":"D2","level":"warning","message":{"text":"Header.Header (cognitive 109): Header.Header has cognitive complexity 109 (threshold 15). Drivers by points: ternaries 29 (44 pts), if/else 35 (42 pts), boolean chains 20, loops 3 (nesting depth added 22). Of this number, 46 points are the body\u0027s own statements and 63 belong to 18 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/Header.tsx"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"135cd25f370c5eca4c0022e5f98cd16e01441fa9bd88f0875e396e1f161be45b"}},{"ruleId":"D2","level":"warning","message":{"text":"management.Management (cognitive 108): management.Management has cognitive complexity 108 (threshold 15). Drivers by points: ternaries 56 (62 pts), boolean chains 24, if/else 19 (22 pts) (nesting depth added 9). Of this number, 70 points are the body\u0027s own statements and 38 belong to 21 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/routes/management.tsx"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"661eb625fc886afdd431a90a952d7e92469136e94bc4ec3a709e58bb6e994a89"}},{"ruleId":"D2","level":"warning","message":{"text":"skillsShCatalogV1.skillsShCatalogTestV1Handler (cognitive 106): skillsShCatalogV1.skillsShCatalogTestV1Handler has cognitive complexity 106 (threshold 15). Drivers by points: if/else 56 (69 pts), ternaries 15 (28 pts), error handling 3 (5 pts), boolean chains 4 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/skillsShCatalogV1.ts"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"e22b97570aa25b2f90b16c47d2d3d9667f24ef75efabc20df43864d3776fab40"}},{"ruleId":"D2","level":"warning","message":{"text":"PluginVersionsPanel.PluginVersionsPanel (cognitive 89): PluginVersionsPanel.PluginVersionsPanel has cognitive complexity 89 (threshold 15). Drivers by points: ternaries 15 (48 pts), if/else 18 (22 pts), boolean chains 14, error handling 5 (nesting depth added 37). Of this number, 22 points are the body\u0027s own statements and 67 belong to 8 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/PluginVersionsPanel.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"8450429f0f5c23cd44bac0639d2ed1b42cd5f1499fdef000cf65cad4b12e92cd"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillsPage.SkillsPage (cognitive 87): SkillsPage.SkillsPage has cognitive complexity 87 (threshold 15). Drivers by points: ternaries 18 (67 pts), if/else 4 (16 pts), boolean chains 4 (nesting depth added 61). Most of this is not in the body itself: 7 of the 87 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 134, 183, 333, \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/routes/-management/SkillsPage.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"88f9ce8179c5de0f6a40a403fdb9c9fbafcaa639430061519f9be8987fddddaa"}},{"ruleId":"D2","level":"warning","message":{"text":"publish.Upload (cognitive 84): publish.Upload has cognitive complexity 84 (threshold 15). Drivers by points: ternaries 65 (82 pts), if/else 77 (80 pts), boolean chains 49, error handling 1, loops 1 (nesting depth added 20). 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. This shape REPEATS in the file: one other method here (publish.Upload::handleSubmit) 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/routes/skills/publish.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c39325cc0bed2c21e3d6be2aaae8432742986312ceab97e1d1e7a563f68288c"}},{"ruleId":"D2","level":"warning","message":{"text":"SearchInsightsPage.SearchInsightsPage (cognitive 82): SearchInsightsPage.SearchInsightsPage has cognitive complexity 82 (threshold 15). Drivers by points: ternaries 33 (65 pts), if/else 9, boolean chains 8 (nesting depth added 32). Of this number, 39 points are the body\u0027s own statements and 43 belong to 11 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/routes/-management/SearchInsightsPage.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"c42c7ae297716677378c3024a89eb564044c18febe4cdc8448cd4e09f6706e67"}},{"ruleId":"D2","level":"warning","message":{"text":"packages.preparePackagePublishPlan (cognitive 80): packages.preparePackagePublishPlan has cognitive complexity 80 (threshold 15). Drivers by points: if/else 28 (43 pts), ternaries 18 (21 pts), boolean chains 11, error handling 3 (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":"packages/clawhub/src/cli/commands/packages.ts"},"region":{"startLine":2646}}}],"partialFingerprints":{"codehealthFindingId/v1":"65b36fd4d5b143302f119fbd39ffc8d8c46f4d2ee1ec0bf6d32b06489d3c2b02"}},{"ruleId":"D2","level":"warning","message":{"text":"githubSkillSync.applyGenericGitHubSkillSourceSyncHandler (cognitive 79): githubSkillSync.applyGenericGitHubSkillSourceSyncHandler has cognitive complexity 79 (threshold 15). Drivers by points: if/else 27 (48 pts), boolean chains 20, ternaries 4 (6 pts), loops 3, error handling 1 (2 pts) (nesting depth added 24). Of this number, 78 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/githubSkillSync.ts"},"region":{"startLine":1030}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f5d1b80eb3c0302def49724f9acd0233fb7d43143407585e57822784047e7e"}},{"ruleId":"D2","level":"warning","message":{"text":"skills.searchPackageCatalogImpl (cognitive 76): skills.searchPackageCatalogImpl has cognitive complexity 76 (threshold 15). Drivers by points: if/else 23 (55 pts), loops 4 (9 pts), boolean chains 8, ternaries 2 (4 pts) (nesting depth added 39). 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":"convex/skills.ts"},"region":{"startLine":5949}}}],"partialFingerprints":{"codehealthFindingId/v1":"86f71f78d9bea44625dc1ac1851372bca94ec6d5493c724e626704a3ded58e30"}},{"ruleId":"D2","level":"warning","message":{"text":"packages.searchPackagesImpl (cognitive 71): packages.searchPackagesImpl has cognitive complexity 71 (threshold 15). Drivers by points: if/else 18 (32 pts), ternaries 11 (19 pts), boolean chains 15, loops 3 (5 pts) (nesting depth added 24). Of this number, 43 points are the body\u0027s own statements and 28 belong to 7 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":"convex/packages.ts"},"region":{"startLine":4581}}}],"partialFingerprints":{"codehealthFindingId/v1":"7925d958962f6b03367e38ca4dd6021e84f7f28e188da226f9f54e8fb1faf1d3"}},{"ruleId":"D2","level":"warning","message":{"text":"skillsShCatalog.admitScans (cognitive 71): skillsShCatalog.admitScans has cognitive complexity 71 (threshold 15). Drivers by points: if/else 24 (44 pts), boolean chains 18, ternaries 5 (8 pts), loops 1 (nesting depth added 23). Of this number, 69 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skillsShCatalog.ts"},"region":{"startLine":1442}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fc791eb05eb162a16d8ba176323543abc79d401c37edf5eab973a1ea25581d8"}},{"ruleId":"D2","level":"warning","message":{"text":"packagesV1.exportPluginsV1Handler (cognitive 70): packagesV1.exportPluginsV1Handler has cognitive complexity 70 (threshold 15). Drivers by points: if/else 23 (45 pts), loops 6 (8 pts), boolean chains 6, ternaries 3 (6 pts), error handling 4 (5 pts) (nesting depth added 28). Of this number, 66 points are the body\u0027s own statements and 4 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":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":1738}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4269e6e0342f99f273c0b4c7d0fb2717a7dd17493eff221b4f0a25eab0f9405"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillDetailTabs.SkillDetailTabs (cognitive 68): SkillDetailTabs.SkillDetailTabs has cognitive complexity 68 (threshold 15). Drivers by points: ternaries 33 (60 pts), boolean chains 6, if/else 2 (nesting depth added 27). Of this number, 55 points are the body\u0027s own statements and 13 belong to 5 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/SkillDetailTabs.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"9da1d8b50cab0bf764d358f6478860daa1c22ac5f3c4ca6d5d0fc365ea318bb5"}},{"ruleId":"D2","level":"warning","message":{"text":"$name.PluginDetailTabs (cognitive 68): $name.PluginDetailTabs has cognitive complexity 68 (threshold 15). Drivers by points: ternaries 29 (55 pts), boolean chains 10, if/else 3 (nesting depth added 26). Of this number, 61 points are the body\u0027s own statements and 7 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/plugins/$name.tsx"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"883bc590223ac756c8c03a6d55b28687353550ae21bde74b6ed961556455cba5"}},{"ruleId":"D2","level":"warning","message":{"text":"skillPublish.publishVersionForUser (cognitive 66): skillPublish.publishVersionForUser has cognitive complexity 66 (threshold 15). Drivers by points: if/else 19 (27 pts), boolean chains 21, ternaries 14 (15 pts), loops 1 (2 pts), error handling 1 (nesting depth added 10). Of this number, 63 points are the body\u0027s own statements and 3 belong to 3 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/skillPublish.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f92034a861e4975b71b7272547a7fe8b3c78e50dbfda3cc1b5fd63f801bed95"}},{"ruleId":"D2","level":"warning","message":{"text":"GoogleAnalytics.GoogleAnalytics (cognitive 66): GoogleAnalytics.GoogleAnalytics has cognitive complexity 66 (threshold 15). Drivers by points: if/else 30 (35 pts), boolean chains 23, ternaries 4 (7 pts), error handling 1 (nesting depth added 8). None of this is in the body itself: all 66 points belong to 13 function literals inside it that branch (lines 75, 199, 57, \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/GoogleAnalytics.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cc45e17d313d9afadb73214040934d5be31cfd0292a970e505829be3a5ac0cb"}},{"ruleId":"D2","level":"warning","message":{"text":"inspect.cmdInspect (cognitive 65): inspect.cmdInspect has cognitive complexity 65 (threshold 15). Drivers by points: if/else 30 (45 pts), boolean chains 8, loops 2 (7 pts), error handling 2 (3 pts), ternaries 2 (nesting depth added 21). Most of this is not in the body itself: 3 of the 65 points are its own statements and the rest belongs to one function literal inside it that branches (line 81). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/inspect.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e916e4e4d1a86253a9d6db9bb09afabcf667595ae43edf004b261959c976a52"}},{"ruleId":"D2","level":"warning","message":{"text":"devSeed.seedLocalModerationFixturesHandler (cognitive 64): devSeed.seedLocalModerationFixturesHandler has cognitive complexity 64 (threshold 15). Drivers by points: if/else 20 (44 pts), loops 4 (9 pts), ternaries 5 (7 pts), boolean chains 4 (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":"convex/devSeed.ts"},"region":{"startLine":2934}}}],"partialFingerprints":{"codehealthFindingId/v1":"542c1350c998ee6f987ae024bbada341ce21b911bce7bbb49ac31a8932dd742b"}},{"ruleId":"D2","level":"warning","message":{"text":"skills.mergeOwnedSkillIntoCanonicalByActor (cognitive 63): skills.mergeOwnedSkillIntoCanonicalByActor has cognitive complexity 63 (threshold 15). Drivers by points: if/else 27 (41 pts), boolean chains 16, loops 3 (4 pts), ternaries 2 (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":"convex/skills.ts"},"region":{"startLine":9310}}}],"partialFingerprints":{"codehealthFindingId/v1":"39d6bea8b1d2f857f9032c04a1b685d2016cbb8554f240ed9a6bd922d80c1b39"}},{"ruleId":"D2","level":"warning","message":{"text":"githubSkillSync.applyGitHubSkillVerificationResultHandler (cognitive 63): githubSkillSync.applyGitHubSkillVerificationResultHandler has cognitive complexity 63 (threshold 15). Drivers by points: if/else 16 (27 pts), boolean chains 19, ternaries 8 (17 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":"convex/githubSkillSync.ts"},"region":{"startLine":2209}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3bb0222ee5388978780eb3ddaa56901e71b84694e703a092be50edb683bb495"}},{"ruleId":"D2","level":"warning","message":{"text":"publish.cmdPublish (cognitive 63): publish.cmdPublish has cognitive complexity 63 (threshold 15). Drivers by points: if/else 18 (23 pts), ternaries 16 (23 pts), boolean chains 15, error handling 1, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/publish.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea88bcdb58af7648fb0093e425e96d2698f56062a4ccf900d9f4e48bce0d0511"}},{"ruleId":"D2","level":"warning","message":{"text":"usersV1.usersPostRouterV1Handler (cognitive 61): usersV1.usersPostRouterV1Handler has cognitive complexity 61 (threshold 15). Drivers by points: if/else 26 (35 pts), ternaries 9 (12 pts), boolean chains 7, error handling 4 (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":"convex/httpApiV1/usersV1.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"5879f1b76d36d60db98491e7c39333bb8c80739c691829d3cca2cd8abdbe0c14"}},{"ruleId":"D2","level":"warning","message":{"text":"skillsShCatalogSource.fetchSkillsShIdentityPage (cognitive 60): skillsShCatalogSource.fetchSkillsShIdentityPage has cognitive complexity 60 (threshold 15). Drivers by points: if/else 14 (47 pts), error handling 3 (8 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 39). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/skillsShCatalogSource.ts"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd46ac48a50abbee2a961afd0bdc99e633be85235cd7918162674c20dde929dc"}},{"ruleId":"D2","level":"warning","message":{"text":"sync.cmdSync (cognitive 59): sync.cmdSync has cognitive complexity 59 (threshold 15). Drivers by points: if/else 26 (35 pts), ternaries 7 (12 pts), boolean chains 7, error handling 3 (4 pts), loops 1 (nesting depth added 15). Of this number, 57 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":"packages/clawhub/src/cli/commands/sync.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"020a2868e40f85a043dbaf5928d76d977465cdc5f641a3ea0d1ff4bd4ca5fdd9"}},{"ruleId":"D2","level":"warning","message":{"text":"TemplateDetailPage.TemplateDetailPage (cognitive 59): TemplateDetailPage.TemplateDetailPage has cognitive complexity 59 (threshold 15). Drivers by points: ternaries 23 (46 pts), boolean chains 8, if/else 5 (nesting depth added 23). Of this number, 23 points are the body\u0027s own statements and 36 belong to 4 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/TemplateDetailPage.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"66f722a69740751157cfd0f7d9071f2dc3806a4ccfccf6ab03e4153fe897a713"}},{"ruleId":"D2","level":"warning","message":{"text":"searchInsights.readReport (cognitive 58): searchInsights.readReport has cognitive complexity 58 (threshold 15). Drivers by points: if/else 11 (18 pts), ternaries 9 (16 pts), boolean chains 13, loops 6 (9 pts), error handling 1 (2 pts) (nesting depth added 18). Of this number, 46 points are the body\u0027s own statements and 12 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":"convex/searchInsights.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"53079fab70df64039cf17f08bca4d220f056f0b1eab2fac2e34e44f837615f3e"}},{"ruleId":"D2","level":"warning","message":{"text":"usersV1.handleAdminStaffEmail (cognitive 58): usersV1.handleAdminStaffEmail has cognitive complexity 58 (threshold 15). Drivers by points: if/else 21 (24 pts), ternaries 17 (18 pts), boolean chains 14, error handling 1 (2 pts) (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/usersV1.ts"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"844b3ef7d32c8c5efe0290273b3ff270d4a67191dae8062d2952397047837546"}},{"ruleId":"D2","level":"warning","message":{"text":"useUnifiedSearch.useUnifiedSearch (cognitive 58): useUnifiedSearch.useUnifiedSearch has cognitive complexity 58 (threshold 15). Drivers by points: boolean chains 23, if/else 17 (20 pts), ternaries 13, error handling 2 (nesting depth added 3). Of this number, 16 points are the body\u0027s own statements and 42 belong to 9 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/lib/useUnifiedSearch.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"24bc3e620ec2a882a8c4056e93e7e63d7fdb6ae4ce064d3b7f972015bab9d585"}},{"ruleId":"D2","level":"warning","message":{"text":"skills.setSkillSoftDeletedByActor (cognitive 56): skills.setSkillSoftDeletedByActor has cognitive complexity 56 (threshold 15). Drivers by points: if/else 17 (23 pts), boolean chains 20, ternaries 12, error handling 1 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skills.ts"},"region":{"startLine":11462}}}],"partialFingerprints":{"codehealthFindingId/v1":"7805c32468719af5a711be1d765d4a2ca530c657f8f38077ff36a27e40434dcf"}},{"ruleId":"D2","level":"warning","message":{"text":"publishAttemptOperationalRecovery.validateRetainedPublishAttempt (cognitive 54): publishAttemptOperationalRecovery.validateRetainedPublishAttempt has cognitive complexity 54 (threshold 15). Drivers by points: if/else 14 (21 pts), boolean chains 15, ternaries 8 (15 pts), loops 2, error handling 1 (nesting depth added 14). Of this number, 50 points are the body\u0027s own statements and 4 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":"convex/lib/publishAttemptOperationalRecovery.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aca337aecb8d75426460290723073e11e855d2945dd69993f14e1a0931dbdc2"}},{"ruleId":"D2","level":"warning","message":{"text":"templateAgent.validateNativeAgentSettings (cognitive 54): templateAgent.validateNativeAgentSettings has cognitive complexity 54 (threshold 15). Drivers by points: if/else 19 (27 pts), boolean chains 18, loops 5 (7 pts), error handling 1 (2 pts) (nesting depth added 11). Of this number, 49 points are the body\u0027s own statements and 5 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/templateAgent.ts"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"6efe038d604d7eaed25348d79a274d81c7999697d877637bd04a5f4f70ddb85e"}},{"ruleId":"D2","level":"warning","message":{"text":"skillsShCatalogSource.measureSkillsShMirrorProofSource (cognitive 54): skillsShCatalogSource.measureSkillsShMirrorProofSource has cognitive complexity 54 (threshold 15). Drivers by points: if/else 16 (29 pts), boolean chains 10, loops 4 (9 pts), ternaries 3 (6 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":"server/skillsShCatalogSource.ts"},"region":{"startLine":1866}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce1d710eaa04e51b5f531058e7b4e85033ccaa2caae11d1f4157bd3f93da9540"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillFilesPanel.SkillFilesPanel (cognitive 54): SkillFilesPanel.SkillFilesPanel has cognitive complexity 54 (threshold 15). Drivers by points: ternaries 20 (40 pts), if/else 10, boolean chains 4 (nesting depth added 20). Of this number, 38 points are the body\u0027s own statements and 16 belong to 5 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/SkillFilesPanel.tsx"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e8ab9e2d0090984828c7d12fd29e717a2469da9a6752b5f078710a023df1bfd"}},{"ruleId":"D2","level":"warning","message":{"text":"index.PluginsIndex (cognitive 52): index.PluginsIndex has cognitive complexity 52 (threshold 15). Drivers by points: ternaries 16 (24 pts), boolean chains 15, if/else 11 (12 pts), error handling 1 (nesting depth added 9). Of this number, 30 points are the body\u0027s own statements and 22 belong to 11 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/routes/plugins/index.tsx"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"f40a8475bc66dbbc2cbf67f766eacd707279d9a1a292d75eec44e9df52660c73"}},{"ruleId":"D2","level":"warning","message":{"text":"githubSkillSync.applyGitHubSkillSourceSyncHandler (cognitive 50): githubSkillSync.applyGitHubSkillSourceSyncHandler has cognitive complexity 50 (threshold 15). Drivers by points: if/else 13 (28 pts), ternaries 8 (12 pts), boolean chains 5, error handling 2 (3 pts), loops 2 (nesting depth added 20). Of this number, 48 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":"convex/githubSkillSync.ts"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"00698a01c918f7232b975925db7836e853978eaf02916e366cf99329f69380b7"}},{"ruleId":"D2","level":"warning","message":{"text":"publisherAbuse.autoBanPublisherAbuseCandidatesPageInternalHandler (cognitive 50): publisherAbuse.autoBanPublisherAbuseCandidatesPageInternalHandler has cognitive complexity 50 (threshold 15). Drivers by points: if/else 17 (36 pts), boolean chains 7, ternaries 3 (6 pts), loops 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/publisherAbuse.ts"},"region":{"startLine":932}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b640f5c5889523184afec8bcd8abffd136fda9d617e9fa9194071245c34996d"}},{"ruleId":"D2","level":"warning","message":{"text":"device.CliDeviceAuth (cognitive 49): device.CliDeviceAuth has cognitive complexity 49 (threshold 15). Drivers by points: ternaries 13 (22 pts), boolean chains 13, if/else 9 (12 pts), error handling 2 (nesting depth added 12). Of this number, 32 points are the body\u0027s own statements and 17 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/cli/device.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b5648031468d79f68cf83b0cc498aafb654c6b371858d0595211cf95b4ea35"}},{"ruleId":"D2","level":"warning","message":{"text":"-useSkillsBrowseModel.useSkillsBrowseModel (cognitive 49): -useSkillsBrowseModel.useSkillsBrowseModel has cognitive complexity 49 (threshold 15). Drivers by points: ternaries 16 (20 pts), if/else 14 (16 pts), boolean chains 12, error handling 1 (nesting depth added 6). Of this number, 19 points are the body\u0027s own statements and 30 belong to 11 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/routes/skills/-useSkillsBrowseModel.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"c27f6cb19f793e953ad0f2386d7137e863ef63fdca073623c961d9e31bd759b2"}},{"ruleId":"D2","level":"warning","message":{"text":"packageApi.fetchPluginCatalog (cognitive 48): packageApi.fetchPluginCatalog has cognitive complexity 48 (threshold 15). Drivers by points: if/else 25 (38 pts), error handling 2 (4 pts), boolean chains 3, ternaries 2 (3 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/packageApi.ts"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"2389255aa192a7380354797b63b9c5169d9e7e722767e93fc3e4cbaa74580786"}},{"ruleId":"D2","level":"warning","message":{"text":"index.parseClawdisMetadata (cognitive 47): index.parseClawdisMetadata has cognitive complexity 47 (threshold 15). Drivers by points: if/else 21 (30 pts), ternaries 6 (9 pts), boolean chains 7, error handling 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/skills/index.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb787b66434a085d55cce482458132fbbece06fda326919ff9774858ab3717b"}},{"ruleId":"D2","level":"warning","message":{"text":"publisherAbuseTemporalScan.runScheduledTemporalPublisherAbuseScanStep (cognitive 47): publisherAbuseTemporalScan.runScheduledTemporalPublisherAbuseScanStep has cognitive complexity 47 (threshold 15). Drivers by points: ternaries 11 (25 pts), if/else 12 (18 pts), boolean chains 4 (nesting depth added 20). Of this number, 43 points are the body\u0027s own statements and 4 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":"convex/publisherAbuseTemporalScan.ts"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7b1483fe2659087f5cd7a78d72f6baca8d282e7fd726ab9b269ef041efe4a68"}},{"ruleId":"D2","level":"warning","message":{"text":"githubSkillSync.buildGitHubSkillSourceSnapshot (cognitive 46): githubSkillSync.buildGitHubSkillSourceSnapshot has cognitive complexity 46 (threshold 15). Drivers by points: ternaries 14 (25 pts), if/else 5 (11 pts), boolean chains 4, error handling 1 (3 pts), loops 2 (3 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":"convex/lib/githubSkillSync.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"944de77bba70789f0bb8aef72f40d4078853d234f04f6c9e47282ac06cf01c6b"}},{"ruleId":"D2","level":"warning","message":{"text":"searchInsightsV1.searchInsightsV1Handler (cognitive 46): searchInsightsV1.searchInsightsV1Handler has cognitive complexity 46 (threshold 15). Drivers by points: if/else 22 (33 pts), boolean chains 12, 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":"convex/httpApiV1/searchInsightsV1.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"84ca668d6b5ad21baa5fdcde05be67a7ee1055a5217dbbb62ffc286fd80610b0"}},{"ruleId":"D2","level":"warning","message":{"text":"FeaturedEditorial.FeaturedEditorial (cognitive 46): FeaturedEditorial.FeaturedEditorial has cognitive complexity 46 (threshold 15). Drivers by points: ternaries 19 (33 pts), boolean chains 9, if/else 3, error handling 1 (nesting depth added 14). Of this number, 24 points are the body\u0027s own statements and 22 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/routes/-management/FeaturedEditorial.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e63ae7e82600a23ed265d0de0b211263cff2757f2c6c8ab060cb6c75bb151f2"}},{"ruleId":"D2","level":"warning","message":{"text":"downloads.downloadZipHandler (cognitive 45): downloads.downloadZipHandler has cognitive complexity 45 (threshold 15). Drivers by points: if/else 16 (26 pts), ternaries 6 (10 pts), boolean chains 4, loops 2 (3 pts), error handling 1 (2 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/downloads.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"63307fc70e3daa5374a8bb0ef8c11c50d73674b9b063223221506f862d1937e3"}},{"ruleId":"D2","level":"warning","message":{"text":"templatePackage.validateTemplatePackageContents (cognitive 45): templatePackage.validateTemplatePackageContents has cognitive complexity 45 (threshold 15). Drivers by points: if/else 24 (29 pts), boolean chains 6, ternaries 5 (6 pts), loops 3, error handling 1 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/templatePackage.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a4463baf2ba6dacfc945b9dd62db8c772052c83ab246b9028172049b7211d65"}},{"ruleId":"D2","level":"warning","message":{"text":"dashboard.Dashboard (cognitive 45): dashboard.Dashboard has cognitive complexity 45 (threshold 15). Drivers by points: ternaries 16 (19 pts), boolean chains 16, if/else 9 (10 pts) (nesting depth added 4). Of this number, 35 points are the body\u0027s own statements and 10 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/routes/dashboard.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"63078d437fcd51ec4657c35d9e1defce1ec4991ea4e7af066a0be649504c9258"}},{"ruleId":"D2","level":"warning","message":{"text":"skills.listCuratedSkillPage (cognitive 44): skills.listCuratedSkillPage has cognitive complexity 44 (threshold 15). Drivers by points: if/else 9 (28 pts), boolean chains 10, loops 2 (3 pts), ternaries 3 (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":"convex/skills.ts"},"region":{"startLine":6305}}}],"partialFingerprints":{"codehealthFindingId/v1":"97878a85898c2d8f79b8d0bc8a8bc0f7d457a83dc2c1b69538ae7cf56939396b"}},{"ruleId":"D2","level":"warning","message":{"text":"search.lexicalFallbackSkillsImpl (cognitive 44): search.lexicalFallbackSkillsImpl has cognitive complexity 44 (threshold 15). Drivers by points: if/else 16 (24 pts), boolean chains 13, ternaries 4, loops 2 (3 pts) (nesting depth added 9). Of this number, 18 points are the body\u0027s own statements and 26 belong to 7 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":"convex/search.ts"},"region":{"startLine":1916}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a70ee0c08fc370e6d85da2293d6eefcf5670702cd5e2ee0fda2d1329b77eddd"}},{"ruleId":"D2","level":"warning","message":{"text":"packagesV1.searchPackages (cognitive 44): packagesV1.searchPackages has cognitive complexity 44 (threshold 15). Drivers by points: boolean chains 22, if/else 18 (19 pts), ternaries 2 (3 pts) (nesting depth added 2). Of this number, 43 points are the body\u0027s own statements and 1 belongs to 3 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":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":3590}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc8c0ba2332b814083df66b249f15ec31224b959d348ccd2e8b11b2ff1e699ca"}},{"ruleId":"D2","level":"warning","message":{"text":"packages.cmdInspectPackage (cognitive 44): packages.cmdInspectPackage has cognitive complexity 44 (threshold 15). Drivers by points: if/else 23 (29 pts), boolean chains 7, loops 2 (6 pts), ternaries 2 (nesting depth added 10). Most of this is not in the body itself: 2 of the 44 points are its own statements and the rest belongs to one function literal inside it that branches (line 396). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/packages.ts"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"0caf6ac2a94e2bfd262f80c27433f1fb72df087e39c06ff2678fbc81663e75d0"}},{"ruleId":"D2","level":"warning","message":{"text":"homeListingData.fetchHomeSkillListing (cognitive 44): homeListingData.fetchHomeSkillListing has cognitive complexity 44 (threshold 15). Drivers by points: if/else 8 (17 pts), ternaries 7 (12 pts), boolean chains 8, error handling 2 (4 pts), loops 2 (3 pts) (nesting depth added 17). Of this number, 27 points are the body\u0027s own statements and 17 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/lib/homeListingData.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c7aca97181452969f1b4a3565b8bf5b06a3bf7a214dba963176b82abb1c8ec7"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillInstallSurface.InstallCommandCard (cognitive 44): SkillInstallSurface.InstallCommandCard has cognitive complexity 44 (threshold 15). Drivers by points: ternaries 21 (36 pts), boolean chains 7, if/else 1 (nesting depth added 15). Of this number, 42 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/SkillInstallSurface.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"47e70b4a1e73d4c8d16afbf81a9b52a196a60f5c69d5aa3a39a6617c082d3603"}},{"ruleId":"D2","level":"warning","message":{"text":"packages.cmdPublishPackage (cognitive 43): packages.cmdPublishPackage has cognitive complexity 43 (threshold 15). Drivers by points: if/else 22 (31 pts), ternaries 5 (6 pts), boolean chains 3, loops 1 (2 pts), error handling 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/packages.ts"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1c7ebe01195fd989b8b14260fda8dff42e3dc609266361ec3e771cb65f5923a"}},{"ruleId":"D2","level":"warning","message":{"text":"skills.cmdInstall (cognitive 43): skills.cmdInstall has cognitive complexity 43 (threshold 15). Drivers by points: if/else 19 (25 pts), ternaries 8 (10 pts), boolean chains 8 (nesting depth added 8). Most of this is not in the body itself: 10 of the 43 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 448, 581). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/skills.ts"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"de13c5d9b9c137c92147335dfe286fa7c868d8085b686aed6a17cda4e9f8c4a2"}},{"ruleId":"D2","level":"warning","message":{"text":"pluginDiscoveryQueries.listCuratedPluginCategoryPage (cognitive 42): pluginDiscoveryQueries.listCuratedPluginCategoryPage has cognitive complexity 42 (threshold 15). Drivers by points: if/else 10 (21 pts), boolean chains 11, loops 3 (4 pts), ternaries 2 (4 pts), error handling 1 (2 pts) (nesting depth added 15). Of this number, 35 points are the body\u0027s own statements and 7 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/pluginDiscoveryQueries.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"04f854a6349ace6de4de54d4282105c0d20d4a5a9131fe50135bebc713f2e027"}},{"ruleId":"D2","level":"warning","message":{"text":"maintenance.backfillSkillSummariesInternalHandler (cognitive 42): maintenance.backfillSkillSummariesInternalHandler has cognitive complexity 42 (threshold 15). Drivers by points: if/else 11 (33 pts), boolean chains 3, loops 2 (3 pts), ternaries 1 (3 pts) (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/maintenance.ts"},"region":{"startLine":1057}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d1c6f14e8055046344219d70379043e34b6361e6f66db227205ec3f1127be7"}},{"ruleId":"D2","level":"warning","message":{"text":"publishers.ensurePersonalPublisherForUser (cognitive 41): publishers.ensurePersonalPublisherForUser has cognitive complexity 41 (threshold 15). Drivers by points: if/else 14 (25 pts), boolean chains 8, error handling 3 (4 pts), ternaries 2 (4 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/publishers.ts"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"1376c57670ce150855d42fd5454793c804338809daa5daaa59e53fc18042775b"}},{"ruleId":"D2","level":"warning","message":{"text":"agentSkillsHttp.resolveSkill (cognitive 41): agentSkillsHttp.resolveSkill has cognitive complexity 41 (threshold 15). Drivers by points: if/else 16 (30 pts), boolean chains 9, ternaries 1 (2 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/agentSkillsHttp.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d26aa3fa7f56131ce9e43a1c58d3cabfb4cbc17629a30f5d722822dd6c02d86"}},{"ruleId":"D2","level":"warning","message":{"text":"packages.settleExistingStagedPackagePublication (cognitive 41): packages.settleExistingStagedPackagePublication has cognitive complexity 41 (threshold 15). Drivers by points: if/else 10 (19 pts), ternaries 5 (13 pts), boolean chains 9 (nesting depth added 17). Of this number, 38 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/packages.ts"},"region":{"startLine":8770}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac70a306c237e519c50569a7c38fc9ebd913d50be2eb0ea47be8cd9a349b3bdb"}},{"ruleId":"D2","level":"warning","message":{"text":"skills.hardDeleteSkillStep (cognitive 41): skills.hardDeleteSkillStep has cognitive complexity 41 (threshold 15). Drivers by points: if/else 14 (24 pts), loops 7 (14 pts), ternaries 1 (2 pts), match/switch 1 (nesting depth added 18). Of this number, 39 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skills.ts"},"region":{"startLine":1448}}}],"partialFingerprints":{"codehealthFindingId/v1":"80513e7ddc71bb4e8ca2ed01bd0c2b5732d02565061527272befa326763a1293"}},{"ruleId":"D2","level":"warning","message":{"text":"maintenance.repairSkillLineageCyclesInternalHandler (cognitive 41): maintenance.repairSkillLineageCyclesInternalHandler has cognitive complexity 41 (threshold 15). Drivers by points: if/else 12 (36 pts), loops 2 (3 pts), boolean chains 1, ternaries 1 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/maintenance.ts"},"region":{"startLine":3613}}}],"partialFingerprints":{"codehealthFindingId/v1":"accfbbaef6ec1ad947285f27795bba8249cb3aa31d1902fe7408f093a2614902"}},{"ruleId":"D2","level":"warning","message":{"text":"textFiles.decodeUtf8Text (cognitive 41): textFiles.decodeUtf8Text has cognitive complexity 41 (threshold 15). Drivers by points: if/else 11 (21 pts), ternaries 5 (13 pts), boolean chains 6, loops 1 (nesting depth added 18). Of this number, 38 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/textFiles.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"7074119bffae35bcfa70a3601f83c2469232bcf35c393eca6e5109cc845f6f54"}},{"ruleId":"D2","level":"warning","message":{"text":"managementShared.formatAuditMetadataSummary (cognitive 41): managementShared.formatAuditMetadataSummary has cognitive complexity 41 (threshold 15). Drivers by points: ternaries 11 (22 pts), if/else 13 (16 pts), boolean chains 3 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/-management/managementShared.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8a4cc413de4df8f81f1ad84b730068eb45f8d81f74eb1a993ffe17a784fe587"}},{"ruleId":"D2","level":"warning","message":{"text":"PluginsPage.PluginsPage (cognitive 41): PluginsPage.PluginsPage has cognitive complexity 41 (threshold 15). Drivers by points: ternaries 13 (40 pts), if/else 1 (nesting depth added 27). Most of this is not in the body itself: 8 of the 41 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 78, 43, 127). 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/routes/-management/PluginsPage.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b841bce0e01d85e8f819d6b81fdbb4c3322cf3cbac03aea0de790ce058c95e"}},{"ruleId":"D2","level":"warning","message":{"text":"featuredSelections.publishForActor (cognitive 40): featuredSelections.publishForActor has cognitive complexity 40 (threshold 15). Drivers by points: if/else 17 (24 pts), boolean chains 7, ternaries 3 (7 pts), loops 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/featuredSelections.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ada38c1c0fae89087b3b80fd18886e4690d430fc71aa90982d10783244f048"}},{"ruleId":"D2","level":"warning","message":{"text":"maintenance.cleanupEmptySkillsInternalHandler (cognitive 40): maintenance.cleanupEmptySkillsInternalHandler has cognitive complexity 40 (threshold 15). Drivers by points: if/else 12 (35 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 24). Of this number, 39 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/maintenance.ts"},"region":{"startLine":2590}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dc5aa6b3e068a5e91f36f707b5afbb638aa0f2a00e7abafbba5e8c90122b42c"}},{"ruleId":"D2","level":"warning","message":{"text":"classifyPluginTopics (cognitive 40): classifyPluginTopics has cognitive complexity 40 (threshold 15). Drivers by points: if/else 6 (12 pts), ternaries 5 (12 pts), loops 6 (10 pts), other 4, boolean chains 2 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/catalogClassifier.mjs"},"region":{"startLine":1886}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4131ba4f3ab41d126d4e30ad442ed59195661cbd3bfc959bef19fb4b921672a"}},{"ruleId":"D2","level":"warning","message":{"text":"featuredIntelligence.recommendFeatured (cognitive 39): featuredIntelligence.recommendFeatured has cognitive complexity 39 (threshold 15). Drivers by points: ternaries 15 (24 pts), loops 6 (7 pts), if/else 3 (5 pts), boolean chains 3 (nesting depth added 12). Of this number, 26 points are the body\u0027s own statements and 13 belong to 7 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":"convex/lib/featuredIntelligence.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ea17a0c2354c11cc9408e6250d19da83ad9b5136d068f33ae478d92a68ed689"}},{"ruleId":"D2","level":"warning","message":{"text":"searchEvidenceDigest.buildSearchEvidenceDigest (cognitive 39): searchEvidenceDigest.buildSearchEvidenceDigest has cognitive complexity 39 (threshold 15). Drivers by points: ternaries 11 (18 pts), boolean chains 14, if/else 4 (6 pts), loops 1 (nesting depth added 9). Most of this is not in the body itself: 5 of the 39 points are its own statements and the rest belongs to 14 function items inside it that branch (project::tie, a function literal at line 203, project, \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":"convex/lib/searchEvidenceDigest.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf4e92c60a1c50feb15a9e0cd877bc603a411d149521908e624680bbf7fe1524"}},{"ruleId":"D2","level":"warning","message":{"text":"pluginAutoCandidates (cognitive 39): pluginAutoCandidates has cognitive complexity 39 (threshold 15). Drivers by points: if/else 15 (22 pts), loops 4 (6 pts), boolean chains 4, ternaries 3 (4 pts), other 3 (nesting depth added 10). Of this number, 34 points are the body\u0027s own statements and 5 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/catalogClassifier.mjs"},"region":{"startLine":1411}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d4da743e599dd8f6fcc7b7f93425723be099f5132056b670daa875fcc652a18"}},{"ruleId":"D2","level":"warning","message":{"text":"skillsShCatalogSource.selectSkillsShCatalogTestRows (cognitive 38): skillsShCatalogSource.selectSkillsShCatalogTestRows has cognitive complexity 38 (threshold 15). Drivers by points: if/else 9 (24 pts), loops 6 (8 pts), boolean chains 6 (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":"server/skillsShCatalogSource.ts"},"region":{"startLine":2789}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2ae71895e6248add0e625ee5787562cfe17a7a977c7f678b1d1331cc62a4af0"}},{"ruleId":"D2","level":"warning","message":{"text":"analyticsEngagement.observeAnalyticsEngagement (cognitive 38): analyticsEngagement.observeAnalyticsEngagement has cognitive complexity 38 (threshold 15). Drivers by points: if/else 10 (23 pts), boolean chains 7, loops 5 (7 pts), ternaries 1 (nesting depth added 15). Most of this is not in the body itself: 1 of the 38 points is its own statement and the rest belongs to 5 function items inside it that branch (a function literal at line 50, scroll, a function literal at line 32, \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/lib/analyticsEngagement.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a0e97573e31d29d6655d31414cdd64ebb15f30d1819e95065125f91a75b531b"}},{"ruleId":"D2","level":"warning","message":{"text":"UserBadge.UserBadge (cognitive 38): UserBadge.UserBadge has cognitive complexity 38 (threshold 15). Drivers by points: ternaries 19 (25 pts), boolean chains 12, if/else 1 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/UserBadge.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"07f26515c9b789ae38b4f63333475bec4e1bbabe0a3504b2034901e201859dba"}},{"ruleId":"D2","level":"warning","message":{"text":"skillsShCatalogV1.skillsShCatalogPublicV1Handler (cognitive 37): skillsShCatalogV1.skillsShCatalogPublicV1Handler has cognitive complexity 37 (threshold 15). Drivers by points: if/else 14 (20 pts), boolean chains 7, error handling 3 (5 pts), ternaries 4 (5 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":"convex/httpApiV1/skillsShCatalogV1.ts"},"region":{"startLine":1147}}}],"partialFingerprints":{"codehealthFindingId/v1":"98a89cadc9ce659885c8cec4420efe52105ebfb751d021ba880be09d76f1e154"}},{"ruleId":"D2","level":"warning","message":{"text":"PackageSourceChooser.PackageSourceChooser (cognitive 37): PackageSourceChooser.PackageSourceChooser has cognitive complexity 37 (threshold 15). Drivers by points: ternaries 16 (31 pts), boolean chains 3, if/else 2 (3 pts) (nesting depth added 16). Of this number, 31 points are the body\u0027s own statements and 6 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/components/PackageSourceChooser.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"e20d76c00ee81a20526685fd2da869d0554f11a69b7181a9cc0a190486e62e2b"}},{"ruleId":"D2","level":"warning","message":{"text":"ManagedMcpTools.ManagedMcpForm (cognitive 37): ManagedMcpTools.ManagedMcpForm has cognitive complexity 37 (threshold 15). Drivers by points: ternaries 21 (27 pts), if/else 5, boolean chains 4, error handling 1 (nesting depth added 6). Of this number, 16 points are the body\u0027s own statements and 21 belong to 5 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/-management/ManagedMcpTools.tsx"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"8993b62aa891bf849b77e170792a4a72370a0d246fda774dbee85b7b04442741"}},{"ruleId":"D2","level":"warning","message":{"text":"managedMcpV1.managedMcpV1Handler (cognitive 36): managedMcpV1.managedMcpV1Handler has cognitive complexity 36 (threshold 15). Drivers by points: if/else 10 (15 pts), ternaries 4 (8 pts), error handling 3 (5 pts), boolean chains 4, loops 2 (4 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/managedMcpV1.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6121ad3fbae06341d64ac1ead43dad380a62442cda0f36100ae1d7c366290c1"}},{"ruleId":"D2","level":"warning","message":{"text":"SecurityAuditPage.SecurityAuditPage (cognitive 36): SecurityAuditPage.SecurityAuditPage has cognitive complexity 36 (threshold 15). Drivers by points: ternaries 14 (34 pts), boolean chains 2 (nesting depth added 20). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/SecurityAuditPage.tsx"},"region":{"startLine":1114}}}],"partialFingerprints":{"codehealthFindingId/v1":"3714eb895944870296c61617a56596a5838d31b48ab3409d6a682b409f4bbeb8"}},{"ruleId":"D2","level":"warning","message":{"text":"publisherAbuse.runPublisherAbuseScoreRunInternalHandler (cognitive 35): publisherAbuse.runPublisherAbuseScoreRunInternalHandler has cognitive complexity 35 (threshold 15). Drivers by points: if/else 15 (29 pts), boolean chains 3, error handling 2, 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":"convex/publisherAbuse.ts"},"region":{"startLine":1559}}}],"partialFingerprints":{"codehealthFindingId/v1":"92ca37dd093af5c285e50c9b0714e25283fcb47679fef484d8c3422b4e402c6b"}},{"ruleId":"D2","level":"warning","message":{"text":"templates.packageManagerArtifacts (cognitive 35): templates.packageManagerArtifacts has cognitive complexity 35 (threshold 15). Drivers by points: if/else 15 (27 pts), boolean chains 6, loops 1, ternaries 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/templates.ts"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e74d7265601e9bd4af8db34e19dfc956a214e45576d71682dc16ca3c377e8ab"}},{"ruleId":"D2","level":"warning","message":{"text":"skillsShCatalogSource.measureSkillsShTrendingSource (cognitive 35): skillsShCatalogSource.measureSkillsShTrendingSource has cognitive complexity 35 (threshold 15). Drivers by points: if/else 14 (25 pts), boolean chains 7, loops 2 (3 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/skillsShCatalogSource.ts"},"region":{"startLine":1461}}}],"partialFingerprints":{"codehealthFindingId/v1":"106f17f63b41a58db259ae460cf17c314bf2ddd9230ca3a97cb7a4bcfa70d90a"}},{"ruleId":"D2","level":"warning","message":{"text":"packageApi.fetchPackages (cognitive 35): packageApi.fetchPackages has cognitive complexity 35 (threshold 15). Drivers by points: if/else 21 (30 pts), ternaries 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":"src/lib/packageApi.ts"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"142b5d3557e37b49326ec4d0ffc5234eb47de316cfcb3f179cde3c178413d710"}},{"ruleId":"D2","level":"warning","message":{"text":"add.AddPage (cognitive 35): add.AddPage has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 13 (22 pts), boolean chains 9, if/else 4 (nesting depth added 9). Of this number, 31 points are the body\u0027s own statements and 4 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/routes/add.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"a26ce1f612940ab2c771393a2e87e4b232de8a028984b7db204da5d52d4d78ba"}},{"ruleId":"D2","level":"warning","message":{"text":"AbusePage.PublisherTemporalEvidence (cognitive 35): AbusePage.PublisherTemporalEvidence has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 17 (34 pts), if/else 1 (nesting depth added 17). Most of this is not in the body itself: 6 of the 35 points are its own statements and the rest belongs to one function literal inside it that branches (line 1393). 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/routes/-management/AbusePage.tsx"},"region":{"startLine":1366}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7b074750d57ab3e6f14ea9ebf2a046c07582ac569559202c6aa98eaef3f7eca"}},{"ruleId":"D2","level":"warning","message":{"text":"securityPrompt.assembleEvalUserMessage (cognitive 34): securityPrompt.assembleEvalUserMessage has cognitive complexity 34 (threshold 15). Drivers by points: if/else 15 (24 pts), ternaries 7, loops 1 (2 pts), boolean chains 1 (nesting depth added 10). Of this number, 20 points are the body\u0027s own statements and 14 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/securityPrompt.ts"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"c70ef364201d93e606685bee684e13c1a4aab7ffb5fa57d250215eb95abe98fb"}},{"ruleId":"D2","level":"warning","message":{"text":"prepublicationReports.retainHttp (cognitive 34): prepublicationReports.retainHttp has cognitive complexity 34 (threshold 15). Drivers by points: if/else 15 (18 pts), error handling 6 (7 pts), boolean chains 5, ternaries 2 (4 pts) (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/prepublicationReports.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d9dfe14036f0238569375b5f92bbac034ed738138aa8f7e07b76195449ec296"}},{"ruleId":"D2","level":"warning","message":{"text":"mcpPublicInspection.discoverOAuth (cognitive 34): mcpPublicInspection.discoverOAuth has cognitive complexity 34 (threshold 15). Drivers by points: if/else 9 (21 pts), boolean chains 5, error handling 2 (4 pts), loops 3 (4 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/mcpPublicInspection.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"0234ca810f956d76ea9d5d65bd915175c21b7bb053a014070fd993df995ec3dd"}},{"ruleId":"D2","level":"warning","message":{"text":"skills.readSkillOrigin (cognitive 34): skills.readSkillOrigin has cognitive complexity 34 (threshold 15). Drivers by points: ternaries 11 (22 pts), if/else 3 (6 pts), boolean chains 3, error handling 1 (2 pts), loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/skills.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b748db6f0b130bd991e879f1ba89ca3fa1355bcb881559f8ec631cd435118ab"}},{"ruleId":"D2","level":"warning","message":{"text":"homeListingData.fetchHomePluginListing (cognitive 34): homeListingData.fetchHomePluginListing has cognitive complexity 34 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 11, loops 3 (6 pts), ternaries 2 (3 pts) (nesting depth added 11). Most of this is not in the body itself: 9 of the 34 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 380, 467, 427, \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/lib/homeListingData.ts"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"046bedf90589a44339ebd4041a5718a877a82e3562828f2f96fa75ff39f655f2"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillVersionsPanel.SkillVersionsPanel (cognitive 34): SkillVersionsPanel.SkillVersionsPanel has cognitive complexity 34 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 10, ternaries 9 (10 pts), error handling 2 (nesting depth added 3). Most of this is not in the body itself: 4 of the 34 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 177, handleDelete, handleRestore, \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/SkillVersionsPanel.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e096e15c17a18f42b7299086fea891d0917447995819659ea4ad0304468e569"}},{"ruleId":"D2","level":"warning","message":{"text":"githubImport.importGitHubSkillForUser (cognitive 33): githubImport.importGitHubSkillForUser has cognitive complexity 33 (threshold 15). Drivers by points: if/else 17 (22 pts), error handling 3 (4 pts), boolean chains 3, ternaries 2 (3 pts), loops 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/githubImport.ts"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"0445e5cda44098aaf39fc61a9704223398a65afcefa1725ac2f8056f9134f98b"}},{"ruleId":"D2","level":"warning","message":{"text":"githubSkillSync.upsertGitHubSkillCandidate (cognitive 33): githubSkillSync.upsertGitHubSkillCandidate has cognitive complexity 33 (threshold 15). Drivers by points: if/else 8 (14 pts), ternaries 6 (10 pts), boolean chains 9 (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":"convex/githubSkillSync.ts"},"region":{"startLine":1501}}}],"partialFingerprints":{"codehealthFindingId/v1":"8016b9571e57385589cde09a3b1249c2249ad218fadc2ba5dca365dd97b343f3"}},{"ruleId":"D2","level":"warning","message":{"text":"securityPrompt.parseLlmEvalResponse (cognitive 33): securityPrompt.parseLlmEvalResponse has cognitive complexity 33 (threshold 15). Drivers by points: if/else 10 (13 pts), ternaries 6 (10 pts), boolean chains 7, loops 1 (2 pts), error handling 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/securityPrompt.ts"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"c625d1787784d7c7113524302d7e98a4d83eb104a3014179a0fafa0a5c68ddb0"}},{"ruleId":"D2","level":"warning","message":{"text":"moderation.cmdRescanAllSkills (cognitive 33): moderation.cmdRescanAllSkills has cognitive complexity 33 (threshold 15). Drivers by points: if/else 8 (15 pts), ternaries 7 (11 pts), boolean chains 6, 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":"packages/clawhub-admin/src/commands/moderation.ts"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"40e5d19e1b5763de13f97983ec96cf35a3baedfbad618d657c2c4e5733067cbe"}},{"ruleId":"D2","level":"warning","message":{"text":"publisherOgSvg.buildPublisherOgSvg (cognitive 33): publisherOgSvg.buildPublisherOgSvg has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 22 (30 pts), boolean chains 3 (nesting depth added 8). Of this number, 32 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/og/publisherOgSvg.ts"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"88b2a76ad26b56ff6224ece6f6d0ac7ccf78864069d3bf536eb75c5c5dee1ab4"}},{"ruleId":"D2","level":"warning","message":{"text":"googleAnalytics.getGoogleAnalyticsPage (cognitive 33): googleAnalytics.getGoogleAnalyticsPage has cognitive complexity 33 (threshold 15). Drivers by points: if/else 15 (23 pts), boolean chains 6, ternaries 2 (3 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/googleAnalytics.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bf041cdab6cd89ba1f0ded1f633ce884496e4c76a679e037f31230750244e53"}},{"ruleId":"D2","level":"warning","message":{"text":"catalogFeed.buildSkillEntry (cognitive 32): catalogFeed.buildSkillEntry has cognitive complexity 32 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 10, ternaries 6 (9 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/catalogFeed.ts"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"653e6f4f4985c247ace32eef6f6117e782e49b088b82cebe75bfa2312e6cc28c"}},{"ruleId":"D2","level":"warning","message":{"text":"aigAnalysis.reusableAigAnalysis (cognitive 32): aigAnalysis.reusableAigAnalysis has cognitive complexity 32 (threshold 15). Drivers by points: ternaries 10 (16 pts), boolean chains 8, if/else 6 (7 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/aigAnalysis.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b3d2d01f185bc8dcb02da96628261d1fba22cc710768c522c9cbe48008a453e"}},{"ruleId":"D2","level":"warning","message":{"text":"usersV1.handleAdminUpdatePublisherProfile (cognitive 32): usersV1.handleAdminUpdatePublisherProfile has cognitive complexity 32 (threshold 15). Drivers by points: if/else 14 (17 pts), ternaries 6 (7 pts), boolean chains 5, error handling 3 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/usersV1.ts"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"56efab5e3064afd2292ca9a0f49afd4e1eaaf1a91c2b5dc0480941102f0bc8e8"}},{"ruleId":"D2","level":"warning","message":{"text":"skillCardClaims.admitSkillCardClaims (cognitive 32): skillCardClaims.admitSkillCardClaims has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (19 pts), loops 5 (9 pts), boolean chains 4 (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":"convex/lib/skillCardClaims.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"14906276d3b3eb9b44a90d52614a9f3f0e551cad466c94d185a15c005d9d96ec"}},{"ruleId":"D2","level":"warning","message":{"text":"HomeListingSection.HomeListingEmptyPanel (cognitive 32): HomeListingSection.HomeListingEmptyPanel has cognitive complexity 32 (threshold 15). Drivers by points: ternaries 13 (31 pts), boolean chains 1 (nesting depth added 18). 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/HomeListingSection.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e1ce45091476909ae211fa1b0b144006e23ac809e13ee437c3c9c5b015afe87"}},{"ruleId":"D2","level":"warning","message":{"text":"clawpack.parseTarEntries (cognitive 31): clawpack.parseTarEntries has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13 (26 pts), boolean chains 2, ternaries 1 (2 pts), loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/clawpack.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"20bc845f006f1aa563b4c7e210fdd1657324b3112275bc0c1f8163cba248f9eb"}},{"ruleId":"D2","level":"warning","message":{"text":"packages.latestCompletedFindingsScans (cognitive 31): packages.latestCompletedFindingsScans has cognitive complexity 31 (threshold 15). Drivers by points: if/else 7 (18 pts), boolean chains 7, loops 3 (4 pts), ternaries 1 (2 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":"convex/packages.ts"},"region":{"startLine":3529}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb94a96a2ae92582d21716876bbe66cdb4e70237338ec9e372c3058e438cf1c8"}},{"ruleId":"D2","level":"warning","message":{"text":"packages.listStablePackageDiscoveryPage (cognitive 31): packages.listStablePackageDiscoveryPage has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (13 pts), ternaries 7 (11 pts), boolean chains 4, loops 3 (nesting depth added 9). Of this number, 18 points are the body\u0027s own statements and 13 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/packages.ts"},"region":{"startLine":3818}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a2c0302df76ad1eff940e745c121ffe054785bfbce02d9c8ce5fcda0b79a640"}},{"ruleId":"D2","level":"warning","message":{"text":"packagesV1.mintPublishTokenV1Handler (cognitive 31): packagesV1.mintPublishTokenV1Handler has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 13 (14 pts), if/else 8 (11 pts), boolean chains 3, error handling 3 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":2420}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fb3d9dbb7273aba7287d4fccc79ff3815c763877a893802a432e0869e9acfbc"}},{"ruleId":"D2","level":"warning","message":{"text":"promotions.normalizePromotionInput (cognitive 31): promotions.normalizePromotionInput has cognitive complexity 31 (threshold 15). Drivers by points: if/else 15 (17 pts), ternaries 7, boolean chains 5, loops 1 (2 pts) (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/promotions.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c8824c7cffee0118f1963d8ddd19f4984423a2907dab0fc23517e1a16c01e24"}},{"ruleId":"D2","level":"warning","message":{"text":"skillsShCatalogV1.storeArtifactFiles (cognitive 31): skillsShCatalogV1.storeArtifactFiles has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (18 pts), ternaries 2 (6 pts), boolean chains 3, loops 2 (3 pts), error handling 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/skillsShCatalogV1.ts"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"2993b50d78e8f9ba50b1baa936c84a29e09d7024c083081a2f3ceba5cc073f80"}},{"ruleId":"D2","level":"warning","message":{"text":"skillsShCatalog.cancelAttempt (cognitive 31): skillsShCatalog.cancelAttempt has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (17 pts), ternaries 2 (8 pts), boolean chains 6 (nesting depth added 15). 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":"convex/skillsShCatalog.ts"},"region":{"startLine":2952}}}],"partialFingerprints":{"codehealthFindingId/v1":"97162061962fe9295fb27bb2160dd68a11b154f84b851e58bed680b508e5f187"}},{"ruleId":"D2","level":"warning","message":{"text":"email.cmdSendStaffEmail (cognitive 31): email.cmdSendStaffEmail has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (17 pts), ternaries 10 (11 pts), boolean chains 3 (nesting depth added 8). Of this number, 25 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/email.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"8132407e7e272218fcbbdbac92962da6ca28c43291f66955916ae9b6dc0fea78"}},{"ruleId":"D2","level":"warning","message":{"text":"skillDetailUtils.formatConfigSnippet (cognitive 31): skillDetailUtils.formatConfigSnippet has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (23 pts), boolean chains 6, error handling 1, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/skillDetailUtils.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"15f4ce868d9a9d6a4e6e1791168fb0f6b32f7aad0b90127790e7f2de4b3994a9"}},{"ruleId":"D2","level":"warning","message":{"text":"PromotionsPage.PromotionsPage (cognitive 31): PromotionsPage.PromotionsPage has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 15 (27 pts), boolean chains 2, if/else 2 (nesting depth added 12). Most of this is not in the body itself: 13 of the 31 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 232, submit, a function literal at line 212, \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/routes/-management/PromotionsPage.tsx"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ffab05995e9a808208f8e0161b03480f1ba548b9d43ed705c4759901843bfb1"}},{"ruleId":"D2","level":"warning","message":{"text":"-SkillsResults.SkillsResults (cognitive 31): -SkillsResults.SkillsResults has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 9 (21 pts), if/else 2 (8 pts), boolean chains 2 (nesting depth added 18). Of this number, 23 points are the body\u0027s own statements and 8 belong to one function literal inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/skills/-SkillsResults.tsx"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb07125fa4eb1c5fdaee1aedeb9cfaabbc5c45edc8a342f1741b4971b837053"}},{"ruleId":"D2","level":"warning","message":{"text":"publish.Upload::handleSubmit (cognitive 31): publish.Upload::handleSubmit has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 10, ternaries 6 (7 pts), error handling 1, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition. This shape REPEATS in the file: one other method here (publish.Upload) 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/routes/skills/publish.tsx"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"b241b917037ed50596fbd0e86cc5a67d3444f288ce905ea063e32ca7f2c17bcf"}},{"ruleId":"D2","level":"warning","message":{"text":"skillZip.buildOrderedZipStream::advance (cognitive 30): skillZip.buildOrderedZipStream::advance has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (25 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/skillZip.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"8124516aa4488e3b79cee4693ffc5307de210e1f56f523642a1779ca7ff0c455"}},{"ruleId":"D2","level":"warning","message":{"text":"githubActionsOidc.verifyGitHubActionsWorkflowJwt (cognitive 30): githubActionsOidc.verifyGitHubActionsWorkflowJwt has cognitive complexity 30 (threshold 15). Drivers by points: if/else 18 (20 pts), ternaries 6, boolean chains 4 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/githubActionsOidc.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1bb103074dd0e9949bf56de11a6d123bf7bf7eceaa0ff209d90f60f2a54d4f4"}},{"ruleId":"D2","level":"warning","message":{"text":"packages.resolveDirectPackageSearchDigests (cognitive 30): packages.resolveDirectPackageSearchDigests has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 19 (28 pts), boolean chains 2 (nesting depth added 9). Of this number, 23 points are the body\u0027s own statements and 7 belong to 4 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":"convex/packages.ts"},"region":{"startLine":1475}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fb97d777f3f7c57b430f002e590cb45623eb6dce78838b745132137f3b3aca5"}},{"ruleId":"D2","level":"warning","message":{"text":"publisherAbuseDevSeed.clearDemoRows (cognitive 30): publisherAbuseDevSeed.clearDemoRows has cognitive complexity 30 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 9 (13 pts), boolean chains 3 (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":"convex/publisherAbuseDevSeed.ts"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"129b654791bee781a71fe2692f2542d18ca880aed3d74397b70118b5ff3ee185"}},{"ruleId":"D2","level":"warning","message":{"text":"publishers.migrateLegacyPublisherHandleToOrgWithActor (cognitive 30): publishers.migrateLegacyPublisherHandleToOrgWithActor has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 8, ternaries 3 (4 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":"convex/publishers.ts"},"region":{"startLine":1192}}}],"partialFingerprints":{"codehealthFindingId/v1":"54f835ddd335b1c9404c8a08510ad6406235f0b4de6e6010546b0eb1e72b280a"}},{"ruleId":"D2","level":"warning","message":{"text":"managedMcp.parseManagedMcpDefinition (cognitive 30): managedMcp.parseManagedMcpDefinition has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 9, error handling 1 (2 pts), loops 2 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/managedMcp.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c48b990881fac52aae095a621ebac40708fcb0a26f02e18988deb481d00a29e"}},{"ruleId":"D2","level":"warning","message":{"text":"convexProxy.parseSkillArchiveManifest (cognitive 30): convexProxy.parseSkillArchiveManifest has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 9, error handling 1 (2 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/convexProxy.ts"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddcdbb69fe6ea85168af547eee368b4f4215a6359b55d9d7cb6b745037d2a025"}},{"ruleId":"D2","level":"warning","message":{"text":"packageRegistry.extractMcpServerSummaries (cognitive 29): packageRegistry.extractMcpServerSummaries has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 13 (17 pts), boolean chains 8, error handling 1 (2 pts), if/else 2 (nesting depth added 5). None of this is in the body itself: all 29 points belong to one function literal inside it that branches (line 275). 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":"convex/lib/packageRegistry.ts"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1cf7f0a03ff50d81f5055911b155f7d4620ce4078163e173318bedfa681d24e"}},{"ruleId":"D2","level":"warning","message":{"text":"skillPageRead.readSkillPageBySlug (cognitive 29): skillPageRead.readSkillPageBySlug has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 13 (14 pts), boolean chains 9, if/else 6 (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":"convex/lib/skillPageRead.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"f906b0eea6a7e23d17c5e560e94b69a8de5828c4dd9cbeeb39423d7db24f64c4"}},{"ruleId":"D2","level":"warning","message":{"text":"githubSkillSync.scheduleGitHubSkillVerification (cognitive 29): githubSkillSync.scheduleGitHubSkillVerification has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 7, ternaries 4 (6 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":"convex/githubSkillSync.ts"},"region":{"startLine":1958}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e49d8599bb102233d762accf8031cf612c1c0cda7aa5c330bc86d58614604eb"}},{"ruleId":"D2","level":"warning","message":{"text":"mcpPublicInspection.inspectPublicMcp (cognitive 29): mcpPublicInspection.inspectPublicMcp has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (13 pts), ternaries 4 (9 pts), boolean chains 6, error handling 1 (nesting depth added 9). Of this number, 26 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/mcpPublicInspection.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cf5e1aaf24de4d0d9b59bfa1a6c24e2eb4cb45cd4f5ec4f96dc1de4eec4fa3c"}},{"ruleId":"D2","level":"warning","message":{"text":"packages.cmdPackageModerationQueue (cognitive 29): packages.cmdPackageModerationQueue has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (15 pts), ternaries 3 (9 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/packages.ts"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab9f1a070063d59e987c468c4849d5a0f7b5801da0ed7823d909793c3af5ed42"}},{"ruleId":"D2","level":"warning","message":{"text":"rolloutCapabilities.getClawHubRuntimeEnvironment (cognitive 29): rolloutCapabilities.getClawHubRuntimeEnvironment has cognitive complexity 29 (threshold 15). Drivers by points: if/else 16, boolean chains 13. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/rolloutCapabilities.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbb5f80cb7ff469433169687a5985cdac20c103b479320cef324ecfcfa51e2b5"}},{"ruleId":"D2","level":"warning","message":{"text":"CatalogMetadataFields.CatalogMetadataFields (cognitive 29): CatalogMetadataFields.CatalogMetadataFields has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 17 (24 pts), if/else 3, boolean chains 2 (nesting depth added 7). Of this number, 20 points are the body\u0027s own statements and 9 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/CatalogMetadataFields.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"80a037eb44959a79d7849248097d4b4c38fb172f99216d7042951a9798536c38"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillCardPreview.SkillCardPreview (cognitive 29): SkillCardPreview.SkillCardPreview has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 17 (27 pts), boolean chains 1, if/else 1 (nesting depth added 10). Of this number, 19 points are the body\u0027s own statements and 10 belong to 4 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/SkillCardPreview.tsx"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"93a40688c3063eedbbdcdf5ed66a6a19afafca98e42d9a3cd0e0e0244e831112"}},{"ruleId":"D2","level":"warning","message":{"text":"ManagedMcpTools.ManagedMcpTools (cognitive 29): ManagedMcpTools.ManagedMcpTools has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 12 (15 pts), if/else 6 (7 pts), boolean chains 5, error handling 2 (nesting depth added 4). Of this number, 15 points are the body\u0027s own statements and 14 belong to 6 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/-management/ManagedMcpTools.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cac0fbd621c45e6bfe949a6f085c286069b27d2aac490932623117aa660b9eb"}},{"ruleId":"D2","level":"warning","message":{"text":"skillBackfill.deepEqual (cognitive 28): skillBackfill.deepEqual has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (20 pts), boolean chains 4, loops 2 (4 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/skillBackfill.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"ece6f86e9bfcce43bc39d6d4be1dd6d453cf9d73fb51e54cf1827f830f239720"}},{"ruleId":"D2","level":"warning","message":{"text":"maintenance.backfillSkillFingerprintsInternalHandler (cognitive 28): maintenance.backfillSkillFingerprintsInternalHandler has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (18 pts), boolean chains 4, loops 2 (3 pts), ternaries 1 (3 pts) (nesting depth added 14). Of this number, 27 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/maintenance.ts"},"region":{"startLine":1952}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1d94aff40cb75eea47d6273277d53c0f992d06bda4973d73ccb58de394546ef"}},{"ruleId":"D2","level":"warning","message":{"text":"maintenance.backfillSkillBadgeTableInternalHandler (cognitive 28): maintenance.backfillSkillBadgeTableInternalHandler has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (22 pts), loops 3 (6 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/maintenance.ts"},"region":{"startLine":2293}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d296284eed464e19865a23f8b385f74fac1c7085bad0cd6d445b892efdadeb"}},{"ruleId":"D2","level":"warning","message":{"text":"packages.waitForPackagePublication (cognitive 28): packages.waitForPackagePublication has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (20 pts), ternaries 1 (3 pts), boolean chains 2, error handling 1 (2 pts), loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/packages.ts"},"region":{"startLine":1248}}}],"partialFingerprints":{"codehealthFindingId/v1":"536a5ede10d0f0025c099d772ce3885f794b0f0be298cb494939ec04d82ba310"}},{"ruleId":"D2","level":"warning","message":{"text":"cli.findFirstTopLevelOperand (cognitive 28): cli.findFirstTopLevelOperand has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (23 pts), boolean chains 4, loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"5441beb5424b9d33b5bd39be2f617dd4f206657c5ea1264059b2818542168469"}},{"ruleId":"D2","level":"warning","message":{"text":"MarketplaceIcon.MarketplaceIcon (cognitive 28): MarketplaceIcon.MarketplaceIcon has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 14 (18 pts), boolean chains 9, if/else 1 (nesting depth added 4). Of this number, 21 points are the body\u0027s own statements and 7 belong to 4 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/MarketplaceIcon.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"d55377951f24783030092e96cded480e47f8d6588623676bbbd62305b60c3024"}},{"ruleId":"D2","level":"warning","message":{"text":"packages.restorePackageDoc (cognitive 27): packages.restorePackageDoc has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 7, ternaries 4, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/packages.ts"},"region":{"startLine":5680}}}],"partialFingerprints":{"codehealthFindingId/v1":"86d654a631debfad6288f2090810ed2139aab8aca7bffc40dbb15a425cd929f0"}},{"ruleId":"D2","level":"warning","message":{"text":"usersV1.handleAdminRecoverPersonalPublisher (cognitive 27): usersV1.handleAdminRecoverPersonalPublisher has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (15 pts), ternaries 9 (10 pts), boolean chains 1, error handling 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/usersV1.ts"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ebd850100c30f181e930919a9a202e29da88a91d72b730b5f28c9d241df9f8"}},{"ruleId":"D2","level":"warning","message":{"text":"skillsShCatalog.validateRealScanArtifacts (cognitive 27): skillsShCatalog.validateRealScanArtifacts has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (21 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skillsShCatalog.ts"},"region":{"startLine":2852}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ef9dcd646f1bc4b970bf9f0ca6d5436bdf06c77a1cd10fa9999c352fa581a7f"}},{"ruleId":"D2","level":"warning","message":{"text":"searchInsights.waitForReport (cognitive 27): searchInsights.waitForReport has cognitive complexity 27 (threshold 15). Drivers by points: if/else 6 (12 pts), ternaries 3 (9 pts), boolean chains 3, error handling 1 (2 pts), loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/searchInsights.ts"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c6427a66f3aafcd628b3639b6ad3be4c21925c384c92c8e99473f08b6c9d85a"}},{"ruleId":"D2","level":"warning","message":{"text":"skillsShCatalogSource.fetchSkillsShProofText (cognitive 27): skillsShCatalogSource.fetchSkillsShProofText has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (19 pts), loops 2 (3 pts), ternaries 1 (3 pts), boolean chains 2 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/skillsShCatalogSource.ts"},"region":{"startLine":1805}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f136fd33a27aa0282650a8bf6357f5d71bd5f7b63bd96e020e5cb018166a0f3"}},{"ruleId":"D2","level":"warning","message":{"text":"index.parseFrontmatterLevelDeclarations (cognitive 26): index.parseFrontmatterLevelDeclarations has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (21 pts), boolean chains 3, ternaries 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/skills/index.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"20eacac5e7b34499bf996e46de9a7aecbd159aa0bfa9405b40d396a17ca06416"}},{"ruleId":"D2","level":"warning","message":{"text":"skillPresentation.isStructurallyValidJpeg (cognitive 26): skillPresentation.isStructurallyValidJpeg has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 6, loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/skillPresentation.ts"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"a11155f0eaf384aadc4564ed9c289d18d8773990d72874886cfe98cef30659ec"}},{"ruleId":"D2","level":"warning","message":{"text":"githubSkillSync.buildGitHubSkillSyncPlan (cognitive 26): githubSkillSync.buildGitHubSkillSyncPlan has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 7 (14 pts), if/else 4 (7 pts), boolean chains 3, loops 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":"convex/lib/githubSkillSync.ts"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"172026d4a39da3f07fa068bfb5434281793a6e8dab5dc260be131ade1a63f8e8"}},{"ruleId":"D2","level":"warning","message":{"text":"packagePublishRecovery.assertPackageRecoveryEligibility (cognitive 26): packagePublishRecovery.assertPackageRecoveryEligibility has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 10, loops 1 (2 pts) (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/packagePublishRecovery.ts"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"c08331c5f3a19dd0dea819a812a1991d496d840ae5063b73cba974976996353f"}},{"ruleId":"D2","level":"warning","message":{"text":"skillPublish.prepareSkillInsertArgsForFinalization (cognitive 26): skillPublish.prepareSkillInsertArgsForFinalization has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (11 pts), ternaries 7 (8 pts), boolean chains 6, loops 1 (nesting depth added 5). Of this number, 23 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/skillPublish.ts"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"5001178acbe3123375b5c6c3470f4f185f40ed99e3114a01f4b74abe075ef93f"}},{"ruleId":"D2","level":"warning","message":{"text":"skills.listSkillTopicFilteredPage (cognitive 26): skills.listSkillTopicFilteredPage has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (16 pts), ternaries 4, boolean chains 3, loops 2 (3 pts) (nesting depth added 11). Of this number, 25 points are the body\u0027s own statements and 1 belongs to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skills.ts"},"region":{"startLine":5019}}}],"partialFingerprints":{"codehealthFindingId/v1":"a49372d7bb33e5e3c0d7d7b73d5bf824ccbaa67dd3db9decfaa8669f39649138"}},{"ruleId":"D2","level":"warning","message":{"text":"skills.collectSkillPackageCatalogPage (cognitive 26): skills.collectSkillPackageCatalogPage has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (16 pts), boolean chains 5, loops 2 (3 pts), ternaries 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":"convex/skills.ts"},"region":{"startLine":5676}}}],"partialFingerprints":{"codehealthFindingId/v1":"c10c1a34ff882cb447626a539cee3e8f8c13fa12cc7d270dd73fd232418a8ce1"}},{"ruleId":"D2","level":"warning","message":{"text":"skillsV1.parseSecurityVerdictItems (cognitive 26): skillsV1.parseSecurityVerdictItems has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 5, ternaries 2 (4 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff699f86297491a73649aec61f5436909a49f6295a7ba6f3903885551e79c2dc"}},{"ruleId":"D2","level":"warning","message":{"text":"registryOgSvg.wrapText (cognitive 26): registryOgSvg.wrapText has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (17 pts), ternaries 2 (4 pts), boolean chains 3, loops 2 (nesting depth added 8). Of this number, 19 points are the body\u0027s own statements and 7 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/og/registryOgSvg.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8ee583b66466d8be5c86d1280d9bdf4bab6f79ae456694fd8fa7be727ed3850"}},{"ruleId":"D2","level":"warning","message":{"text":"import.ReviewSkillCard (cognitive 26): import.ReviewSkillCard has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 13 (19 pts), boolean chains 7 (nesting depth added 6). Of this number, 21 points are the body\u0027s own statements and 5 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/routes/import.tsx"},"region":{"startLine":1225}}}],"partialFingerprints":{"codehealthFindingId/v1":"a71ac9a889e0e67b0b5ab9bd03ca067a30c609ff4e24da5ec3d8d79d876cf9ac"}},{"ruleId":"D2","level":"warning","message":{"text":"PromotionsPage.parseForm (cognitive 26): PromotionsPage.parseForm has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 11 (13 pts), if/else 6 (10 pts), boolean chains 2, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/-management/PromotionsPage.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"a52fea4b2e185fa558d7cbc5ef86960192feaf8da96ab781b7c9a2a60078c0ca"}},{"ruleId":"D2","level":"warning","message":{"text":"devSeed.retireLegacyLocalOwnerPublishers (cognitive 25): devSeed.retireLegacyLocalOwnerPublishers has cognitive complexity 25 (threshold 15). Drivers by points: loops 8 (18 pts), if/else 3 (7 pts) (nesting depth added 14). 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":"convex/devSeed.ts"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b567595207fdaefb1ab55854c69951b5c072765188d01274f67b1cb39dc39a8"}},{"ruleId":"D2","level":"warning","message":{"text":"openaiResponse.extractResponseText (cognitive 25): openaiResponse.extractResponseText has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 5, loops 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/openaiResponse.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"952bc946f2a8aeaba3776bf620ce4ab3f686ced321796b0dbf04227544f41f63"}},{"ruleId":"D2","level":"warning","message":{"text":"packages.listPackageInspectorScanBatch (cognitive 25): packages.listPackageInspectorScanBatch has cognitive complexity 25 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 9, ternaries 2 (5 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":"convex/packages.ts"},"region":{"startLine":10277}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc6f52a87055ba0c6c58d1487ab6f28587b87d43cd3447ae81e9baf1845772fd"}},{"ruleId":"D2","level":"warning","message":{"text":"skillPageRead.resolveSkillBySlugOrAliasForOwner (cognitive 25): skillPageRead.resolveSkillBySlugOrAliasForOwner has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (21 pts), boolean chains 4 (nesting depth added 12). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/skillPageRead.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aab469018333c8cc3933a4e98d79d580b5413da0994dc2eddc0275a71146508"}},{"ruleId":"D2","level":"warning","message":{"text":"packagesV1.packagesDeleteRouterV1Handler (cognitive 25): packagesV1.packagesDeleteRouterV1Handler has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (16 pts), error handling 3 (5 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":3321}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aa1fbe31f9d2b48cabc2ca10c65abb5a3d344b54f1c574580074a725486998c"}},{"ruleId":"D2","level":"warning","message":{"text":"maintenance.nominateEmptySkillSpammersInternalHandler (cognitive 25): maintenance.nominateEmptySkillSpammersInternalHandler has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (19 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/maintenance.ts"},"region":{"startLine":2804}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d1366b78a45bd3cb7a4361913dfe2d37263ffbae45bc9b8062c76f7b484f9b0"}},{"ruleId":"D2","level":"warning","message":{"text":"publisherAbuseOwnerSynchrony.getPublisherAbuseOwnerSynchronyCandidateInternalHandler (cognitive 25): publisherAbuseOwnerSynchrony.getPublisherAbuseOwnerSynchronyCandidateInternalHandler has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (18 pts), loops 2 (3 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/publisherAbuseOwnerSynchrony.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"54d85eea76728bbff8bb26690529bb0408588c64077a887ffd7d81ad65943abe"}},{"ruleId":"D2","level":"warning","message":{"text":"publisherAbuseTemporalScan.runScheduledTemporalPublisherAbuseScanInternalHandler (cognitive 25): publisherAbuseTemporalScan.runScheduledTemporalPublisherAbuseScanInternalHandler has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 6 (12 pts), if/else 5 (9 pts), error handling 2 (3 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":"convex/publisherAbuseTemporalScan.ts"},"region":{"startLine":1061}}}],"partialFingerprints":{"codehealthFindingId/v1":"f440fe3feb60c189a1c6f45b01449fd6f0532a32f5765b2c4e35b5acfdafebc0"}},{"ruleId":"D2","level":"warning","message":{"text":"orgs.cmdRepairScopedPackages (cognitive 25): orgs.cmdRepairScopedPackages has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 6 (12 pts), loops 2 (4 pts), boolean chains 3, error handling 1 (3 pts), if/else 3 (nesting depth added 10). Most of this is not in the body itself: 5 of the 25 points are its own statements and the rest belongs to one function literal inside it that branches (line 471). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/orgs.ts"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"c28f6da9ba6df6e43dc62417805cb6002902d5f2807cede89b956f356765381b"}},{"ruleId":"D2","level":"warning","message":{"text":"skillsShCatalogSource.resolveSkillsShMirrorGitHubLocators (cognitive 25): skillsShCatalogSource.resolveSkillsShMirrorGitHubLocators has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (17 pts), boolean chains 5, loops 2 (3 pts) (nesting depth added 11). None of this is in the body itself: all 25 points belong to 4 function literals inside it that branch (lines 1218, 1197, 1244, \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":"server/skillsShCatalogSource.ts"},"region":{"startLine":1177}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c490551a3eaf6e6dcc62120f35b369620ee86b3e38f95245f3c2761d708913c"}},{"ruleId":"D2","level":"warning","message":{"text":"srcset.parseSrcset (cognitive 25): srcset.parseSrcset has cognitive complexity 25 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 5 (10 pts), boolean chains 4 (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":"src/lib/srcset.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"40656a794995e5ac95f677c5e4e06d3cd49dbd4debf5ff00886b02b037e9ebf2"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillListingRow.SkillListingRow (cognitive 25): SkillListingRow.SkillListingRow has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 15 (21 pts), boolean chains 4 (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":"src/components/SkillListingRow.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"57c750668d4036399e4856f8e46cb67df09a2c83c3701c8792c55f08baa2a7d7"}},{"ruleId":"D2","level":"warning","message":{"text":"embeddings.generateEmbeddings (cognitive 24): embeddings.generateEmbeddings has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (20 pts), error handling 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/embeddings.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"561756193524b22b7b08ba89de373e15c676db6067e52edc2b572dfaac458d68"}},{"ruleId":"D2","level":"warning","message":{"text":"skills.listCommunitySkillCategoryPage (cognitive 24): skills.listCommunitySkillCategoryPage has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 2 (3 pts), boolean chains 2, ternaries 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skills.ts"},"region":{"startLine":6420}}}],"partialFingerprints":{"codehealthFindingId/v1":"128e9bc67972bf5c3b16cd5ce8446537023d4953c4bc4dc1bcfdbf4ff1c4c08a"}},{"ruleId":"D2","level":"warning","message":{"text":"skills.renameOwnedSkillByActor (cognitive 24): skills.renameOwnedSkillByActor has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 7, ternaries 2 (4 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":"convex/skills.ts"},"region":{"startLine":9195}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1c3382a0453eebe7420d25848d3a06cffd79dd36ab4464c742a0e3db721afc9"}},{"ruleId":"D2","level":"warning","message":{"text":"securityPrompt.parseAgenticRiskFindings (cognitive 24): securityPrompt.parseAgenticRiskFindings has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 7, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/securityPrompt.ts"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1fec9447694a357be534e4c76c5f92c4b7768673dfc8e7bfd46aa46f59e6862"}},{"ruleId":"D2","level":"warning","message":{"text":"templatePackageHttpRead.readTemplatePackageHttp (cognitive 24): templatePackageHttpRead.readTemplatePackageHttp has cognitive complexity 24 (threshold 15). Drivers by points: if/else 15 (17 pts), boolean chains 5, error handling 1, ternaries 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"convex/lib/templatePackageHttpRead.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"89364b7bcafba3f477ccf3217c1d9821725bd34bdae952a913bbaf1bea0d2b19"}},{"ruleId":"D2","level":"warning","message":{"text":"mcpPublicInspection.readJson (cognitive 24): mcpPublicInspection.readJson has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (20 pts), loops 2 (4 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/mcpPublicInspection.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b7cc846004c1d5ce1797c517c91f6b7b92496ac65dbbae3ad6a57c22b3e2a48"}},{"ruleId":"D2","level":"warning","message":{"text":"pluginCategories.inferPluginCategoriesFromManifest (cognitive 24): pluginCategories.inferPluginCategoriesFromManifest has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13, boolean chains 9, ternaries 2. Of this number, 23 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/pluginCategories.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"d37a94e3efb397d45b0ae8b5ef4ff5e0454270e184e455bd227996c293fd2d48"}},{"ruleId":"D2","level":"warning","message":{"text":"skillsShCatalogSource.fetchSkillsShMirrorBatch (cognitive 24): skillsShCatalogSource.fetchSkillsShMirrorBatch has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (13 pts), error handling 2 (4 pts), boolean chains 3, ternaries 3, loops 1 (nesting depth added 8). Most of this is not in the body itself: 6 of the 24 points are its own statements and the rest belongs to 2 function items inside it that branch (a function literal at line 2262, monitoredFetch). 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":"server/skillsShCatalogSource.ts"},"region":{"startLine":2193}}}],"partialFingerprints":{"codehealthFindingId/v1":"d643704564166eac8c607b36f2818227d71d5b339c8242921c5e6ecca6666a5d"}},{"ruleId":"D2","level":"warning","message":{"text":"BrowseControls.BrowseCategorySelect (cognitive 24): BrowseControls.BrowseCategorySelect has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 10 (18 pts), if/else 5, boolean chains 1 (nesting depth added 8). Of this number, 14 points are the body\u0027s own statements and 10 belong to 7 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/BrowseControls.tsx"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b1c940a83824320079d45ff3aef07dee3c42fbee7e2ed5929c6c8a5f3693789"}},{"ruleId":"D2","level":"warning","message":{"text":"BrowseResultsSkeleton.BrowseResultsSkeleton (cognitive 24): BrowseResultsSkeleton.BrowseResultsSkeleton has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 13 (23 pts), if/else 1 (nesting depth added 10). Of this number, 14 points are the body\u0027s own statements and 10 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/skeletons/BrowseResultsSkeleton.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f1824d06ed9b2d2bb9f09e4f56f61cc59b8b573355210ae4325de235b2bef6a"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillCard.SkillCard (cognitive 24): SkillCard.SkillCard has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 13 (20 pts), boolean chains 4 (nesting depth added 7). Of this number, 22 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/SkillCard.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"aac75489756c9af6c8563cf79e54ad52be0c32cfdd2fe943b4cffbde587c4486"}},{"ruleId":"D2","level":"warning","message":{"text":"AbusePage.PublisherAbuseSignalInspector (cognitive 24): AbusePage.PublisherAbuseSignalInspector has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 17 (24 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/routes/-management/AbusePage.tsx"},"region":{"startLine":993}}}],"partialFingerprints":{"codehealthFindingId/v1":"159ab2f347cc598007f960f423fce7e6eb451b3ce36bcdd606ac4d42112fd2e4"}},{"ruleId":"D2","level":"warning","message":{"text":"-useSkillsBrowseModel.useSkillsBrowseModel.fetchPage (cognitive 24): -useSkillsBrowseModel.useSkillsBrowseModel.fetchPage has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (11 pts), ternaries 4 (8 pts), boolean chains 3, error handling 1, loops 1 (nesting depth added 10). Of this number, 22 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/skills/-useSkillsBrowseModel.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"66574e19e020055ba367b0bff9b577979660aae99cdf250e1293f9b441953f10"}},{"ruleId":"D2","level":"warning","message":{"text":"canonicalTrending.blendCanonicalTrendingPools (cognitive 23): canonicalTrending.blendCanonicalTrendingPools has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 4 (5 pts), boolean chains 3 (nesting depth added 9). Of this number, 15 points are the body\u0027s own statements and 8 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/canonicalTrending.ts"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"371044c28cac4ad23c96db41f421f9247b1b5ea8468074fe9a23b175fe5fc4b4"}},{"ruleId":"D2","level":"warning","message":{"text":"catalogClassifier.scoreTextCategory (cognitive 23): catalogClassifier.scoreTextCategory has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (17 pts), boolean chains 4, loops 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":"convex/lib/catalogClassifier.mjs"},"region":{"startLine":1601}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1e5d5d24c8b6b2e37846b1ba9ae7ac07f51e04209fce5bd851b1f59ee10fef0"}},{"ruleId":"D2","level":"warning","message":{"text":"catalogTextMatch.matchCatalogText (cognitive 23): catalogTextMatch.matchCatalogText has cognitive complexity 23 (threshold 15). Drivers by points: if/else 19, boolean chains 4. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/catalogTextMatch.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a8fa6e3da31bc4808109e02a0518b3a6a9dc631e1a0e261fcd8383662dfccf4"}},{"ruleId":"D2","level":"warning","message":{"text":"openClawPublishAuthorization.validateParentState (cognitive 23): openClawPublishAuthorization.validateParentState has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 16, if/else 5 (7 pts) (nesting depth added 2). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/openClawPublishAuthorization.ts"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"48ef0a580a8c406c75b6d620cfa746d85b69645d58b091eb331bb0c044e9388a"}},{"ruleId":"D2","level":"warning","message":{"text":"packages.buildPackagePluginCategoryDigestQuery (cognitive 23): packages.buildPackagePluginCategoryDigestQuery has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 6, ternaries 2 (3 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/packages.ts"},"region":{"startLine":1690}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ded25049dffe93eda1521ab73df6d87857914404c1229f1ba09cebe52e7f80"}},{"ruleId":"D2","level":"warning","message":{"text":"packages.insertPackageInspectorFindings (cognitive 23): packages.insertPackageInspectorFindings has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 7, ternaries 3 (4 pts), loops 2 (3 pts) (nesting depth added 6). Of this number, 21 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/packages.ts"},"region":{"startLine":9950}}}],"partialFingerprints":{"codehealthFindingId/v1":"42a05c6f303ca919bf819e525bfb799a294a107be1faa8805ebd1e8f1b97d8e9"}},{"ruleId":"D2","level":"warning","message":{"text":"featuredIntelligence.readMonthlyAdoption (cognitive 23): featuredIntelligence.readMonthlyAdoption has cognitive complexity 23 (threshold 15). Drivers by points: if/else 17 (38 pts), loops 7 (11 pts), boolean chains 5, ternaries 1 (3 pts), error handling 1 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (featuredIntelligence.readMonthlyAdoption::readPage) 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":"convex/featuredIntelligence.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"1af610f5ef9da8d5cc72fcaa861511c297f447ae0c27a6fb466795475f45a6f9"}},{"ruleId":"D2","level":"warning","message":{"text":"searchReportsV1.searchReportsV1Handler (cognitive 23): searchReportsV1.searchReportsV1Handler has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (12 pts), error handling 4 (7 pts), boolean chains 4 (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":"convex/httpApiV1/searchReportsV1.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"babb5e1abeae16b741a8299e71211d089a1f8e5c89f58f8822b3a1263d55ce7a"}},{"ruleId":"D2","level":"warning","message":{"text":"migrations.classifySuspiciousPublishAttemptPublicState (cognitive 23): migrations.classifySuspiciousPublishAttemptPublicState has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 5, ternaries 3 (4 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/migrations.ts"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"38efe464e1754ba7c213c7d3a1be7d8473d2ef9428e7c7ff113b8bfd36506f71"}},{"ruleId":"D2","level":"warning","message":{"text":"securityScan.requestSkillRescanForActor (cognitive 23): securityScan.requestSkillRescanForActor has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (14 pts), ternaries 3 (5 pts), boolean chains 4 (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":"convex/securityScan.ts"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"92890631c29334cdec7e641bb0af0a79a41e16dc2e7d6301cc6b63bed543e94b"}},{"ruleId":"D2","level":"warning","message":{"text":"skillsShClaims.applySkillsShTestClaimVerdictHandler (cognitive 23): skillsShClaims.applySkillsShTestClaimVerdictHandler has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (14 pts), ternaries 5, boolean chains 4 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skillsShClaims.ts"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8b24ec8c19cb38ff8dbb4e2dfbcb8cb7e9c2a053bdf5d53d85d6001c5ee37d5"}},{"ruleId":"D2","level":"warning","message":{"text":"skills.cmdSearch (cognitive 23): skills.cmdSearch has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (11 pts), ternaries 4 (5 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 5). Most of this is not in the body itself: 6 of the 23 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 313, 347). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/skills.ts"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"d675e9e64162dab26ffd530d0a1bab83c01a7f770dcbc3938ab3d8e7a2598290"}},{"ruleId":"D2","level":"warning","message":{"text":"packages.cmdExportPackageValidationReport (cognitive 23): packages.cmdExportPackageValidationReport has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 4 (6 pts), ternaries 2 (4 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/packages.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8bb306c42c0dbac620e1fcd65271951d1692d408922d2d6f95d71e4a6c62d09"}},{"ruleId":"D2","level":"warning","message":{"text":"experimentalTemplateFeed.parseExperimentalTemplateFeed (cognitive 23): experimentalTemplateFeed.parseExperimentalTemplateFeed has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (18 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/experimentalTemplateFeed.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"6db0e150ffd4f4d44a2002e23eae6637bec3b68ad4b38bd6304a3fc9036c3983"}},{"ruleId":"D2","level":"warning","message":{"text":"skillsShCatalogSource.buildSkillsShMirrorObservation (cognitive 23): skillsShCatalogSource.buildSkillsShMirrorObservation has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 7, ternaries 6, error handling 1 (2 pts) (nesting depth added 4). Of this number, 22 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/skillsShCatalogSource.ts"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a2b04acd2f32e6922a144117175650342f148fbb58e2ca700fbeb83258e6246"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillDiffCard.cssColor4ToHex (cognitive 23): SkillDiffCard.cssColor4ToHex has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (13 pts), ternaries 6 (9 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":"src/components/SkillDiffCard.tsx"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb807e872ae4a787a1f4b84de30e45b6c546ff1904336ba8d9aafbfb6f8d23ec"}},{"ruleId":"D2","level":"warning","message":{"text":"catalogClassificationNode.classifyCatalogInternalHandler (cognitive 22): catalogClassificationNode.classifyCatalogInternalHandler has cognitive complexity 22 (threshold 15). Drivers by points: if/else 4 (8 pts), ternaries 2 (7 pts), error handling 1 (3 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/catalogClassificationNode.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"626a9cb24e99cdbef911a29c1e7e3cba92c4402ed18d5919c274b911d48d697d"}},{"ruleId":"D2","level":"warning","message":{"text":"catalogFeed.buildEntry (cognitive 22): catalogFeed.buildEntry has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 6, ternaries 4 (5 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/catalogFeed.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"17c868df02a8ba5d41204532947f7855de89ef9e4ff8d1d65524e4151215342e"}},{"ruleId":"D2","level":"warning","message":{"text":"packageCatalogRead.digestMatchesFilters (cognitive 22): packageCatalogRead.digestMatchesFilters has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 5 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/packageCatalogRead.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"279b5fe4f031393b3f178b5609ac5dae9843e222a2ba1f28b24d41ba50485610"}},{"ruleId":"D2","level":"warning","message":{"text":"packageSdkUsage.recordPackageInspectorScan (cognitive 22): packageSdkUsage.recordPackageInspectorScan has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 9 (13 pts), boolean chains 6, if/else 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/packageSdkUsage.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"e53c96f80040fd0be99b4c244e2c30ddb48cc9dbf05de76cac9e1fe640b4f8ee"}},{"ruleId":"D2","level":"warning","message":{"text":"packages.takeVisiblePackageCategoryDigestPage (cognitive 22): packages.takeVisiblePackageCategoryDigestPage has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 4, ternaries 2, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/packages.ts"},"region":{"startLine":1925}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e8a79cb8008b16395de581366037c56dc434e206af152bd3ee04f0e4db3c27c"}},{"ruleId":"D2","level":"warning","message":{"text":"canonicalSkillSearchResponse.serializeCanonicalSkillSearchResults (cognitive 22): canonicalSkillSearchResponse.serializeCanonicalSkillSearchResults has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 14 (18 pts), if/else 2 (3 pts), boolean chains 1 (nesting depth added 5). None of this is in the body itself: all 22 points belong to one function literal inside it that branches (line 38). 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":"convex/lib/canonicalSkillSearchResponse.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"00ecbd8478fdab6c75cc95a3205350cf9c225cdef903b6c4e20aee8abf2136be"}},{"ruleId":"D2","level":"warning","message":{"text":"featuredV1.featuredV1Handler (cognitive 22): featuredV1.featuredV1Handler has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 7, ternaries 3 (4 pts), error handling 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/featuredV1.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"d621cf1f436c5d6a54553c7ef14b94d06dbf0d52ce0b96ca507be1c1f6e672ec"}},{"ruleId":"D2","level":"warning","message":{"text":"skillsV1.skillScanGetRouterV1Handler (cognitive 22): skillsV1.skillScanGetRouterV1Handler has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (12 pts), ternaries 3 (6 pts), boolean chains 3, error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":1200}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad5075c9c5a61a62b27ab6784d90a67f9d0053bc05185676997a5e12edd50686"}},{"ruleId":"D2","level":"warning","message":{"text":"skillsV1.listSkillsV1Handler (cognitive 22): skillsV1.listSkillsV1Handler has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 8, ternaries 7 (8 pts), if/else 6 (nesting depth added 1). Of this number, 20 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":1447}}}],"partialFingerprints":{"codehealthFindingId/v1":"53203251c15f9302e0e68483262a0ce26d06e8e59820bcee78f28ec2093717ac"}},{"ruleId":"D2","level":"warning","message":{"text":"usersV1.handleAdminReserve (cognitive 22): usersV1.handleAdminReserve has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 7 (11 pts), error handling 2 (4 pts), if/else 4, loops 2, boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/usersV1.ts"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a67af2108bde2f6ffc6d82306a5292c685a8098644461ecf39cd93cb58175c9"}},{"ruleId":"D2","level":"warning","message":{"text":"skillsShCatalogSource.fetchSkillsShMirrorControlledBatch (cognitive 22): skillsShCatalogSource.fetchSkillsShMirrorControlledBatch has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 2, error handling 1 (2 pts), loops 1 (nesting depth added 8). Most of this is not in the body itself: 2 of the 22 points are its own statements and the rest belongs to one function literal inside it that branches (line 2382). 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":"server/skillsShCatalogSource.ts"},"region":{"startLine":2352}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ea900fd886f22aaf2b098b6da82da5e637b7e98d0f5b2841a55787ae300bfae"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillSecurityScanResults.SkillSpectorContent (cognitive 22): SkillSecurityScanResults.SkillSpectorContent has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 13 (15 pts), boolean chains 6, if/else 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/SkillSecurityScanResults.tsx"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbd8d1701a1f4b2b1218b29a350b64097f8a6915fa4fad5787144083b8035d37"}},{"ruleId":"D2","level":"warning","message":{"text":"HomePopularPublishersSection.HomePopularPublishersSection (cognitive 22): HomePopularPublishersSection.HomePopularPublishersSection has cognitive complexity 22 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 4, ternaries 2, error handling 1 (nesting depth added 2). Most of this is not in the body itself: 2 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 61, handlePointerMove, handlePointerDown, \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/HomePopularPublishersSection.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dfb60314e8249e8c539268b6c96c07911c60d59d95888d8ae02287e73a2820a"}},{"ruleId":"D2","level":"warning","message":{"text":"DashboardDownloadsInsights.DashboardDownloadsInsights (cognitive 22): DashboardDownloadsInsights.DashboardDownloadsInsights has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 13 (18 pts), boolean chains 3, if/else 1 (nesting depth added 5). Of this number, 17 points are the body\u0027s own statements and 5 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/components/dashboard/DashboardDownloadsInsights.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"060c52fda2e039e6f9883800803c3444c445cadfdf7ff07884f8e548993ff89b"}},{"ruleId":"D2","level":"warning","message":{"text":"DashboardNeedsAttention.DashboardNeedsAttention (cognitive 22): DashboardNeedsAttention.DashboardNeedsAttention has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 10 (13 pts), if/else 6 (7 pts), boolean chains 2 (nesting depth added 4). 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 literals inside it that branch (lines 145, 83, 105, \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/dashboard/DashboardNeedsAttention.tsx"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"8513c5567f9d1a62f522e150f1c137e0486b88a8e975903f4c30fcce0d110f97"}},{"ruleId":"D2","level":"warning","message":{"text":"ReportsPage.ReportsPage (cognitive 22): ReportsPage.ReportsPage has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 8 (22 pts) (nesting depth added 14). Most of this is not in the body itself: 3 of the 22 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 49, 70). 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/routes/-management/ReportsPage.tsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"21be4fc533c8e8834995b325280e15208f65e8debe54320b00ec69dfbc74f166"}},{"ruleId":"D2","level":"warning","message":{"text":"-useSkillsBrowseModel.useSkillsBrowseModel.sorted (cognitive 22): -useSkillsBrowseModel.useSkillsBrowseModel.sorted has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 9, ternaries 9, if/else 3, match/switch 1. Most of this is not in the body itself: 5 of the 22 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 385, 362, 370, \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/routes/skills/-useSkillsBrowseModel.ts"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c118624708dc948a1e758d54f2e1f5f32ae1010405b75800e3f23cf29fc80e0"}},{"ruleId":"D2","level":"warning","message":{"text":"downloads.parseArchiveMetricPayload (cognitive 21): downloads.parseArchiveMetricPayload has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11, boolean chains 10. 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":"convex/downloads.ts"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c2b3d9c3ed6781b5ff9e03155df337c37361beed651deeca30e0d43d299c612"}},{"ruleId":"D2","level":"warning","message":{"text":"githubImport.parseGitHubImportUrl (cognitive 21): githubImport.parseGitHubImportUrl has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 5, error handling 2 (nesting depth added 3). Of this number, 20 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/githubImport.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"06825f3be7a4c659a9e10f6d7ac50055c7d33cad7390da6bed98f46a76d9a6b2"}},{"ruleId":"D2","level":"warning","message":{"text":"skillPresentation.resolveSkillPresentation (cognitive 21): skillPresentation.resolveSkillPresentation has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 9 (18 pts), boolean chains 3 (nesting depth added 9). Of this number, 20 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/skillPresentation.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"b290d19cbe4c91ee95a2becad5fd7f34839c9d50590d04650dc0394b2529d128"}},{"ruleId":"D2","level":"warning","message":{"text":"packageSdkUsage.replacePackageSdkUsage (cognitive 21): packageSdkUsage.replacePackageSdkUsage has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 6 (10 pts), boolean chains 4, if/else 4, loops 3 (nesting depth added 4). Of this number, 20 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/packageSdkUsage.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"175c198a87d65dfb0d02e83fa645706c5cb3f4f503c78e6627169ea526ec88ce"}},{"ruleId":"D2","level":"warning","message":{"text":"packages.listOfficialFirstPackageCategoryPage (cognitive 21): packages.listOfficialFirstPackageCategoryPage has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 7 (14 pts), if/else 3 (5 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/packages.ts"},"region":{"startLine":4356}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5a0d5d6f4293b619059ac38189491befbfe2851587251843ebe6ed9946f2d8d"}},{"ruleId":"D2","level":"warning","message":{"text":"skills.updateSkillTagsForActor (cognitive 21): skills.updateSkillTagsForActor has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 3, loops 3, ternaries 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skills.ts"},"region":{"startLine":8526}}}],"partialFingerprints":{"codehealthFindingId/v1":"144e147067e86411d88f70418a54fa27ed901ded6613ec3836104abd26cfaf40"}},{"ruleId":"D2","level":"warning","message":{"text":"packagesV1.parseMultipartPackagePublish (cognitive 21): packagesV1.parseMultipartPackagePublish has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (15 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":1060}}}],"partialFingerprints":{"codehealthFindingId/v1":"40421c36f601ff28f33388d46b4b7a317a7116c8c35b8d559079302b9552b31d"}},{"ruleId":"D2","level":"warning","message":{"text":"publisherCatalogDisplay.buildGitHubSkillCatalogDisplay (cognitive 21): publisherCatalogDisplay.buildGitHubSkillCatalogDisplay has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (7 pts), loops 3 (6 pts), ternaries 4 (5 pts), boolean chains 3 (nesting depth added 7). Of this number, 19 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":"convex/lib/publisherCatalogDisplay.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"049641721dd10006591713d7f1b6d0aba5e3166723aa5447cd097166cddf319a"}},{"ruleId":"D2","level":"warning","message":{"text":"maintenance.backfillUserStatsInternalHandler (cognitive 21): maintenance.backfillUserStatsInternalHandler has cognitive complexity 21 (threshold 15). Drivers by points: if/else 3 (11 pts), loops 4 (10 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/maintenance.ts"},"region":{"startLine":1152}}}],"partialFingerprints":{"codehealthFindingId/v1":"519941b0235c6e70d1a8a3b032bca79a2ae99843154eb5035e121157bfff7c6b"}},{"ruleId":"D2","level":"warning","message":{"text":"publisherAbuse.hasStaffPublisherManager (cognitive 21): publisherAbuse.hasStaffPublisherManager has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (17 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/publisherAbuse.ts"},"region":{"startLine":2287}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6fd7e508f67b0f7a16de46893ac8d07ee9bcfb330a373d8dc53e7457697b8c7"}},{"ruleId":"D2","level":"warning","message":{"text":"deviceAuth.pollForDeviceToken (cognitive 21): deviceAuth.pollForDeviceToken has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (15 pts), error handling 1 (2 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/deviceAuth.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"4847027f124aa737abe6eefb727d705f947d15a57799ed2937953294a55a10a4"}},{"ruleId":"D2","level":"warning","message":{"text":"packages.cmdExplorePackages (cognitive 21): packages.cmdExplorePackages has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (13 pts), ternaries 3 (4 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 6). Most of this is not in the body itself: 1 of the 21 points is its own statement and the rest belongs to one function literal inside it that branches (line 325). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/packages.ts"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad991f2bace2a5ff9cf7345f90435c377775835e4763292080515da71716533e"}},{"ruleId":"D2","level":"warning","message":{"text":"moderation.cmdRecoverPersonalPublisher (cognitive 21): moderation.cmdRecoverPersonalPublisher has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (12 pts), ternaries 5 (6 pts), boolean chains 3 (nesting depth added 4). Of this number, 15 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/moderation.ts"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab9abd258d400df43345b5a835a53a0b2fd24e5d839c91cd44fd0e90ad4c21ab"}},{"ruleId":"D2","level":"warning","message":{"text":"skillsShCatalogSource.buildSkillsShMirrorUpstreamScanners (cognitive 21): skillsShCatalogSource.buildSkillsShMirrorUpstreamScanners has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 5, error handling 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/skillsShCatalogSource.ts"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f60b52244575b52865cfefa234539d478d10e779047427d3d182a7d2dd19f94"}},{"ruleId":"D2","level":"warning","message":{"text":"convexProxy.parseSkillExportArchiveManifest (cognitive 21): convexProxy.parseSkillExportArchiveManifest has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 3, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/convexProxy.ts"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"e27242b7ccea6bccb9d5255a2af3443e2f5f5d6baadd4187ba5b04456632e2dc"}},{"ruleId":"D2","level":"warning","message":{"text":"Header.SearchTypeahead (cognitive 21): Header.SearchTypeahead has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 11 (14 pts), boolean chains 7 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Header.tsx"},"region":{"startLine":893}}}],"partialFingerprints":{"codehealthFindingId/v1":"d65df1b633648b6c39c7b34d07abbd79e66882c66b2277bb1c9e1532bc4a6c91"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillDetailPage.buildStaffVisibilityAlert (cognitive 21): SkillDetailPage.buildStaffVisibilityAlert has cognitive complexity 21 (threshold 15). Drivers by points: if/else 16, boolean chains 5. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/SkillDetailPage.tsx"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"c751d11b1fcf379bb658104ac757cba4817259782365e575c86c35ad7a6d2984"}},{"ruleId":"D2","level":"warning","message":{"text":"DownloadsPage.DownloadsPage (cognitive 21): DownloadsPage.DownloadsPage has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 13, boolean chains 5, if/else 2, error handling 1. Of this number, 16 points are the body\u0027s own statements and 5 belong to 4 function items inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/-management/DownloadsPage.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"734566e896e715a9df3c5d145c28554c0a7a01404420fd93c30168903030ac82"}},{"ruleId":"D2","level":"warning","message":{"text":"addTopicTextEvidence (cognitive 21): addTopicTextEvidence has cognitive complexity 21 (threshold 15). Drivers by points: if/else 2 (6 pts), ternaries 2 (6 pts), loops 3 (5 pts), other 4 (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":"convex/lib/catalogClassifier.mjs"},"region":{"startLine":1834}}}],"partialFingerprints":{"codehealthFindingId/v1":"a09787564ed4e054a946a7c752d4fd8d7cfdf58b2f9f57c4a96c38387ba95b37"}},{"ruleId":"D2","level":"warning","message":{"text":"skillMarkdown.toJsonValue (cognitive 20): skillMarkdown.toJsonValue has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (12 pts), ternaries 3 (6 pts), loops 1 (2 pts) (nesting depth added 6). Of this number, 18 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/skills/skillMarkdown.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac311de309cea45dba3ffd3fd8800f1448685ccd21702c69d5558fc32eb3ad7c"}},{"ruleId":"D2","level":"warning","message":{"text":"packageCatalogRead.packageMatchesListFilters (cognitive 20): packageCatalogRead.packageMatchesListFilters has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 8 (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":"convex/lib/packageCatalogRead.ts"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cca178e5596b59df205bea318b26ceb91fc6aa79f35d45019bad3d8e9457270"}},{"ruleId":"D2","level":"warning","message":{"text":"publishAttemptOperationalRecovery.retryFailedPublishAttemptChecks (cognitive 20): publishAttemptOperationalRecovery.retryFailedPublishAttemptChecks has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9, boolean chains 8, ternaries 3. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/publishAttemptOperationalRecovery.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"e70659f415602c232151bebff22d557779da8041b4275ec9c627775377b5efc6"}},{"ruleId":"D2","level":"warning","message":{"text":"skills.isOwnerInitiatedSkillHideForAdminTransfer (cognitive 20): skills.isOwnerInitiatedSkillHideForAdminTransfer has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 7, ternaries 3 (4 pts), error handling 1 (nesting depth added 3). Of this number, 13 points are the body\u0027s own statements and 7 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":"convex/skills.ts"},"region":{"startLine":11385}}}],"partialFingerprints":{"codehealthFindingId/v1":"540281cba7f2dc60be95e38a32304a587961c68daf089dc08501da1f1d25cdbb"}},{"ruleId":"D2","level":"warning","message":{"text":"packagesV1.buildPackageReadiness (cognitive 20): packagesV1.buildPackageReadiness has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 14 (15 pts), boolean chains 5 (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":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":4598}}}],"partialFingerprints":{"codehealthFindingId/v1":"8af6e91901496759499eff1afed98549d561cc6ee8625e0608febd3d0978212f"}},{"ruleId":"D2","level":"warning","message":{"text":"packageInspectorHttp.packageInspectorArtifactHttp (cognitive 20): packageInspectorHttp.packageInspectorArtifactHttp has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (16 pts), ternaries 2 (3 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/packageInspectorHttp.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"23d679e6c3c7d727d027cb30eca784f0641a390a087f1b64d0f5c1264d1d07d9"}},{"ruleId":"D2","level":"warning","message":{"text":"managedMcpBundle.buildManagedMcpBundle (cognitive 20): managedMcpBundle.buildManagedMcpBundle has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 14 (19 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/managedMcpBundle.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e2acf65cbc937ee70bc30e145560c59f887fb5e33d5c6995749ea304afb9a66"}},{"ruleId":"D2","level":"warning","message":{"text":"userSearch.scoreUser (cognitive 20): userSearch.scoreUser has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 4 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/userSearch.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"82d550131e312203793f529f412eb4832b8e65f70f13acc5e888839f945f41ef"}},{"ruleId":"D2","level":"warning","message":{"text":"publishers.getUserPublisherOgAffiliations (cognitive 20): publishers.getUserPublisherOgAffiliations has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (14 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/publishers.ts"},"region":{"startLine":1002}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e5ff9129080908a0d8c57fc881529aa5fc5f473d1f3a1b4907f76396679b860"}},{"ruleId":"D2","level":"warning","message":{"text":"moderation.cmdReclassifyBan (cognitive 20): moderation.cmdReclassifyBan has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (12 pts), ternaries 5 (6 pts), boolean chains 2 (nesting depth added 3). Of this number, 15 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/moderation.ts"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"813a4f3a076d3a190488113af2a34167cefaf04ec9f0e5e2d80215f1c1804fb9"}},{"ruleId":"D2","level":"warning","message":{"text":"packages.cmdListPackageMigrations (cognitive 20): packages.cmdListPackageMigrations has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 3, ternaries 1 (3 pts), loops 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/packages.ts"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fbac77d07c1033f252391a7e9f1d98bc3b1c1440b82216907cb3a2e6c2ffdae"}},{"ruleId":"D2","level":"warning","message":{"text":"inspect.cmdVerifySkill (cognitive 20): inspect.cmdVerifySkill has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 3, ternaries 1 (nesting depth added 3). Most of this is not in the body itself: 7 of the 20 points are its own statements and the rest belongs to one function literal inside it that branches (line 310). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/inspect.ts"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"8df6689a071e442bb6337aea762e6842cc32efb65b65aed8918a7bb4d7b9e0f4"}},{"ruleId":"D2","level":"warning","message":{"text":"skillsShCatalogSource.parseSkillsShMirrorProofSnapshotId (cognitive 20): skillsShCatalogSource.parseSkillsShMirrorProofSnapshotId has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 7, ternaries 4, error handling 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/skillsShCatalogSource.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"259288e73cceea4652ff301a6ffcab3d42c5578c48b378633777da7932c874d1"}},{"ruleId":"D2","level":"warning","message":{"text":"CatalogTopicInput.CatalogTopicInput (cognitive 20): CatalogTopicInput.CatalogTopicInput has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (9 pts), ternaries 5 (7 pts), boolean chains 4 (nesting depth added 3). Most of this is not in the body itself: 8 of the 20 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 148, commitDraft, a function literal at line 98, \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/CatalogTopicInput.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"adc4919d18e06899f82c035289641feda6d49340a34f394926c51852c04c33b4"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillOwnershipPanel.SkillOwnershipPanel (cognitive 20): SkillOwnershipPanel.SkillOwnershipPanel has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 8, boolean chains 7, error handling 3, if/else 2. Of this number, 11 points are the body\u0027s own statements and 9 belong to 4 function items inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/SkillOwnershipPanel.tsx"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"acb112e3ffe33244271446d176a4a6b4dda316723205f6e4b1195a9834269998"}},{"ruleId":"D2","level":"warning","message":{"text":"$name.buildValidationAgentFixPrompt::appendFindings (cognitive 20): $name.buildValidationAgentFixPrompt::appendFindings has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (9 pts), ternaries 3 (6 pts), loops 2 (4 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":"src/routes/plugins/$name.tsx"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"526c92cf6954adaf32d1ddd3de428f9ce1423949d009018e5fc49247fe59ba7f"}},{"ruleId":"D2","level":"warning","message":{"text":"$name.PluginValidationFindingCard (cognitive 20): $name.PluginValidationFindingCard has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 13 (17 pts), boolean chains 2, if/else 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/plugins/$name.tsx"},"region":{"startLine":876}}}],"partialFingerprints":{"codehealthFindingId/v1":"96334d4d3cd479dfe263b475ccb9c2576852e94496edfd47ce95d80e6dee66f6"}},{"ruleId":"D2","level":"warning","message":{"text":"httpRateLimit.applyRateLimit (cognitive 19): httpRateLimit.applyRateLimit has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (10 pts), ternaries 3 (6 pts), boolean chains 3 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/httpRateLimit.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"af7269860f80c545e716e050628e66a19d6a5b8d36440cc8f77debdc5c1a368b"}},{"ruleId":"D2","level":"warning","message":{"text":"shared.parseMultipartPublish (cognitive 19): shared.parseMultipartPublish has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 11, boolean chains 3, error handling 2, if/else 2, loops 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":"convex/httpApiV1/shared.ts"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec4e526f0e6efb040ef3242ab3bd3faa2c67f4cd4636478fdac27d26871d1b16"}},{"ruleId":"D2","level":"warning","message":{"text":"packages.transferPackageOwnerForUser (cognitive 19): packages.transferPackageOwnerForUser has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 9 (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":"convex/packages.ts"},"region":{"startLine":9548}}}],"partialFingerprints":{"codehealthFindingId/v1":"f81f43bb3d02526f62191d1e1d5641c406e9942d36e1ea4e39856780b231af1a"}},{"ruleId":"D2","level":"warning","message":{"text":"featuredIntelligence.readMonthlyAdoption::readPage (cognitive 19): featuredIntelligence.readMonthlyAdoption::readPage has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (featuredIntelligence.readMonthlyAdoption) 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":"convex/featuredIntelligence.ts"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"81fc35593a14d575e2000982b37765e2d723553202c49227f7bb14574f0d5763"}},{"ruleId":"D2","level":"warning","message":{"text":"skillQuality.evaluateQuality (cognitive 19): skillQuality.evaluateQuality has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 8 (12 pts), boolean chains 4, if/else 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/skillQuality.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c630f1a1950f8d0eb184ce87e92d595ce6dd6b8e54ff973a732bdc720d6936b"}},{"ruleId":"D2","level":"warning","message":{"text":"skills.revokeSkillVersionForUser (cognitive 19): skills.revokeSkillVersionForUser has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (11 pts), ternaries 3 (5 pts), boolean chains 3 (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":"convex/skills.ts"},"region":{"startLine":8022}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4e9499cca3671b5a6cf5cb3c0b94a367e2a49f2052a34f765fc5c16e5952f8e"}},{"ruleId":"D2","level":"warning","message":{"text":"githubSkillSync.fetchPublicGitHubRepoMetadata (cognitive 19): githubSkillSync.fetchPublicGitHubRepoMetadata has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 7, if/else 5 (6 pts), ternaries 6 (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":"convex/githubSkillSync.ts"},"region":{"startLine":3130}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff7c1e08bd0abe0d98c5c7d1165b0e8ac1027578c25fef34475d6fa26ca35b3b"}},{"ruleId":"D2","level":"warning","message":{"text":"httpRouteRateLimit.resolveDefaultRouteRateLimit (cognitive 19): httpRouteRateLimit.resolveDefaultRouteRateLimit has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 5 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/httpRouteRateLimit.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5309164777f6183247cfbefa89ff64e2bfb1c713c1e827ac31d5ed597dc9180"}},{"ruleId":"D2","level":"warning","message":{"text":"skillsV1.handleTransferRequest (cognitive 19): skillsV1.handleTransferRequest has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 6 (9 pts), if/else 5, boolean chains 4, error handling 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":2736}}}],"partialFingerprints":{"codehealthFindingId/v1":"b55e9079d0260dc9f35c2182e7c4506904d3804b6fdf5082ff7abc290b9921a0"}},{"ruleId":"D2","level":"warning","message":{"text":"packageInspectorHttp.packageInspectorClaimHttp (cognitive 19): packageInspectorHttp.packageInspectorClaimHttp has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 8, ternaries 8, if/else 3. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/packageInspectorHttp.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"b23033f0e6b455cc3ab0d3423dc03fb6a19c47f7172cb10ed4d90225f0220657"}},{"ruleId":"D2","level":"warning","message":{"text":"maintenance.repairLegacyPluginSkillSpectorBatchInternalHandler (cognitive 19): maintenance.repairLegacyPluginSkillSpectorBatchInternalHandler has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (14 pts), ternaries 2 (3 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/maintenance.ts"},"region":{"startLine":1448}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c062b07fe95230a33a928da04b52baefb0a168d50a379054cf4637b240286ed"}},{"ruleId":"D2","level":"warning","message":{"text":"migrations.processPluginManifestSummaryBackfillCandidates (cognitive 19): migrations.processPluginManifestSummaryBackfillCandidates has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (15 pts), ternaries 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/migrations.ts"},"region":{"startLine":1315}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e5af3559a6fc60a0ecdb655843c97232a400a7b820305cb0e3af08bf2e8d75c"}},{"ruleId":"D2","level":"warning","message":{"text":"publisherAbuseTemporalScan.advanceScheduledTemporalPercentileInternalHandler (cognitive 19): publisherAbuseTemporalScan.advanceScheduledTemporalPercentileInternalHandler has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 9 (14 pts), if/else 4, boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/publisherAbuseTemporalScan.ts"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5af742c7416fd29af3da85aaac141cc0588412085f9d752b47f7a0c0db769d1"}},{"ruleId":"D2","level":"warning","message":{"text":"publishers.ensureOrgPublisherHandleWithActor (cognitive 19): publishers.ensureOrgPublisherHandleWithActor has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 6, ternaries 3 (5 pts) (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":"convex/publishers.ts"},"region":{"startLine":1349}}}],"partialFingerprints":{"codehealthFindingId/v1":"56aa180a0c032487f6b7f7685bc9df69c924b5d28f58d5578f5a196ffaff717c"}},{"ruleId":"D2","level":"warning","message":{"text":"users.computeEnsureUpdates (cognitive 19): users.computeEnsureUpdates has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 7, if/else 6, ternaries 4 (6 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/users.ts"},"region":{"startLine":957}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ec5998fc53ccefc7a80df6d7fd28519962b846a01ae8be3f1dfafdd6804e02f"}},{"ruleId":"D2","level":"warning","message":{"text":"github.fetchGitHub (cognitive 19): github.fetchGitHub has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (16 pts), error handling 1 (2 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/github.ts"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a94237ec922f47dd5926e5120fc42767cc6375db6b584b29dae2e96eb8a46e4"}},{"ruleId":"D2","level":"warning","message":{"text":"packages.cmdListPackageReports (cognitive 19): packages.cmdListPackageReports has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (12 pts), ternaries 1 (3 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/packages.ts"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"546f10387e19511b5d727cd7b3c1357da5dc19f152deb4a8f940031ba425cdb8"}},{"ruleId":"D2","level":"warning","message":{"text":"promotions.cmdListPromotions (cognitive 19): promotions.cmdListPromotions has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 5 (10 pts), if/else 4 (6 pts), loops 2, boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/promotions.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"0782e669f4b79221441b21d1d2155e4856671284c8769da9d858a03163b5c134"}},{"ruleId":"D2","level":"warning","message":{"text":"publisherOgSvg.wrapTextWithoutEllipsis (cognitive 19): publisherOgSvg.wrapTextWithoutEllipsis has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 3 (5 pts), boolean chains 3, loops 2 (nesting depth added 5). Of this number, 12 points are the body\u0027s own statements and 7 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/og/publisherOgSvg.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff1d25070afbacae1fdd0f770142bf642cb7a67ae3faca3fc034b0523495b4b1"}},{"ruleId":"D2","level":"warning","message":{"text":"profile.png.default (cognitive 19): profile.png.default has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 11, ternaries 7, if/else 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/routes/og/profile.png.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea6fa99667ce97aa36986df2e83295c96114fa506e0943ce914f35efb1145745"}},{"ruleId":"D2","level":"warning","message":{"text":"googleAnalytics.createGoogleAnalytics.update (cognitive 19): googleAnalytics.createGoogleAnalytics.update has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 4, ternaries 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/googleAnalytics.ts"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"bed0652570a06d6cb3c971c83189e83ae3dfa1d604faa4f15f37fa8cdc5701d2"}},{"ruleId":"D2","level":"warning","message":{"text":"browseTopicSearch.parseBrowseTopicFromSearchInput (cognitive 19): browseTopicSearch.parseBrowseTopicFromSearchInput has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (13 pts), ternaries 2 (3 pts), boolean chains 2, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/browseTopicSearch.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"f04774077f9945db63c46a0f169db4209ac41a4413ffe7ff3f623ec6545ccd51"}},{"ruleId":"D2","level":"warning","message":{"text":"stars.Stars (cognitive 19): stars.Stars has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 7 (10 pts), if/else 7, boolean chains 2 (nesting depth added 3). Of this number, 15 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/stars.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dfa0f90886a17780bcf59694478bcb9bbeb6cb499f3e7abab15389ed5e8a2e4"}},{"ruleId":"D2","level":"warning","message":{"text":"security-audit.SkillSecurityAuditRoutePage (cognitive 19): security-audit.SkillSecurityAuditRoutePage has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 8 (9 pts), boolean chains 8, if/else 2 (nesting depth added 1). Of this number, 16 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/$owner/$slug/security-audit.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eda155b2e046945b7092383b492b872888da27b66ea2e065ed3b0c89651c204"}},{"ruleId":"D2","level":"warning","message":{"text":"verifiedClientIp.getVerifiedClientIp (cognitive 18): verifiedClientIp.getVerifiedClientIp has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 6, error handling 2 (3 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/verifiedClientIp.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"48b02ee639b8d12f39410f79cab4d0a6a9231b58378cc92303241a171b2751f1"}},{"ruleId":"D2","level":"warning","message":{"text":"publishers.assertCanManageOwnedResource (cognitive 18): publishers.assertCanManageOwnedResource has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 4 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/publishers.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"c768ea59d1f3ad634f1556657b0f39c9a08ef768421bb52f35bf8c9d3d680b1a"}},{"ruleId":"D2","level":"warning","message":{"text":"githubSkillSync.parseSkillsShDisplayManifest (cognitive 18): githubSkillSync.parseSkillsShDisplayManifest has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6, ternaries 6, boolean chains 5, error handling 1. Of this number, 10 points are the body\u0027s own statements and 8 belong to one function literal inside it that branches. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/githubSkillSync.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"db450c5737267e420b897032e7f993979f0e7e2ff6114301a92fa948c8d3fc78"}},{"ruleId":"D2","level":"warning","message":{"text":"clawpack.parseClawPack (cognitive 18): clawpack.parseClawPack has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (10 pts), error handling 3 (4 pts), ternaries 3, boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/clawpack.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"01cbe1b1b3593cde7159b90f86bf6138295c40492127ce4082ee6585c5bf07c1"}},{"ruleId":"D2","level":"warning","message":{"text":"packages.toPublicPackage (cognitive 18): packages.toPublicPackage has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 6 (8 pts), boolean chains 6, if/else 4 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/packages.ts"},"region":{"startLine":939}}}],"partialFingerprints":{"codehealthFindingId/v1":"57cf1a7a9194b1bf577cd5b4c08cefe58333c6e5a4a6682ad265e6bd3c62fb93"}},{"ruleId":"D2","level":"warning","message":{"text":"packages.buildPackageTopicDigestQuery (cognitive 18): packages.buildPackageTopicDigestQuery has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 5, ternaries 2 (3 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/packages.ts"},"region":{"startLine":1793}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcbc948861d585ef4c16b01a70c1558daaaff4b1f7ef38875affacaf4fb376ac"}},{"ruleId":"D2","level":"warning","message":{"text":"packages.getReadablePackageByName (cognitive 18): packages.getReadablePackageByName has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 5, ternaries 2 (4 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/packages.ts"},"region":{"startLine":2081}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea5c7d585206b9e8afc01c75b1d2a9399ff57cb3aa44a059c38ccecff8da4538"}},{"ruleId":"D2","level":"warning","message":{"text":"packages.runPackagePublishPostFinalizeFollowups (cognitive 18): packages.runPackagePublishPostFinalizeFollowups has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 3 (7 pts), if/else 5 (6 pts), error handling 1 (3 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/packages.ts"},"region":{"startLine":9230}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf9f94e5c706a128f3d532e74e8b471b4c20d541b08ec751c58f8a9bff183158"}},{"ruleId":"D2","level":"warning","message":{"text":"featuredArtifacts.readSkill (cognitive 18): featuredArtifacts.readSkill has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 5, ternaries 4 (5 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/featuredArtifacts.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"333d1a0f14f3059a65dcf6867ed7769ba94c3611a69d84933a37bb2fa1ada361"}},{"ruleId":"D2","level":"warning","message":{"text":"skills.compactSecurityVerdictVersion (cognitive 18): skills.compactSecurityVerdictVersion has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 10 (18 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":"convex/skills.ts"},"region":{"startLine":2742}}}],"partialFingerprints":{"codehealthFindingId/v1":"262279c16838f803f014e6d9a9e619431e56e78a04f8c8848099b6eb1a9ab79a"}},{"ruleId":"D2","level":"warning","message":{"text":"githubSkillSync.syncGitHubSkillSourcesHandler (cognitive 18): githubSkillSync.syncGitHubSkillSourcesHandler has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 4, error handling 1 (2 pts), ternaries 1 (2 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/githubSkillSync.ts"},"region":{"startLine":2842}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f43081876f353aca6563c5c5788fc8fb908066a62c0b39bb9b9961d61bba43d"}},{"ruleId":"D2","level":"warning","message":{"text":"promotionsV1.promotionsPostRouterV1Handler (cognitive 18): promotionsV1.promotionsPostRouterV1Handler has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (9 pts), error handling 3 (4 pts), boolean chains 3, ternaries 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/promotionsV1.ts"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"b25389dcf636367378f011a1abedaec0834d4ae8cf54d002bab326548e6eec54"}},{"ruleId":"D2","level":"warning","message":{"text":"usersV1.handleAdminOfficialPublisherPost (cognitive 18): usersV1.handleAdminOfficialPublisherPost has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (10 pts), ternaries 5 (6 pts), boolean chains 1, error handling 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/usersV1.ts"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f1138d8543718bcf5a46869c9250965308d3341198b9845ee64d5d73b171df5"}},{"ruleId":"D2","level":"warning","message":{"text":"maintenance.inspectSkillLineageCycleInternalHandler (cognitive 18): maintenance.inspectSkillLineageCycleInternalHandler has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8, boolean chains 7, ternaries 3. Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/maintenance.ts"},"region":{"startLine":3401}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9307163ad0de30667f84afb2519555f057565586c4e5c7d9c6b8c39d8047092"}},{"ruleId":"D2","level":"warning","message":{"text":"pluginCategoryRefresh.readRefreshManifests (cognitive 18): pluginCategoryRefresh.readRefreshManifests has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (15 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 6). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/pluginCategoryRefresh.ts"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"728183d932cd8d97d539abf1cfc8d0984f0a8851efce6387aa266df9b409aec7"}},{"ruleId":"D2","level":"warning","message":{"text":"users.hasStaffPublisherManager (cognitive 18): users.hasStaffPublisherManager has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (11 pts), loops 3 (6 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":"convex/users.ts"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"15f6addd4e3373b185a1c0aa5649127cd189deaefe972f48d682125be25e61c3"}},{"ruleId":"D2","level":"warning","message":{"text":"http.normalizeHttpErrorBody (cognitive 18): http.normalizeHttpErrorBody has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 5 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/http.ts"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"b91633bb6e1595d890a5416c69f7308bdcba21a6e90300636b220aa02348c55b"}},{"ruleId":"D2","level":"warning","message":{"text":"openclawContract.validateOpenClawExternalCodePluginPackageContents (cognitive 18): openclawContract.validateOpenClawExternalCodePluginPackageContents has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/openclawContract.ts"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8523c5b8fac97e2f6e7c821dc7d0e389f4362dfb61a0b11d68e466e51985edb"}},{"ruleId":"D2","level":"warning","message":{"text":"skill.png.default (cognitive 18): skill.png.default has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 9, ternaries 8, if/else 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/routes/og/skill.png.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b9d095f45cbb0c1262d36414c4ae5e867e3c87b43c6723be30f626fb4d8a26e"}},{"ruleId":"D2","level":"warning","message":{"text":"rehypeProxyImages.rehypeProxyImages.\u003Creturned closure\u003E (cognitive 18): rehypeProxyImages.rehypeProxyImages.\u003Creturned closure\u003E has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 7). None of this is in the body itself: all 18 points belong to one function literal inside it that branches (line 183). 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/lib/rehypeProxyImages.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"c241cd64e420982f913d18ba4e485e7aaed865dd7e439b4639d6e9dfd04951ee"}},{"ruleId":"D2","level":"warning","message":{"text":"SecurityAuditPage.inferSkillSpectorPatternCategory (cognitive 18): SecurityAuditPage.inferSkillSpectorPatternCategory has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (15 pts), loops 3 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/SecurityAuditPage.tsx"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"12eb4b89e0f35a8ca4b90c5ea07794d65d39377b48835ee3c5f42768c1ddd55f"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillDiffCard.applyMonacoTheme (cognitive 18): SkillDiffCard.applyMonacoTheme has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 17, boolean chains 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/components/SkillDiffCard.tsx"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f5e4f9735555a76ce92b71c872c40b6947f65adf827ac02d02fb41f502c3df"}},{"ruleId":"D2","level":"warning","message":{"text":"UsersPage.UsersPage (cognitive 18): UsersPage.UsersPage has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 5 (10 pts), boolean chains 4, if/else 2 (4 pts) (nesting depth added 7). Most of this is not in the body itself: 1 of the 18 points is its own statement and the rest belongs to 3 function literals inside it that branch (lines 57, 79, 98). 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/routes/-management/UsersPage.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e6e8e8d1a92bcc8c864d47df8eed2fb675fcfe6fdb9261ac3b2caca7f596d61"}},{"ruleId":"D2","level":"warning","message":{"text":"index.loadPluginsPageData (cognitive 18): index.loadPluginsPageData has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 6, if/else 4 (6 pts), ternaries 4 (5 pts), error handling 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":"src/routes/plugins/index.tsx"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a59c6d073b97a5c31a5663d9ac2a111597893b5cd2fbc3d87800e3fe36d286d"}},{"ruleId":"D2","level":"warning","message":{"text":"$name.loadPluginDetail (cognitive 18): $name.loadPluginDetail has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (10 pts), error handling 2 (3 pts), loops 2, ternaries 2, boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/plugins/$name.tsx"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f02e9c99f7e6a3abe080e642641067465398acec204761b10ec8b3279499e2a"}},{"ruleId":"D2","level":"warning","message":{"text":"packageSecurity.resolvePackageReleaseScanStatus (cognitive 17): packageSecurity.resolvePackageReleaseScanStatus has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10, boolean chains 6, ternaries 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":"convex/lib/packageSecurity.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea88700fb5f6ee26a19660744afa7143bfc92fcb66d7ac2ed47be186c1d5752b"}},{"ruleId":"D2","level":"warning","message":{"text":"skillPresentation.isStructurallyValidPng (cognitive 17): skillPresentation.isStructurallyValidPng has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 3, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/skillPresentation.ts"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"500020756064f30d59d37fe7d92b23d0d2b7653560b9ae7d6f2940ab94cd0ba7"}},{"ruleId":"D2","level":"warning","message":{"text":"devSeed.ensureLocalSeedUser (cognitive 17): devSeed.ensureLocalSeedUser has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/devSeed.ts"},"region":{"startLine":2124}}}],"partialFingerprints":{"codehealthFindingId/v1":"941076ecb4124beadffc50fb31bc87ad81adb1583321ee290f4643626bb9c024"}},{"ruleId":"D2","level":"warning","message":{"text":"initialPluginFamilyRead.readInitialPluginFamilyPage (cognitive 17): initialPluginFamilyRead.readInitialPluginFamilyPage has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (7 pts), ternaries 3 (7 pts), boolean chains 2, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/initialPluginFamilyRead.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"73b20945dfaa061c53189cc579044b146e55fa0104f78158f19805f463627cc5"}},{"ruleId":"D2","level":"warning","message":{"text":"packageIcons.resolvePackageIcon (cognitive 17): packageIcons.resolvePackageIcon has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (16 pts), error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/packageIcons.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ba21fd4d0cf662f1f77100f4a9997d7331642dd1eff4afe36ce68a46ec35e5"}},{"ruleId":"D2","level":"warning","message":{"text":"packageRuntimeIdentity.assertPackageRuntimeIdAvailable (cognitive 17): packageRuntimeIdentity.assertPackageRuntimeIdAvailable has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 6 (8 pts), if/else 4 (6 pts), loops 2 (3 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/packageRuntimeIdentity.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"0027922a48a826f1f6d8219c5c088e11f4bcaef7dd746b3e1b6d5f4904529ca4"}},{"ruleId":"D2","level":"warning","message":{"text":"packages.mayHaveVisiblePackageCategoryDigest (cognitive 17): packages.mayHaveVisiblePackageCategoryDigest has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 3, loops 1, ternaries 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":"convex/packages.ts"},"region":{"startLine":1877}}}],"partialFingerprints":{"codehealthFindingId/v1":"709f668545610ac43b5d4b01be54188da0a7e1f7ad9df46d77290ac1654079c5"}},{"ruleId":"D2","level":"warning","message":{"text":"skillFileReadAccess.canReadSkillVersionFiles (cognitive 17): skillFileReadAccess.canReadSkillVersionFiles has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 5 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/skillFileReadAccess.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9e39f0fff55687cbff52ce03b045e93e76c33802d00df7bb6c2fa011b6cc01c"}},{"ruleId":"D2","level":"warning","message":{"text":"githubImport.toOwnedPublicRepoListItem (cognitive 17): githubImport.toOwnedPublicRepoListItem has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 11 (14 pts), boolean chains 1, error handling 1, if/else 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/githubImport.ts"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"49b3dfb47805f482ebea3ea37c0ae5acddb42fecfe673fb4d8aa62b4ccb815f2"}},{"ruleId":"D2","level":"warning","message":{"text":"githubImport.unzipToEntries (cognitive 17): githubImport.unzipToEntries has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 1, loops 1 (nesting depth added 5). Of this number, 11 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/githubImport.ts"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eb8395307903e3cf0b6feb0c5166984ebfcb80f1cc669e02597966e08522bea"}},{"ruleId":"D2","level":"warning","message":{"text":"skillsShCatalogEnvironment.getSkillsShFixtureEnvironmentPolicy (cognitive 17): skillsShCatalogEnvironment.getSkillsShFixtureEnvironmentPolicy has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 3, ternaries 1 (2 pts) (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":"convex/lib/skillsShCatalogEnvironment.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"078ddd16c25f0e8b685aad54ab0a76cdef4f7c18fd032dce6e67ed4f28a873e9"}},{"ruleId":"D2","level":"warning","message":{"text":"publishersV1.createPublisherV1Handler (cognitive 17): publishersV1.createPublisherV1Handler has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 4 (5 pts), boolean chains 2, error handling 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/publishersV1.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d654667a9ea2af30fb37b2b81288cda3586dfb5bcb9d09878429d8f0d261579"}},{"ruleId":"D2","level":"warning","message":{"text":"skillsV1.publishSkillV1Handler (cognitive 17): skillsV1.publishSkillV1Handler has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (14 pts), ternaries 1 (2 pts), error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":2562}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3f0afc28f5f63200495041264d456c5e6ae595cfc07efe659ad314b1764e58f"}},{"ruleId":"D2","level":"warning","message":{"text":"publisherAbuseScoring.classifySkillTemporalAbuseScore (cognitive 17): publisherAbuseScoring.classifySkillTemporalAbuseScore has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 10, if/else 4, boolean chains 3. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/publisherAbuseScoring.ts"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"fad7fdeac6337f3960e174a98408e940ce54c94412a59bd2cc75c849aa5dc77d"}},{"ruleId":"D2","level":"warning","message":{"text":"searchIntentClassifier.classifySearchIntent (cognitive 17): searchIntentClassifier.classifySearchIntent has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9, boolean chains 6, error handling 1, ternaries 1. Of this number, 16 points are the body\u0027s own statements and 1 belongs to 2 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/searchIntentClassifier.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"faa169c3ca575f60d6e6d4df15f05cd911266af7f3a464ea8fd37aee4b079659"}},{"ruleId":"D2","level":"warning","message":{"text":"maintenance.repairLegacyPublisherOwnershipForUserHandler (cognitive 17): maintenance.repairLegacyPublisherOwnershipForUserHandler has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 4 (5 pts), boolean chains 2, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/maintenance.ts"},"region":{"startLine":4044}}}],"partialFingerprints":{"codehealthFindingId/v1":"75960c299f12ed3784eda439abd741cc797cf61351617a991083f8da0be36887"}},{"ruleId":"D2","level":"warning","message":{"text":"publishers.toPublisherListItem (cognitive 17): publishers.toPublisherListItem has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 10 (12 pts), boolean chains 3, if/else 2 (nesting depth added 2). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/publishers.ts"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"011cdba7957aba85655dc710fbaacea17b2f4c1740ad091ee15f1caa0cb3740b"}},{"ruleId":"D2","level":"warning","message":{"text":"buildInfo.findGitDir (cognitive 17): buildInfo.findGitDir has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (10 pts), error handling 2 (6 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/buildInfo.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"eafa9b36d6b399b052a1b62ea852d3ee4a9019008dbfe4843ad22bd3855e7ac1"}},{"ruleId":"D2","level":"warning","message":{"text":"packages.printPackagePublication (cognitive 17): packages.printPackagePublication has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (11 pts), ternaries 2 (5 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/packages.ts"},"region":{"startLine":1891}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d639614f2d3487c19257568bf88d0e27f85b86b8319262ef7f537bc04f986cd"}},{"ruleId":"D2","level":"warning","message":{"text":"skills.resolveSkillsShCatalogInstall (cognitive 17): skills.resolveSkillsShCatalogInstall has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (8 pts), ternaries 5 (8 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/skills.ts"},"region":{"startLine":1480}}}],"partialFingerprints":{"codehealthFindingId/v1":"1789253eb4ac73f614706bb9753642ab226f93590bdc8ac8a3975b436e6d2844"}},{"ruleId":"D2","level":"warning","message":{"text":"skills.readSkillsShResolverMetadata (cognitive 17): skills.readSkillsShResolverMetadata has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 6 (7 pts), boolean chains 5, if/else 5 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/skills.ts"},"region":{"startLine":1527}}}],"partialFingerprints":{"codehealthFindingId/v1":"009c1a7f2afdb8dea0376779ed93dc11e681f275e22e7d9717e6bb2a1410aea9"}},{"ruleId":"D2","level":"warning","message":{"text":"orgs.parseCsvRecords (cognitive 17): orgs.parseCsvRecords has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 6, loops 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/orgs.ts"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f8e183434aeeb73ecd7e923caa92f29207beb8882fa8fcabfe3cb54a9b45606"}},{"ruleId":"D2","level":"warning","message":{"text":"packages.cmdHardDeletePackage (cognitive 17): packages.cmdHardDeletePackage has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (8 pts), ternaries 5 (6 pts), boolean chains 3 (nesting depth added 3). Of this number, 14 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/packages.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b88adab00c2c74bd4649667de483066b2c0ce0a4ad005e065746b26a9f387ea"}},{"ruleId":"D2","level":"warning","message":{"text":"inspect.validateSkillsShVerification (cognitive 17): inspect.validateSkillsShVerification has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 3, ternaries 2 (3 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/inspect.ts"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"3670f91ca211dd5176e682c7f6660bbebfec657024ec54dd383714c4f6a944ee"}},{"ruleId":"D2","level":"warning","message":{"text":"scan.formatQueueProgress (cognitive 17): scan.formatQueueProgress has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 6 (13 pts), if/else 3, boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/scan.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"145a6fccba50d264c307d113522782d73a3ca8ab761c34322a07c3a8f7ed7949"}},{"ruleId":"D2","level":"warning","message":{"text":"convexError.getUserFacingConvexError (cognitive 17): convexError.getUserFacingConvexError has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 3, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/convexError.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"21cd86f4f51abb990325d942118cc865c0959ad8b8292bfd13643cc05011d6e2"}},{"ruleId":"D2","level":"warning","message":{"text":"DevPersonaFab.DevPersonaFab (cognitive 17): DevPersonaFab.DevPersonaFab has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 7 (9 pts), if/else 4 (5 pts), error handling 2, boolean chains 1 (nesting depth added 3). Most of this is not in the body itself: 4 of the 17 points are its own statements and the rest belongs to 3 function items inside it that branch (usePersona, endSession, a function literal at line 184). 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/DevPersonaFab.tsx"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"08ab13d03d43e13a9ce0367263b91bc3ebf975d183cb07d51ab2ae1a1bda2edc"}},{"ruleId":"D2","level":"warning","message":{"text":"analyticsEvents.analyticsEventParameters (cognitive 17): analyticsEvents.analyticsEventParameters has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 4, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/analyticsEvents.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c1e061861bc0e8b0ff7da2c85050efd6bdc55282b738d42ffb6cb70851d7117"}},{"ruleId":"D2","level":"warning","message":{"text":"homeListingData.searchHomeTrendingSkillListing (cognitive 17): homeListingData.searchHomeTrendingSkillListing has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (7 pts), ternaries 2 (4 pts), boolean chains 3, error handling 2, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/homeListingData.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc43ba4b41b4ad6f09040ab8dadd9fe9906a547efd939acf0a6a4326900ed0de"}},{"ruleId":"D2","level":"warning","message":{"text":"SecurityAuditPage.AigFindingCard (cognitive 17): SecurityAuditPage.AigFindingCard has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 10 (13 pts), boolean chains 4 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/SecurityAuditPage.tsx"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"d60e196ea768b85d11022439663f870d5dd1a18d339c32f27a632e18efc02880"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillCardPreview.parseOutputFields (cognitive 17): SkillCardPreview.parseOutputFields has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 4 (14 pts), if/else 1 (2 pts), loops 1 (nesting depth added 11). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/SkillCardPreview.tsx"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea75e3dac391681bb8f4c83f329806d2d2df4b473a448cfbff656d7d1ef1fa41"}},{"ruleId":"D2","level":"warning","message":{"text":"DashboardDownloadsInsights.Sparkline (cognitive 17): DashboardDownloadsInsights.Sparkline has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 13 (15 pts), boolean chains 2 (nesting depth added 2). Of this number, 15 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/dashboard/DashboardDownloadsInsights.tsx"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef073f9ad766f83538403dde5f479c8f3a153cf6c6db4a2de42c6f375c3ec7eb"}},{"ruleId":"D2","level":"warning","message":{"text":"dashboardCatalog.defaultDashboardPriority (cognitive 17): dashboardCatalog.defaultDashboardPriority has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/dashboard/dashboardCatalog.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"3820aca5a2906887ccc8ccaa6d59745b04df72743366fa2a414335225c652618"}},{"ruleId":"D2","level":"warning","message":{"text":"functions.repointPackageLatestRelease (cognitive 16): functions.repointPackageLatestRelease has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 6, ternaries 2 (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":"convex/functions.ts"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"f96f2b2a1bf3ef39a7cc851d2b1fd798bbdd79f685630e2517a1d61928030762"}},{"ruleId":"D2","level":"warning","message":{"text":"githubImport.fetchGitHubZipBytes (cognitive 16): githubImport.fetchGitHubZipBytes has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 2, boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/githubImport.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"acff6e5e4074bced0cd1d974169d59bf3ea2ef711fba0b6c28651e5f2bf776a7"}},{"ruleId":"D2","level":"warning","message":{"text":"catalogClassifier.structuredTopicValues (cognitive 16): catalogClassifier.structuredTopicValues has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (7 pts), ternaries 2 (5 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":"convex/lib/catalogClassifier.mjs"},"region":{"startLine":1871}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fe501ae33d2c42971ad80ec7e605054f002eebdb8441d594b93de285df7f287"}},{"ruleId":"D2","level":"warning","message":{"text":"skillPublicationProgress.readSkillVersionPublicationProgress (cognitive 16): skillPublicationProgress.readSkillVersionPublicationProgress has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, if/else 6 (7 pts), ternaries 1 (nesting depth added 1). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/skillPublicationProgress.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"f79a79d5e33b92aa27daf8b4607a4cad4169b4987376d300370f0e157bdc3a37"}},{"ruleId":"D2","level":"warning","message":{"text":"httpApi.cliPublishHandler (cognitive 16): httpApi.cliPublishHandler has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 6 (7 pts), if/else 3 (5 pts), boolean chains 2, error handling 2 (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":"convex/httpApi.ts"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd27205b3ae99ea07ed2e2f2f3468e7f4af432691a59ccfa13f9225e50ace6d2"}},{"ruleId":"D2","level":"warning","message":{"text":"httpApi.cliTelemetryInstallHandler (cognitive 16): httpApi.cliTelemetryInstallHandler has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (7 pts), loops 2 (5 pts), error handling 2, ternaries 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApi.ts"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"e14ec9557141ae3335f8f14e010406e381c154f8680fa7a4b6f64d7d3da14e9a"}},{"ruleId":"D2","level":"warning","message":{"text":"packagePublishRecoveryV1.recoverPackagePublishAttemptV1Handler (cognitive 16): packagePublishRecoveryV1.recoverPackagePublishAttemptV1Handler has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 3, ternaries 2 (3 pts), error handling 2 (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":"convex/httpApiV1/packagePublishRecoveryV1.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"7778fd3422ff9f444c8407bfb24b4f45b29153aa43feb8af745d1ca7e93d299e"}},{"ruleId":"D2","level":"warning","message":{"text":"usersV1.handleAdminReclassifyBan (cognitive 16): usersV1.handleAdminReclassifyBan has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (7 pts), ternaries 5, boolean chains 3, error handling 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/usersV1.ts"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"6045486760d3d9312c72f4f2f7cd755ae2b5b8833b8aa335259b9451f15ba8d2"}},{"ruleId":"D2","level":"warning","message":{"text":"packageInspectorHttp.packageInspectorResultsHttp (cognitive 16): packageInspectorHttp.packageInspectorResultsHttp has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 5, if/else 5, ternaries 4, error handling 1 (2 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/packageInspectorHttp.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae017f53386c2bad52eb4e365f8d7c2c2f67104361b9ebdce5b073da949c61fb"}},{"ruleId":"D2","level":"warning","message":{"text":"publisherAbuse.publisherSkillMetricsForScoring (cognitive 16): publisherAbuse.publisherSkillMetricsForScoring has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 3 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/publisherAbuse.ts"},"region":{"startLine":2398}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d9aceecd4e3eb7d038d76525e0c663918583713e8dee6213f0f6215dc1c88ef"}},{"ruleId":"D2","level":"warning","message":{"text":"publisherAbuse.upsertPublisherAbuseReviewNomination (cognitive 16): publisherAbuse.upsertPublisherAbuseReviewNomination has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 5 (10 pts), boolean chains 5, if/else 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/publisherAbuse.ts"},"region":{"startLine":2462}}}],"partialFingerprints":{"codehealthFindingId/v1":"38859d5226c58a576d82c77b5d22fb3d08ba39d50c4aead2c5d7d764a7152ec6"}},{"ruleId":"D2","level":"warning","message":{"text":"searchReports.envelope (cognitive 16): searchReports.envelope has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 8 (15 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":"convex/searchReports.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc84c721e996594bef474fbb9cc2204c77877ddb5de15d8c000c00a8297473d2"}},{"ruleId":"D2","level":"warning","message":{"text":"publishFiles.forEachPublishFile (cognitive 16): publishFiles.forEachPublishFile has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 3, error handling 1 (2 pts), loops 2 (nesting depth added 5). Most of this is not in the body itself: 4 of the 16 points are its own statements and the rest belongs to one function item inside it that branches (walk). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/publishFiles.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"a29ac7a8551e055e1cdae2d2731a48997690fb237e1f846b828d52970641ba90"}},{"ruleId":"D2","level":"warning","message":{"text":"packages.cmdValidatePackage (cognitive 16): packages.cmdValidatePackage has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9, ternaries 3 (4 pts), boolean chains 3 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/packages.ts"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"507076086189921ae20e2a9ca763be055117ef7278125628bf575a5d74cc4fbb"}},{"ruleId":"D2","level":"warning","message":{"text":"packages.printPackageInspectorFindings (cognitive 16): packages.printPackageInspectorFindings has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 5 (8 pts), if/else 4 (7 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":"packages/clawhub/src/cli/commands/packages.ts"},"region":{"startLine":1337}}}],"partialFingerprints":{"codehealthFindingId/v1":"2724101766cfd9e9b230956f4bdee2ac13648fb7ad413f6f8aa93d0e12cbc4d5"}},{"ruleId":"D2","level":"warning","message":{"text":"skills.cmdListSkillReports (cognitive 16): skills.cmdListSkillReports has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/skills.ts"},"region":{"startLine":1282}}}],"partialFingerprints":{"codehealthFindingId/v1":"08124967e3c880b6260a3454dd2f543564a5c250885f3dd96928e5a0cd1e6d6f"}},{"ruleId":"D2","level":"warning","message":{"text":"skills.cmdHardDeleteSkill (cognitive 16): skills.cmdHardDeleteSkill has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (7 pts), ternaries 5 (6 pts), boolean chains 3 (nesting depth added 3). Of this number, 13 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/skills.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"c309d22675d446a6067e48d60e08c655c5e9b28779cc33a2fc4240ee7ee7c645"}},{"ruleId":"D2","level":"warning","message":{"text":"skillsShCatalogSource.repositoryIdentityFromHtml (cognitive 16): skillsShCatalogSource.repositoryIdentityFromHtml has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (6 pts), boolean chains 4, loops 2 (3 pts), ternaries 1 (3 pts) (nesting depth added 5). Of this number, 13 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/skillsShCatalogSource.ts"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"b052eee117dfa46f3e451194e0cb6ffa430c933f7250b8f027be4b3ce15a2631"}},{"ruleId":"D2","level":"warning","message":{"text":"convexProxy.proxyConvexRequest (cognitive 16): convexProxy.proxyConvexRequest has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 6, if/else 5, ternaries 3, error handling 1 (2 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/convexProxy.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f5bc80109aa998c65edee22979ca1c454585b111929b7160ef07dc02979a76e"}},{"ruleId":"D2","level":"warning","message":{"text":"Header.getTypeaheadRowBody (cognitive 16): Header.getTypeaheadRowBody has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 4 (9 pts), if/else 4 (5 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Header.tsx"},"region":{"startLine":1174}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd2d0113f201f859b571de0ca034d18dc95ffb041c0adbabd90efbec22b58553"}},{"ruleId":"D2","level":"warning","message":{"text":"SecurityAuditPage.AigSection (cognitive 16): SecurityAuditPage.AigSection has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 8 (12 pts), boolean chains 3, if/else 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/SecurityAuditPage.tsx"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"230500445d6db3d3baa026a9f14f5fbd1e3fbb756d7fa9ecf4cef9162e6dad07"}},{"ruleId":"D2","level":"warning","message":{"text":"detectRelativeReadmeAssets.detectRelativeReadmeAssets (cognitive 16): detectRelativeReadmeAssets.detectRelativeReadmeAssets has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (11 pts), loops 4, boolean chains 1 (nesting depth added 2). Most of this is not in the body itself: 4 of the 16 points are its own statements and the rest belongs to 2 function items inside it that branch (record, recordSrcset). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/detectRelativeReadmeAssets.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"79e4b33622f69de4219d1a4fe2b44e89d51a8b0a02a724303801557b765daf57"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: convex/packages.ts: FileTooLong \u2014 9553 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 9053 over it, 19.11\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/packages.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3260f17cb338a47143622a21349c3420eff5ca5defb440613e81332bc3fc7238"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: convex/skills.ts: FileTooLong \u2014 8792 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 8292 over it, 17.58\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skills.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b843dc0f5280b07fd104bd19073035e19bde0eeaf218a5b93e5378a3bedf396"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: settings.Settings: FunctionTooLong \u2014 Settings runs 1462 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1362 over it, 14.62\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/settings.tsx"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbbe2b496b861e44aa18bb301a4fb063e838276b551969024916d1ed409d90a7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: publish.Upload: FunctionTooLong \u2014 Upload runs 1072 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 972 over it, 10.72\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/routes/skills/publish.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"92132d07f56e4fc99d55f93bbba4390586b9546598db6d2abb6b621d23685226"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: convex/devSeed.ts: FileTooLong \u2014 4221 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 3721 over it, 8.44\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":"convex/devSeed.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"551793d152c116e38ceddd70db29778013461f499bf8e8f76b12dcd26b55dc9c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: publish.PublishPluginRoute: FunctionTooLong \u2014 PublishPluginRoute runs 798 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 698 over it, 7.98\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/plugins/publish.tsx"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"8795ac8f90a6ff528877ebf217a0c5c8f869d97c733c9f1eae12d9972627639a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: $name.PluginDetailPageContent: FunctionTooLong \u2014 PluginDetailPageContent runs 767 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 667 over it, 7.67\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/plugins/$name.tsx"},"region":{"startLine":1048}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc490e7cf0d494282fe1b66c9d86d2abf61b5582882157f801278d7dd28810a5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AbusePage.AbusePage: FunctionTooLong \u2014 AbusePage runs 726 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 626 over it, 7.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/-management/AbusePage.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2d47233f05b9d365a3c3a62b63014a2ec49b9ee6daf315b344906fc90ee7716"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SkillDetailPage.SkillDetailPage: FunctionTooLong \u2014 SkillDetailPage runs 723 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 623 over it, 7.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":"src/components/SkillDetailPage.tsx"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5bfb4a104b343b8c748fddabc0d33ba8b31c11b0c495ff523ad7efc635e2f3a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: httpApiV1/packagesV1.ts: FileTooLong \u2014 3593 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 3093 over it, 7.19\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03508a91492482a6d81cfb4863fb6e8614a762f68a27bcff0e8194059c594330"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: import.ImportGitHub: FunctionTooLong \u2014 ImportGitHub runs 673 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 573 over it, 6.73\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/import.tsx"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"88b380a9ceb069c02f34bbbd0b716d80d26a05b1b141a3ac87a97e45437767f2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: devSeed.seedLocalModerationFixturesHandler: FunctionTooLong \u2014 seedLocalModerationFixturesHandler runs 668 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 568 over it, 6.68\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":"convex/devSeed.ts"},"region":{"startLine":2934}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7969ebbcab7561ef4b7679ad6f331bd238520fcf2e97f8a13f827a92175d209"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: convex/publishers.ts: FileTooLong \u2014 3320 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2820 over it, 6.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":"convex/publishers.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f5432281c596c207854dbb119d7d7b63fca37db2c2133b71258d52f43b09de6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: management.Management: FunctionTooLong \u2014 Management runs 654 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 554 over it, 6.54\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/management.tsx"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ab763cf99b36f6ae5fec7c8e1234f676b85927641c9d9d5bf6f7485fb40e82a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: httpApiV1/skillsV1.ts: FileTooLong \u2014 3205 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2705 over it, 6.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":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa9e7e949768cd7834075abd733fcbc639ff72db6cb84a2d106e755d785ae5bd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: convex/securityScan.ts: FileTooLong \u2014 3170 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2670 over it, 6.34\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":"convex/securityScan.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2eda172cf4d812d2fbbdb64cf4393a0c0a99fd95e21cd1c37437c6b5ac95234"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: skillsV1.skillsGetRouterV1Handler: FunctionTooLong \u2014 skillsGetRouterV1Handler runs 627 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 527 over it, 6.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":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":1761}}}],"partialFingerprints":{"codehealthFindingId/v1":"9763768c7df5bd957c8375c50734de3d473a04677526cfde2b4c8fca053f3272"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Header.Header: FunctionTooLong \u2014 Header runs 627 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 527 over it, 6.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":"src/components/Header.tsx"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb6368002e23855dfc2a9c23361d850d261eb8a9469926a0024037526b19ab77"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: convex/maintenance.ts: FileTooLong \u2014 3044 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2544 over it, 6.09\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/maintenance.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32d6d878fc0387af26ea5e33f0b36aad34117ea0bc6721bc465aedbf33bd4eeb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: convex/githubSkillSync.ts: FileTooLong \u2014 2685 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2185 over it, 5.37\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":"convex/githubSkillSync.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56cee6df911611495099c980b72a9fbf8bb1ae45774ac17c7539184dbdecc75e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: routes/settings.tsx: FileTooLong \u2014 2669 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2169 over it, 5.34\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/routes/settings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ee9aceabe1bff02c00fa3ea68bd17b3cf4de5dea968757622665fdfc888a1d2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SkillDetailPageView.SkillDetailPageView: FunctionTooLong \u2014 SkillDetailPageView runs 525 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 425 over it, 5.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/SkillDetailPageView.tsx"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bb1833b229ac4430b3f18368884f445d0f288f365a54fb212ae246a83419b95"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: packagesV1.packagesPostRouterV1Handler: FunctionTooLong \u2014 packagesPostRouterV1Handler runs 516 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 416 over it, 5.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":2615}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f220a66f75b7d0df433b23ea8061a1f815629780abd28a06d2efb31ad8211f4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: packagesV1.packagesGetRouterV1Handler: FunctionTooLong \u2014 packagesGetRouterV1Handler runs 505 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 405 over it, 5.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":3777}}}],"partialFingerprints":{"codehealthFindingId/v1":"d34f3ed2d922b7ab2dbaf7e5a9d6a85d1ecec9a5411dc3dec4747e394a1b5131"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: convex/publisherAbuse.ts: FileTooLong \u2014 2481 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1981 over it, 4.96\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":"convex/publisherAbuse.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddadcf13b05185227f1897a0e1491fe9650e27d417157a578a89fc34003eccf9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: convex/skillsShCatalog.ts: FileTooLong \u2014 2452 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1952 over it, 4.90\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":"convex/skillsShCatalog.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42dbcc4025495679f347551d76cd6a097ea6381f35e240f9b1b3cac0060b80c8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/packages.ts: FileTooLong \u2014 2360 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1860 over it, 4.72\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/packages.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61d265c922ba92f071f642bd56e8e6a733a1b39db5de6b00e12e25cc90474435"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: server/skillsShCatalogSource.ts: FileTooLong \u2014 2311 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1811 over it, 4.62\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/skillsShCatalogSource.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb8a972680a45abb9fc413fb3134d7cbbfdf4f0e8d439b54ac14975fe098c05f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SkillDiffCard.SkillDiffCard: FunctionTooLong \u2014 SkillDiffCard runs 460 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 360 over it, 4.60\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/SkillDiffCard.tsx"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"2391602e7f6dfc48bc7f5f4a3f1a5c406cf1c99f9ad576547755cad5de6c5b24"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: HomeListingSection.HomeListingSection: FunctionTooLong \u2014 HomeListingSection runs 450 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 350 over it, 4.50\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/HomeListingSection.tsx"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"33b670a2a7764ac26530ed4eb94bbbbfb770290e51e8b4e53f6d033d124521a8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: $handle.PublisherProfilePage: FunctionTooLong \u2014 PublisherProfilePage runs 444 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 344 over it, 4.44\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/user/$handle.tsx"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"538f8f150adfa5cbfbaa3ec629d01fa347ba38685f41aa9c5da3bdf204cfcf8c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: convex/users.ts: FileTooLong \u2014 2072 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1572 over it, 4.14\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/users.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"96eab173513ef4be5a6ed24f3314359ac342dfa04a24248c95f87e6285b4e326"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: skillsShCatalogV1.skillsShCatalogTestV1Handler: FunctionTooLong \u2014 skillsShCatalogTestV1Handler runs 402 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 302 over it, 4.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/skillsShCatalogV1.ts"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"447ab23feb6a1f0cb960b858c732de951d617d9ab9ecbe5dd3b946011f7d19e2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: -useSkillsBrowseModel.useSkillsBrowseModel: FunctionTooLong \u2014 useSkillsBrowseModel runs 393 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 293 over it, 3.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/routes/skills/-useSkillsBrowseModel.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbcf0fb87a3da8faf452d5370d894a4556fb91345e2c308e942068f1fdc92bd2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: skillsV1.exportSkillsV1Handler: FunctionTooLong \u2014 exportSkillsV1Handler runs 386 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 286 over it, 3.86\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":3531}}}],"partialFingerprints":{"codehealthFindingId/v1":"f156855896630cbf3c6eb1d7bb73d5c9efdf73586e67b57fec4c8dab56e90035"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: convex/skillsShMirror.ts: FileTooLong \u2014 1915 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1415 over it, 3.83\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skillsShMirror.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aca3cbd430eae794c2f2ed24b27503e375d12c2cf404a235e9f0d5c8eb8848f8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: skillsV1.skillsPostRouterV1Handler: FunctionTooLong \u2014 skillsPostRouterV1Handler runs 359 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 259 over it, 3.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":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":2926}}}],"partialFingerprints":{"codehealthFindingId/v1":"f42f300e12cffd9231e20c66aea1a4e2c8577a62e0d5030941dbe60f1be3a0de"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lib/catalogClassifier.mjs: FileTooLong \u2014 1794 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 1294 over it, 3.59\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":"convex/lib/catalogClassifier.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb9daac825caad1565ec0e8ac12e9491d660cd01ea19cb924dc44333125e4a85"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SearchInsightsPage.SearchInsightsPage: FunctionTooLong \u2014 SearchInsightsPage runs 358 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 258 over it, 3.58\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/-management/SearchInsightsPage.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b3a2ee48a20daa364fdfd475a03d3e5656f5a0a6109fa483c0eb1b6341bd8c3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: convex/search.ts: FileTooLong \u2014 1692 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1192 over it, 3.38\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/search.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"140ab1ba9f2db6fd3f34f60fe30712afeb10eaada6b6bf512abe0c1209f30df3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: plugins/$name.tsx: FileTooLong \u2014 1632 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1132 over it, 3.26\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/routes/plugins/$name.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f461f896c8074fd7fccb7ef5bf4542eeaac4a5382c79cff94dfe847b3dbf5b5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PluginVersionsPanel.PluginVersionsPanel: FunctionTooLong \u2014 PluginVersionsPanel runs 320 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 220 over it, 3.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/PluginVersionsPanel.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"3878be51237aa2858f31e6d3d14aef6a8a7cee7e4d92a46d9ed7c591cbf523f9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: -management/AbusePage.tsx: FileTooLong \u2014 1587 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1087 over it, 3.17\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/-management/AbusePage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"23e79a339b887b2bf41171e3fe2a6a95e4bafd94818c44e5bc94d3e6b0ccaad4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SkillsPage.SkillsPage: FunctionTooLong \u2014 SkillsPage runs 316 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 216 over it, 3.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/-management/SkillsPage.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"edbd149c43e01f807e73927ab4b42be7a27d4da391f3fae8343a5b0c66917897"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SkillDetailTabs.SkillDetailTabs: FunctionTooLong \u2014 SkillDetailTabs runs 307 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 207 over it, 3.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/SkillDetailTabs.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef2527e1514b361a12eecb65bdfe72d13078ffdd8fe591240928118237fbbdaa"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: publisherAbuseDevSeed.seedTemporalCohortDemoRows: FunctionTooLong \u2014 seedTemporalCohortDemoRows runs 291 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 191 over it, 2.91\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":"convex/publisherAbuseDevSeed.ts"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"118a38e66027edb3c276ecdb3757781331be6e29476e15c1a509da3c387f8d60"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: convex/publishAttempts.ts: FileTooLong \u2014 1452 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 952 over it, 2.90\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":"convex/publishAttempts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3e848d388ac50590c8279167867606ccc60556faaeb76451107d0387ce27b61"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SkillOwnershipPanel.SkillOwnershipPanel: FunctionTooLong \u2014 SkillOwnershipPanel runs 290 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 190 over it, 2.90\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/SkillOwnershipPanel.tsx"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9bbd2b8c23e7396dd55b9c71bb774ef5925b2143ef22b230ab079b254bf1eb7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.PluginsIndex: FunctionTooLong \u2014 PluginsIndex runs 287 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 187 over it, 2.87\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/routes/plugins/index.tsx"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"1efa6345113ef22873224e28f4c81253e1be42b9458355129b0d6206014d8c93"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: convex/migrations.ts: FileTooLong \u2014 1418 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 918 over it, 2.84\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/migrations.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ca280319fb62b64101fd702a2b5eb11a1dc227f7fdc97b3921ecd3b07fadc9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: routes/import.tsx: FileTooLong \u2014 1409 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 909 over it, 2.82\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/routes/import.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e98220c1aba059aaee1940b9cbee159b3c067f40eca3bbd3d8935c46a23974b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/skills.ts: FileTooLong \u2014 1352 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 852 over it, 2.70\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/skills.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"745a5341f4d5debeb9b9dfcfef3d6e8ed4cda20827ae4af419ad4736e823d803"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ManagedMcpTools.ManagedMcpForm: FunctionTooLong \u2014 ManagedMcpForm runs 269 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 169 over it, 2.69\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/-management/ManagedMcpTools.tsx"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"544021a0a939ecfbf516e021b69d1bf41d914224f288cfac27af4ddea27e2074"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: packagesV1.exportPluginsV1Handler: FunctionTooLong \u2014 exportPluginsV1Handler runs 267 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 167 over it, 2.67\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":1738}}}],"partialFingerprints":{"codehealthFindingId/v1":"be97f76c667576819a869ed38ed5f74f5acc5fb769f5c739abee8ea89049c0df"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PromotionsPage.PromotionsPage: FunctionTooLong \u2014 PromotionsPage 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/routes/-management/PromotionsPage.tsx"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"71b0e8791d72c89b6d1674f281ec751173c1391f301359bb6a44452bd90425bb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: FeaturedEditorial.FeaturedEditorial: FunctionTooLong \u2014 FeaturedEditorial runs 252 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 152 over it, 2.52\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/-management/FeaturedEditorial.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea4f26e5ae3f80ea583bb8e74ce1490c04420a735d77efdea22b4686e0e7c50"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: search.UnifiedSearchPage: FunctionTooLong \u2014 UnifiedSearchPage runs 252 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 152 over it, 2.52\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/search.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aac2728b3363615fe2017aca28592acb9f818900f3643127eb6b6a63c1af2c2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AbusePage.PublisherAbuseSignalInspector: FunctionTooLong \u2014 PublisherAbuseSignalInspector runs 250 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 150 over it, 2.50\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/-management/AbusePage.tsx"},"region":{"startLine":993}}}],"partialFingerprints":{"codehealthFindingId/v1":"adad25a19ed91429f177a3d82ffa357973515db38a01ad7b4e166a77ad6e831d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: githubSkillSync.applyGitHubSkillSourceSyncHandler: FunctionTooLong \u2014 applyGitHubSkillSourceSyncHandler runs 248 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 148 over it, 2.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":"convex/githubSkillSync.ts"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2e8619820a65598f14231c91447621057d799c939d174eef262e5a55acdcf24"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: GoogleAnalytics.GoogleAnalytics: FunctionTooLong \u2014 GoogleAnalytics runs 246 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 146 over it, 2.46\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/GoogleAnalytics.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"79d7b9f1cf5e0b9bd8005bb9c40809d208bfa9b9e19631ef585b57aeda7dc66f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: sync.cmdSync: FunctionTooLong \u2014 cmdSync runs 242 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 142 over it, 2.42\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/sync.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"35eee8fe68b86d9ce942a503a96d7df27fb3daee928d15058fb2e68f799ae20e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: skills/publish.tsx: FileTooLong \u2014 1205 significant lines (blank, comment-only and punctuation-only lines excluded), about 89% of them inside a single declaration: Upload (90-1368). The bar is 500 significant lines; this is 705 over it, 2.41\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/routes/skills/publish.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7afd8c9ca467626b7f43508e5af38679e2f63079578b2624e761e18264a1f23d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: dashboard.Dashboard: FunctionTooLong \u2014 Dashboard 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/routes/dashboard.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bd05d8c7611601f88982871c2cd2d2db64ce9f9b5d8242954a0a1aa793193d0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SkillVersionsPanel.SkillVersionsPanel: FunctionTooLong \u2014 SkillVersionsPanel runs 227 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 127 over it, 2.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/SkillVersionsPanel.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"a378769120c2d365c81b33ab1dffe4374a14a601687c54618b9c77b8c4bb1e7a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SkillCardPreview.SkillCardPreview: FunctionTooLong \u2014 SkillCardPreview runs 222 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 122 over it, 2.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/SkillCardPreview.tsx"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"31cedf1e736c6d5c5b780e8c35e6bd538e69833d5e4418b444944bf4e2a65ec2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/Header.tsx: FileTooLong \u2014 1106 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 606 over it, 2.21\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Header.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"150f538c9c29ba323254dc6529276bded2ace085c691229704e96d2b4ba7690c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: searchEvidenceDigest.buildSearchEvidenceDigest: FunctionTooLong \u2014 buildSearchEvidenceDigest runs 220 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 120 over it, 2.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":"convex/lib/searchEvidenceDigest.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"d742b7cf0682074487747d5a9bc854288bae48818537a826614bb3f910d3e0b2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: packages.preparePackagePublishPlan: FunctionTooLong \u2014 preparePackagePublishPlan runs 220 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 120 over it, 2.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":"packages/clawhub/src/cli/commands/packages.ts"},"region":{"startLine":2646}}}],"partialFingerprints":{"codehealthFindingId/v1":"85eb0f7051ec1d7e34aab2a5b828a6a18e44a8ee4f8bbd8eac0b45b17a91bcc8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: convex/canonicalTrending.ts: FileTooLong \u2014 1081 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 581 over it, 2.16\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/canonicalTrending.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb8920cfba842b947ea8f6b0e17d3c48747d6d6631016124a659c00509612e5f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TemplateDetailPage.TemplateDetailPage: FunctionTooLong \u2014 TemplateDetailPage runs 215 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 115 over it, 2.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/TemplateDetailPage.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"663ed7d0f25dc4b42dea64419e0542fcb7804c7a61a784f764a0da74af420732"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: import.ReviewSkillCard: FunctionTooLong \u2014 ReviewSkillCard runs 214 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 114 over it, 2.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/routes/import.tsx"},"region":{"startLine":1225}}}],"partialFingerprints":{"codehealthFindingId/v1":"043f2c5cf2ac8f580930029b28386aa2329720afef6118b702ccd28ebe0b834b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: user/$handle.tsx: FileTooLong \u2014 1058 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 558 over it, 2.12\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/user/$handle.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c63ba6d8370c67daa913603ba1d75fa11309432a0cf9ca99bb6abdf7816e6038"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: skillsShCatalog.admitScans: FunctionTooLong \u2014 admitScans runs 211 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 111 over it, 2.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":"convex/skillsShCatalog.ts"},"region":{"startLine":1442}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f27d628075b5d1cf70d8469c5c706ab575ce4c1a3d3c1beddb7df6ff4f97909"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SkillFilesPanel.SkillFilesPanel: FunctionTooLong \u2014 SkillFilesPanel runs 210 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 110 over it, 2.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":"src/components/SkillFilesPanel.tsx"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"78a3693e635464d1de642b54f6fae6a4feb07c711aacc6db6334355230ea762c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PackageSourceChooser.PackageSourceChooser: FunctionTooLong \u2014 PackageSourceChooser runs 209 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 109 over it, 2.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/PackageSourceChooser.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b13c71885ca5cd0b214313c08839f889b48b6ddcb471d32dbd706a914eee5ba"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/SecurityAuditPage.tsx: FileTooLong \u2014 1033 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 533 over it, 2.07\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/SecurityAuditPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6177ed6a1f51783f522421aea9031cca81b529c7287afb19d2b40af924f36a66"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: routes/management.tsx: FileTooLong \u2014 1002 significant lines (blank, comment-only and punctuation-only lines excluded), about 65% of them inside a single declaration: Management (226-1020). The bar is 500 significant lines; this is 502 over it, 2.00\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/routes/management.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff820dd6906d600a7e5891696c8d5cb137a7d864824741e021b19479914326e5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: convex/publisherAbuseTemporalScan.ts: FileTooLong \u2014 991 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 491 over it, 1.98\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/publisherAbuseTemporalScan.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"69079ba6c07ee2b764f42a5a9867d454ee0f1c30ea24bc8f29a45cb1ec3b7ae3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: plugins/publish.tsx: FileTooLong \u2014 969 significant lines (blank, comment-only and punctuation-only lines excluded), about 82% of them inside a single declaration: PublishPluginRoute (173-1072). The bar is 500 significant lines; this is 469 over it, 1.94\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/routes/plugins/publish.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd261b8b0b391b9a7e3aafd4d2f0ad486798b995d4895e44ea5968a2acc024b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: httpApiV1/skillsShCatalogV1.ts: FileTooLong \u2014 961 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 461 over it, 1.92\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":"convex/httpApiV1/skillsShCatalogV1.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad444e425c3f0410868324c16c88a6682d9c4281c0ce32da8ce087468dd40c21"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: convex/skillStatEvents.ts: FileTooLong \u2014 948 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 448 over it, 1.90\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":"convex/skillStatEvents.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f84577e94f4da17daa13cf0f46a6c8fd18b3edc28dc0960022d7fbca580b1cd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: githubSkillSync.applyGitHubSkillVerificationResultHandler: FunctionTooLong \u2014 applyGitHubSkillVerificationResultHandler runs 188 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 88 over it, 1.88\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":"convex/githubSkillSync.ts"},"region":{"startLine":2209}}}],"partialFingerprints":{"codehealthFindingId/v1":"454c1e694b544287f4899b43eacee9d39eff0addc68fac93bdacdc44842bbbe2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Footer.Footer: FunctionTooLong \u2014 Footer 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/Footer.tsx"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"9396e6d6c266f1e5a08330cf967735b9c4989389bdef4b63d0aa1a6c14ea042e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: $name.PluginDetailTabs: FunctionTooLong \u2014 PluginDetailTabs 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/routes/plugins/$name.tsx"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e56465cebd3b71d64f2824935c0ad46fb19afd474a5a4d012b633710c95eb4a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AbusePage: ClassTooLong \u2014 726 significant lines (blank, comment-only and punctuation-only lines excluded), 35 methods. The bar is 400 significant lines; this is 326 over it, 1.82\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/-management/AbusePage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f271e4307198ecd6d5cbb52f96105b9865f0b51193ad2827c9e893086f9318b6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: searchInsights.readReport: FunctionTooLong \u2014 readReport runs 181 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 81 over it, 1.81\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":"convex/searchInsights.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce8a65c91df0cb690ad380d24fe379c11fdd5266445075833eb30c565b4f6a46"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SkillDetailPage: ClassTooLong \u2014 723 significant lines (blank, comment-only and punctuation-only lines excluded), 4 methods. The bar is 400 significant lines; this is 323 over it, 1.81\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/SkillDetailPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcbd92b3b7d612cdd004f9a41979e8cd86bfa25223c3b61f9784169efc2b34e0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: skills.cmdInstall: FunctionTooLong \u2014 cmdInstall runs 178 significant lines (blank, comment-only and punctuation-only lines excluded) 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":"packages/clawhub/src/cli/commands/skills.ts"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"2146496178430cfe0d687d90a4f9ded7594e9a92257907c00e82c3fab56943e3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: device.CliDeviceAuth: FunctionTooLong \u2014 CliDeviceAuth runs 178 significant lines (blank, comment-only and punctuation-only lines excluded) 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":"src/routes/cli/device.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"38731476fa04c2dad1bc65b2199315bbeedebdf19476d6ec2325ee0e1a3f618e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: convex/skillsShMirrorVisibility.ts: FileTooLong \u2014 885 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 385 over it, 1.77\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skillsShMirrorVisibility.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"996df9808a1425afa2962015e930e18ff01c22cae7b9a854a98693b423fb01ab"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/SkillDetailPage.tsx: FileTooLong \u2014 879 significant lines (blank, comment-only and punctuation-only lines excluded), about 82% of them inside a single declaration: SkillDetailPage (184-1034). The bar is 500 significant lines; this is 379 over it, 1.76\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/SkillDetailPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"67be44c02594cf9e57997c05a4fb86bac52a537fdfa4ec6469e464f25f3eaea4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: googleAnalytics.createGoogleAnalytics: FunctionTooLong \u2014 createGoogleAnalytics runs 175 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 75 over it, 1.75\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/lib/googleAnalytics.ts"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda5192199c9c798def9684c5681b11a0c990d187b8ae76672fe3ced9c69139a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: publisherAbuseTemporalScan.runScheduledTemporalPublisherAbuseScanStep: FunctionTooLong \u2014 runScheduledTemporalPublisherAbuseScanStep runs 174 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 74 over it, 1.74\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":"convex/publisherAbuseTemporalScan.ts"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"77ee51a100a03cebd3e37014f1bb1e77c58e9c7e95fea70a2b2b911f56764fc7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Header.SearchTypeahead: FunctionTooLong \u2014 SearchTypeahead runs 172 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 72 over it, 1.72\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/Header.tsx"},"region":{"startLine":893}}}],"partialFingerprints":{"codehealthFindingId/v1":"072f7cba90f278c37a23084f46f78551d19654074c29bcddee20445b763e2fa3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: settings.TokenList: FunctionTooLong \u2014 TokenList runs 172 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 72 over it, 1.72\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/routes/settings.tsx"},"region":{"startLine":2755}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f9c2f00b1ed7ba43baa8952840a3c788cfccb52c0effda2477a93d74000bed7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: add.AddPage: FunctionTooLong \u2014 AddPage 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/routes/add.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c4ff29fa7c3fd7f7bd45c49a9074680b60514eeb51b0635afeacfe9221f8f41"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: inspect.cmdInspect: FunctionTooLong \u2014 cmdInspect runs 167 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 67 over it, 1.67\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/inspect.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"1365acab5d503b0801e7098dee1e0c80c8adb3da2bd2a8172dd0b05ffb8c6bc0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/cli.ts: FileTooLong \u2014 831 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 331 over it, 1.66\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/cli.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"11e62b3e8301d1e7a96fc41e4d679f7a714dcee96d78b1ae8b0f6408ee2cebc9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/http.ts: FileTooLong \u2014 831 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 331 over it, 1.66\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/http.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d04d4508c62b2d6be53ddd99c6778da80a874a752233b020afb07145eb256d5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: featuredIntelligence.recommendFeatured: FunctionTooLong \u2014 recommendFeatured runs 165 significant lines (blank, comment-only and punctuation-only lines excluded) 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":"convex/lib/featuredIntelligence.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"c178de4b2bfd60ed7e781c95a0358972255df5ac8348ebef23c4ec05d38d6b28"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: publisherOgSvg.buildPublisherOgSvg: FunctionTooLong \u2014 buildPublisherOgSvg runs 165 significant lines (blank, comment-only and punctuation-only lines excluded) 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":"server/og/publisherOgSvg.ts"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c80181b2b8c598623057c3a2f842c18980d1d713f571c452eade90c62b84e4b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/SkillDiffCard.tsx: FileTooLong \u2014 809 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 309 over it, 1.62\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/SkillDiffCard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bff936130f72945159f179e053a715ca084c381e8941709336975b7e5a897ab"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CatalogMetadataFields.CatalogMetadataFields: FunctionTooLong \u2014 CatalogMetadataFields runs 160 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 60 over it, 1.60\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/CatalogMetadataFields.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"421375054b0218f8e578849481c617f50e7a80636ebfc7be1455610b849e778b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: stars.Stars: FunctionTooLong \u2014 Stars runs 159 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 59 over it, 1.59\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/stars.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6c3a1c0b599359e2593e67754ecf6da2e5fa2a0b428a69fd0740b3c0a2e1417"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/SkillDetailPageView.tsx: FileTooLong \u2014 788 significant lines (blank, comment-only and punctuation-only lines excluded), about 67% of them inside a single declaration: SkillDetailPageView (193-751). The bar is 500 significant lines; this is 288 over it, 1.58\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/SkillDetailPageView.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"096a7d8b45a979f6d9b4b01bd45e2d316eb443b49333a076d495f5e7c31ed791"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: httpApiV1/usersV1.ts: FileTooLong \u2014 784 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 284 over it, 1.57\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/usersV1.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc97653c5dd2e5117dd66e58af714772658d3971e54fdca735c519b9ff913800"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Header: ClassTooLong \u2014 627 significant lines (blank, comment-only and punctuation-only lines excluded), 12 methods. The bar is 400 significant lines; this is 227 over it, 1.57\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Header.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a9b440c7212dd53c237ac2579b4efc03673393b8a5fef172f75b03895ab1b3f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentSkillsHttp.resolveSkill: FunctionTooLong \u2014 resolveSkill runs 156 significant lines (blank, comment-only and punctuation-only lines excluded) 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":"convex/agentSkillsHttp.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"54c412bb281e54593a4af28b3c4256a2e37d283034c726321d4d73f2cede1aa2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lib/skillPublish.ts: FileTooLong \u2014 776 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 276 over it, 1.55\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/skillPublish.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f15d055c29299415dcb13a840d1dc745ba1db5f05f0eec43b63dba71331e4bd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: packagesV1.mintPublishTokenV1Handler: FunctionTooLong \u2014 mintPublishTokenV1Handler runs 154 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 54 over it, 1.54\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":2420}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4abce7967766461a3390a90946d2b3d277f0680b655dc352dfabe6d3168e7f8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: downloads.downloadZipHandler: FunctionTooLong \u2014 downloadZipHandler runs 152 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 52 over it, 1.52\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/downloads.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"640418e371ef9a4cb82d09da494aeb0bfcb3d095b241b40a28a1f837cf52cc21"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BrowseControls.BrowseCategorySelect: FunctionTooLong \u2014 BrowseCategorySelect runs 152 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 52 over it, 1.52\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/BrowseControls.tsx"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f0a7f7516c498ab21b81e6fac5e4f3c5621f7e0485ce7fcb0d1f961e39fd1aa"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.OfficialIndex: FunctionTooLong \u2014 OfficialIndex runs 151 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 51 over it, 1.51\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/official/index.tsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"a35b3b00961196399950e44500c3689abe2918d0c553b82d02ebb02e8fefcb45"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/cli.ts: FileTooLong \u2014 751 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 251 over it, 1.50\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"44c92ab165c654a5c7313324440cc9021b310a3f726a2edcd9088d40da7d57c3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: githubSkillSync.buildGitHubSkillSyncPlan: FunctionTooLong \u2014 buildGitHubSkillSyncPlan runs 149 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 49 over it, 1.49\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/githubSkillSync.ts"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"924561be18f209f16bac34b0e8e4fd4ee32960d0625e31aec05d34551859bb07"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: featuredIntelligence.readMonthlyAdoption: FunctionTooLong \u2014 readMonthlyAdoption runs 148 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 48 over it, 1.48\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/featuredIntelligence.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"33495b348098ec4ce8ce796e076688e0ac969ee557b6128976f1716106eaa70c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: convex/githubImport.ts: FileTooLong \u2014 730 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 230 over it, 1.46\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/githubImport.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c251e84738dc32b88d05b377cb0c137fcd083927b386eaaa09d916cf9a0459d8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ManagedMcpTools.ManagedMcpTools: FunctionTooLong \u2014 ManagedMcpTools runs 145 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 45 over it, 1.45\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/-management/ManagedMcpTools.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"80e9920d4b87659ebbd940b6e887f2bbf52e7a6f07349739f5ccc5c1043451fd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: convex/publisherAbuseDevSeed.ts: FileTooLong \u2014 723 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 223 over it, 1.45\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":"convex/publisherAbuseDevSeed.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a68bfeb3c28c692634274bb2cf0f441dcd747ace1f4e948b1135378426aee77b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: publishers.ensurePersonalPublisherForUser: FunctionTooLong \u2014 ensurePersonalPublisherForUser runs 144 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 44 over it, 1.44\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/publishers.ts"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebd94a0dd3051905fc4311099b2fa049865dfb8c0660f70e78b62351a6be751a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: packages.resolveDirectPackageSearchDigests: FunctionTooLong \u2014 resolveDirectPackageSearchDigests runs 143 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 43 over it, 1.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/packages.ts"},"region":{"startLine":1475}}}],"partialFingerprints":{"codehealthFindingId/v1":"80537cfc113ed7577b92436223a0ecbda0f65ea1631a90df7e3e6ddf5ec451f8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DashboardNeedsAttention.DashboardNeedsAttention: FunctionTooLong \u2014 DashboardNeedsAttention runs 143 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 43 over it, 1.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/dashboard/DashboardNeedsAttention.tsx"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a7890372f24e5eb5ea1cdf9a026c796a294f17b00874378d9595869b55cec8f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: publishAttemptOperationalRecovery.validateRetainedPublishAttempt: FunctionTooLong \u2014 validateRetainedPublishAttempt runs 141 significant lines (blank, comment-only and punctuation-only lines excluded) 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":"convex/lib/publishAttemptOperationalRecovery.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"3968058f0f12cfee647dbacead10248d44b3dcce8f4923867d05b780f8777312"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SkillPublishSuccessDialog.SkillPublishSuccessDialog: FunctionTooLong \u2014 SkillPublishSuccessDialog runs 141 significant lines (blank, comment-only and punctuation-only lines excluded) 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":"src/components/SkillPublishSuccessDialog.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"1891e89c64ce0b18c9cd32a87fa7e744833c9b2a30d9386bdc9b44c0390b9dec"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SkillInstallSurface.InstallCommandCard: FunctionTooLong \u2014 InstallCommandCard 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/SkillInstallSurface.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"d04097a31b1657bec065fcfe6178e1b0d3996cb83bf471552c2d4a74221825b5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AbusePage.PublisherTemporalEvidence: FunctionTooLong \u2014 PublisherTemporalEvidence runs 136 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 36 over it, 1.36\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/-management/AbusePage.tsx"},"region":{"startLine":1366}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1958db9bfd8b1161c108f72a6585bd200cc52dc3c3c560a2f59e3ab880a84a1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DownloadsPage.DownloadsPage: FunctionTooLong \u2014 DownloadsPage runs 136 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 36 over it, 1.36\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/-management/DownloadsPage.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c502c8a3b72fd90ae915c9adc35bef21756fd67b8beb38f9c6dac753ffd4717"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/inspect.ts: FileTooLong \u2014 667 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 167 over it, 1.33\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/inspect.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b62fe666f240f1574e40817f0c2c9199935f0c52776408d121cb9cb59ba2507"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SkillDetailPageView: ClassTooLong \u2014 525 significant lines (blank, comment-only and punctuation-only lines excluded), 6 methods. The bar is 400 significant lines; this is 125 over it, 1.31\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/SkillDetailPageView.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e975319c41fa0bcc1efbb0415d578d3639cfe314674826b5ed6c3fbb1de31bd5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/templates.ts: FileTooLong \u2014 656 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 156 over it, 1.31\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/templates.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e808a4e8a9543b09099b03a085633e22bc5bf7ec65c18796bb2e53c182b678f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DashboardDownloadsInsights.DashboardDownloadsInsights: FunctionTooLong \u2014 DashboardDownloadsInsights runs 130 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/dashboard/DashboardDownloadsInsights.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b0b5a3b6fac98a0dbde0a6634c9e0ad398f4a49b321f7334fbf4f4ff404ebe9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/moderation.ts: FileTooLong \u2014 642 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 142 over it, 1.28\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/moderation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d33b09cbf08ac220ebbd0784d1ac769b37a175ddf57d04e725bfef59c95702a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lib/openClawPublishAuthorization.ts: FileTooLong \u2014 641 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 141 over it, 1.28\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/openClawPublishAuthorization.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf068701e675b6cc8e21b5c08fe74d0fa006e2ec5a67c5c71f45816ee6c2839d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/HomeListingSection.tsx: FileTooLong \u2014 641 significant lines (blank, comment-only and punctuation-only lines excluded), about 70% of them inside a single declaration: HomeListingSection (218-764). The bar is 500 significant lines; this is 141 over it, 1.28\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/HomeListingSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0113e01e9b7349d77d5e8826106c36e79bcaf109c403d713e3b8207499a1eecd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: $name.PluginValidationFindingCard: FunctionTooLong \u2014 PluginValidationFindingCard runs 128 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/plugins/$name.tsx"},"region":{"startLine":876}}}],"partialFingerprints":{"codehealthFindingId/v1":"662be73640ac8526cac6230858574cacb323c3122ce37fd9691c92ce1d40e47f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: http.createHttpClient: FunctionTooLong \u2014 createHttpClient runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) 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":"packages/clawhub/src/http.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9c2990530e2f13f6e73a0564308731a495600ed4d501217bed3ebad1bb35428"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: import.PublishedImportSuccess: FunctionTooLong \u2014 PublishedImportSuccess runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) 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":"src/routes/import.tsx"},"region":{"startLine":969}}}],"partialFingerprints":{"codehealthFindingId/v1":"5407300017315c6499ea1e30a57a27bec9204b19356ac6cee81ed1ff7657b67b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: usersV1.handleAdminStaffEmail: FunctionTooLong \u2014 handleAdminStaffEmail runs 126 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/usersV1.ts"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"411e12008a92645ae7707b0e5ce7d36def96751735ee8a8608f73272e3139701"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: FeaturedRecommendations.FeaturedRecommendations: FunctionTooLong \u2014 FeaturedRecommendations runs 126 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/-management/FeaturedRecommendations.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"649a613b69af311e68b556d6527d6f1d8cfee56bc70a314145ac18def7371306"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: featuredSelections.publishForActor: FunctionTooLong \u2014 publishForActor 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":"convex/featuredSelections.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d818a91a9785268e80712aad02420768ea005e8c8a330fae0f1d69d813e943f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: dashboard/DashboardNeedsAttention.tsx: FileTooLong \u2014 616 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 116 over it, 1.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":"src/components/dashboard/DashboardNeedsAttention.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf201ac6b4d73fe5a394719887e2ae307289ace1965e27f672398fd74d4b7856"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: settings.GitHubSourceList: FunctionTooLong \u2014 GitHubSourceList runs 123 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/settings.tsx"},"region":{"startLine":2316}}}],"partialFingerprints":{"codehealthFindingId/v1":"ece38a6c6b1af3986e9ab0b198688959e69e98a18194b5d6fa3f69d7f276c862"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: maintenance.cleanupEmptySkillsInternalHandler: FunctionTooLong \u2014 cleanupEmptySkillsInternalHandler runs 121 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 21 over it, 1.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/maintenance.ts"},"region":{"startLine":2590}}}],"partialFingerprints":{"codehealthFindingId/v1":"adf40eda41503b50e360c016b28d791824a74a3c02052079e2572676664a6b1b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PluginsPage.PluginsPage: FunctionTooLong \u2014 PluginsPage runs 120 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/-management/PluginsPage.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"314fffbb2701dc1e6ea959a041ad596659221f4a5d459a05389bc55e8bb14351"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: convex/catalogFeed.ts: FileTooLong \u2014 597 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 97 over it, 1.19\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/catalogFeed.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3404da900f92ae75a528bd00d085c74abb0fd50f63eb840383d7139c4b48a8e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/BrowseControls.tsx: FileTooLong \u2014 597 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 97 over it, 1.19\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/BrowseControls.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a40f317eda3204a44778845e2b90d7324067ad4d96392fa6afa9e9f09e49ebd7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: devSeed.seedDeletionFixtureArtifacts: FunctionTooLong \u2014 seedDeletionFixtureArtifacts runs 119 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/devSeed.ts"},"region":{"startLine":4163}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a9505a8481f906a09e6153a4853fa1abe202ac74116144c2c6202fdd2e8ccd5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: securityPrompt.assembleEvalUserMessage: FunctionTooLong \u2014 assembleEvalUserMessage runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/securityPrompt.ts"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"67d5c058602212eab5f1fa714ca8e4311d7ff3c249d69182ed3b9718b1bbd8fe"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: skills.searchPackageCatalogImpl: FunctionTooLong \u2014 searchPackageCatalogImpl runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skills.ts"},"region":{"startLine":5949}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fe82b644fbe247c2fd77ef0c0f34c03d9831112b002c7fd77b49ebe30abbbc2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PluginListItem.PluginListItem: FunctionTooLong \u2014 PluginListItem runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/PluginListItem.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd67e86817c1b0860181ca8dee8113d01f2a8fb46a3d24a2c81dec7b48112e8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lib/githubSkillSync.ts: FileTooLong \u2014 582 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 82 over it, 1.16\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/githubSkillSync.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae2fd77a8efb14b3e31940219306feb12b700e832cd2c805788bcda4ef7feb2b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: templateBundled.validateTemplateBundledSources: FunctionTooLong \u2014 validateTemplateBundledSources runs 116 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/templateBundled.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bbaffa634faeaecfa31413c495defc383f2b8105e0748e38eb36102e0aec7f1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: HomePopularPublishersSection.HomePopularPublishersSection: FunctionTooLong \u2014 HomePopularPublishersSection runs 116 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/HomePopularPublishersSection.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"072bd72a6dd091e0695eb2ffa1e221b8a698126f33444112db523487280f74ad"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.SkillsIndex: FunctionTooLong \u2014 SkillsIndex runs 116 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/skills/index.tsx"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c749c41c09ccb618448eda6b85ea5b5c9e4af59fc1fbbe5694789402516d86d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: server/convexProxy.ts: FileTooLong \u2014 576 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 76 over it, 1.15\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/convexProxy.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ddff0c007bab4d5e646fa915162350d70a6f845840352b846fbebcef53beaaf"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SkillDiffCard: ClassTooLong \u2014 460 significant lines (blank, comment-only and punctuation-only lines excluded), 20 methods. The bar is 400 significant lines; this is 60 over it, 1.15\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/SkillDiffCard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b59a13ad0be1260b12d22ccb0018aeed1916c7409f856106bf12cf007b23dbb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: githubSkillSync.buildGitHubSkillSourceSnapshot: FunctionTooLong \u2014 buildGitHubSkillSourceSnapshot runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/githubSkillSync.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0e8ba017a1ac4f3e7f5364a254c7365924274ae3b2c79338ed6fefd221e0cf2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: plugins/index.tsx: FileTooLong \u2014 563 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 63 over it, 1.13\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/plugins/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"96acdb78f06a1ea6990c1ea58a8946d156c74a7b72ed2eed446aad4f8af3969b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: HomeListingSection: ClassTooLong \u2014 450 significant lines (blank, comment-only and punctuation-only lines excluded), 5 methods. The bar is 400 significant lines; this is 50 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/HomeListingSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3a8abbf1a2f69a6d90fe0718488e7589e4af22e4a6786b84115ba937f3a6b18"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/packages.ts: FileTooLong \u2014 562 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 62 over it, 1.12\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/packages.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"53eb1ea2a02f5da03f6a7e205815f0c02ba39fc15199e5dc2e36d3baeb684775"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: usersV1.usersPostRouterV1Handler: FunctionTooLong \u2014 usersPostRouterV1Handler 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":"convex/httpApiV1/usersV1.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba62ec83f68fb218f65ae1767ead8f7e9d2e83c5a5fe3cad9edca6cea61f63e8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: githubActionsOidc.verifyGitHubActionsWorkflowJwt: FunctionTooLong \u2014 verifyGitHubActionsWorkflowJwt 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":"convex/lib/githubActionsOidc.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a74ea7a3b46e920cb1fcbdd5fca4af80bf439fcdc99c9d60a5ba84b1a01ca8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: maintenance.inspectSkillLineageCycleInternalHandler: FunctionTooLong \u2014 inspectSkillLineageCycleInternalHandler 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":"convex/maintenance.ts"},"region":{"startLine":3401}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5b3e2b11256a31309d811b339825e40b81f50071de5b1bff5949361c33851b6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DashboardDownloadsInsights.Sparkline: FunctionTooLong \u2014 Sparkline 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/dashboard/DashboardDownloadsInsights.tsx"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"e718b2eebd3a078fcdff52867707cc8e2b24bd179fb5c153c9f393435a9dcaaf"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: homeListingData.fetchHomePluginListing: FunctionTooLong \u2014 fetchHomePluginListing 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/lib/homeListingData.ts"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"4741f715f74641f5b1764fa62ed7715ed668f0cef5371ba515c67315a7199d52"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: cli.registerPluginGovernanceCommands: FunctionTooLong \u2014 registerPluginGovernanceCommands runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/cli.ts"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"6398c5c59edb99ea5b93c105d4786c38683495febd81199cc392d158b794d89c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: packageApi.fetchPluginCatalog: FunctionTooLong \u2014 fetchPluginCatalog runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/packageApi.ts"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a0b7adb747d341f86759fcdba20a435f105e7e6c46b9d289d2cbed38e0c594"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: prepublicationReports.retainHttp: FunctionTooLong \u2014 retainHttp runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/prepublicationReports.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"c738957902fa6b63e4af80f3a2fbb1e9e88bcb5376785d36c0391ee0b013e821"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ReportsPage.ReportsPage: FunctionTooLong \u2014 ReportsPage runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/-management/ReportsPage.tsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"38871a93b2d6cc35a1f507e7f853ae98548aea75032d0247170960838231c809"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/orgs.ts: FileTooLong \u2014 524 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 24 over it, 1.05\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/orgs.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf680f9bdcd0c255895e75a557644cc90968ea76d9d1af2e754e5a18caf205a6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lib/securityPrompt.ts: FileTooLong \u2014 523 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 23 over it, 1.05\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":"convex/lib/securityPrompt.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0aca66141c80a36fbb83c373ff8cf3762fd1ff9f349dd18d2ca2bed716b378a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lib/packageRegistry.ts: FileTooLong \u2014 521 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 21 over it, 1.04\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/packageRegistry.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fca2e9853e335660eebf6f8cd1271c15cfed61debc36d4803bbe315e411a8dcd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: convex/skillEvaluations.ts: FileTooLong \u2014 521 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 21 over it, 1.04\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skillEvaluations.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ba2c080098d664d674395578c35ec44416e5fe38535236df9d3ab7c9d25d90"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: convex/pluginCategoryRefresh.ts: FileTooLong \u2014 519 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 19 over it, 1.04\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/pluginCategoryRefresh.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"97de8ddfc40910687d69c640a2f81916b387d36d08586eab309c5d12c3b082a6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: httpApiV1/shared.ts: FileTooLong \u2014 515 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 15 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":"convex/httpApiV1/shared.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab21b071e2331abd00f81883ff7030bea3fe74af9379b18219232d7bab544249"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: UserBadge.UserBadge: FunctionTooLong \u2014 UserBadge 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/UserBadge.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ff6399e54e19a15451e99f889bf30327be34248fa4f76e9c6285bac0473115c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: convex/statsMaintenance.ts: FileTooLong \u2014 513 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 13 over it, 1.03\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/statsMaintenance.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb68c0623c3a87ff96662d30969b9368422473ff87cb0c7304388e83546e3502"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: management.ManagementSidebar: FunctionTooLong \u2014 ManagementSidebar runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/management.tsx"},"region":{"startLine":1031}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c4d9046f75137ff8632f0cec8c6ded2ee0bbd444de0322d5a842041772498e5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: convex/skillCards.ts: FileTooLong \u2014 505 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 5 over it, 1.01\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skillCards.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ad6b18bf668d034ef854d58d5717c3d37b6bbb334814711db93cfd88f702e8f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DevPersonaFab.DevPersonaFab: FunctionTooLong \u2014 DevPersonaFab 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/DevPersonaFab.tsx"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"185069e09193c99d50dbbb2626860765450efc346874de8c1d4c07904bdb480d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/TemplateDetailPage.tsx: FileTooLong \u2014 502 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2 over it, 1.00\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/TemplateDetailPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a7c06cabcf8266e074b8e40cce907f0c583c7ae10162e969de6ce6e3a94b4a3"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: packages/schema/src/catalogFeed.ts: 42.9% line coverage (15/35)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/catalogFeed.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6462f72c8539db732d1d7b215ef9ce561582264772d39ce50c0e35c404c264b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: packages/schema/src/catalogMetadata.ts: 17.3% line coverage (17/98)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/catalogMetadata.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18fa1d5aeb0c0d39faf1ae04c5d5892affd7e18e61ab8fc817587c8e1b59ac1a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: packages/schema/src/experimentalTemplateFeed.ts: 16.2% line coverage (6/37)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/experimentalTemplateFeed.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"80be11ec1d01ffb6b8d16f404cbaefbbe9eb7b141164dd477147b2d2bf7c6ea1"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: packages/schema/src/managedMcp.ts: 5.9% line coverage (2/34)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/managedMcp.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da8c20bc71ff1951c2f6193f9229034cdf5c5667745b2e91e1940a2cb163cceb"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: packages/schema/src/managedMcpUrls.ts: 5.9% line coverage (1/17)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/managedMcpUrls.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aead4a1b70b774f262c14eb4049faa392c2331c7579be342c62fb75cf7119ef1"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: packages/schema/src/openClawExtensionSlugs.ts: 12.5% line coverage (1/8)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/openClawExtensionSlugs.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2b30eefcb5da1d79a20a0a7253c91aeaed6c6991ee84b07d883108f1e232e91"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: packages/schema/src/openclawContract.ts: 2.0% line coverage (2/101)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/openclawContract.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d013bd7db0d055b16292237b90ce7b5b1caaa4b86920685d8186068422173f93"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: packages/schema/src/packageUploadLimits.ts: 20.8% line coverage (5/24)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/packageUploadLimits.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"434ceeb8639e39cf0becd5357c06178ee73221497d7aac3d7f2360315f8b5f0c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: packages/schema/src/pluginCategories.ts: 0.0% line coverage (0/59)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/pluginCategories.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa6556ff2da8fa5423f0ea364b8c0b0638f3b7206f02bcedd9d4bcb8ec89783d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: packages/schema/src/pluginInput.ts: 3.7% line coverage (1/27)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/pluginInput.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c263132a9d77bbb4059d4c0bf1f9db5cde9d4ba25ea1b1829c3ea8621403162"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: packages/schema/src/promotionsFeed.ts: 21.9% line coverage (7/32)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/promotionsFeed.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1529909a8c41c733241a183ae5e9816e1b856b312c8a30429c499818490c4a7"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: packages/schema/src/rolloutCapabilities.ts: 6.9% line coverage (4/58)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/rolloutCapabilities.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b7e42b223ca3595b85ed7f6278063f87c51b5bf04d6b41cca13e4d822b2f82"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: packages/schema/src/securityAudit.ts: 0.0% line coverage (0/31)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/securityAudit.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d949c894e6397135e80400a170d9935081dc927c66fc84064e0ebb52a5ba23a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: packages/schema/src/templateAgent.ts: 46.9% line coverage (45/96)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/templateAgent.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c61935d3f30e41492589dc010af0dce0d73f48d84771c40d95a624bdc26026f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: packages/schema/src/templateBundled.ts: 5.8% line coverage (5/86)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/templateBundled.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"755d2b07c89dd06cee227d466dd9423fac2598de11ee2a5226b56570da30d761"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: packages/schema/src/templatePackage.ts: 2.4% line coverage (3/123)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/templatePackage.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7254e9c8eb611ff9d460d4204dff9b30df2607e99750540177047e5889aa9912"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: packages/schema/src/templatePaths.ts: 33.3% line coverage (6/18)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/templatePaths.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"529f6cc0a9b97a6d20abff6db20bb73788420dcbbb45ae90401bc6f31bffe2d7"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/lib/activityTrend.ts: 0.0% line coverage (0/33)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/activityTrend.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1b4a645f135a11d05eeb6a9e424b62dcb8d4151bf3931619571b7d2196ed9fe"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/lib/addRoutes.ts: 0.0% line coverage (0/1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/addRoutes.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c27fc55fab572bf5df3ec11e0bb581b17d70a57c14f2c4d72c5b7d16925cdcb"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/lib/analyticsConsent.ts: 28.6% line coverage (2/7)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/analyticsConsent.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88e8e408e0906eb69157099b7dc704fdca6e70cbae79c2fd3d36ff4c1b36d652"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/lib/analyticsEngagement.ts: 0.0% line coverage (0/71)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/analyticsEngagement.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6d0b4136bc5bde806df1fd102fb6f5fe21a48f1de94ea6d1672b13aab2a16e8"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/lib/analyticsEvents.ts: 0.0% line coverage (0/98)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/analyticsEvents.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6b53fc20dc094f40e61483acd410ebd6695bd91ade5665e5bfcbee75c50bdd2"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/lib/analyticsRelease.ts: 0.0% line coverage (0/6)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/analyticsRelease.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a521da524eed96895a19f427308d0fe22ab7a6d2c189662fd934b80e2843eda6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/lib/authErrorMessage.ts: 0.0% line coverage (0/29)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/authErrorMessage.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1b37ee9a496a68b35131d29ababa504e8294c7a367d5b6980848195cf1981ba"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/lib/browseCategoryIcons.tsx: 0.0% line coverage (0/5)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/browseCategoryIcons.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03a1060ece43856001581fbebda2e7dee21635d9f0c6d1384af68b79cf27d580"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/lib/browseCount.ts: 0.0% line coverage (0/2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/browseCount.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8393239a2721990eb00536caa45ddd9a6353eb2ceb122ccb1eb70505e82e04c3"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/lib/catalogDiscoveryCapabilities.ts: 0.0% line coverage (0/5)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/catalogDiscoveryCapabilities.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"edfbf2f36136684e228b5e3c28c0abe976c98dab707516b2b0ebd1625c1fb00d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/lib/catalogTabs.ts: 0.0% line coverage (0/1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/catalogTabs.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2680d83ccd6ebd9a9a98b8458e17494dcb7b211a4d4a1759f48619e8acb4acb3"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/lib/categories.ts: 0.0% line coverage (0/46)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/categories.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27def2ae6b5f4b88e4dc4c40012f33d89e882c782fadbe2f11c5e67175f16570"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/lib/categoryIcons.ts: 0.0% line coverage (0/4)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/categoryIcons.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e710470b0b49941f9ac95710f41c0449d22d0b63913349a93f2c19c5fdad5b0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/lib/cliDeviceCode.ts: 0.0% line coverage (0/1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/cliDeviceCode.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"22d9f59a18aa012afe6940a0396c7d57d123f022c55d619bdae6664e846de60a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/lib/convexError.ts: 0.0% line coverage (0/23)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/convexError.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3d11bd251b49e4179f4bec995ea20fce21d923e242fa035adf6c1c1eab6222a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/lib/dashboardSearch.ts: 0.0% line coverage (0/19)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/dashboardSearch.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1c1bded9eb8dbde98509722c02d7790f52bd1801bf2ae168065647f7eca40b9"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/lib/deploymentDrift.ts: 0.0% line coverage (0/5)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/deploymentDrift.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f0fc564d35fca4559fa2b08c485a70b5a799a01ee5440a423ac5eef19c55ed3"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/lib/diffing.ts: 0.0% line coverage (0/38)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/diffing.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e8281b4975f91ef374e2ea2015d7cedb1b1ec0e1b961b186ee83cdf4fa12bb2"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/lib/featureFlagManifest.ts: 0.0% line coverage (0/2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/featureFlagManifest.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"069abfb0a942272159179d33a7d6e4f7a9a2716aac65505d30e127211d48f6c1"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/lib/featureFlags.functions.ts: 0.0% line coverage (0/12)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/featureFlags.functions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1295bbed277c89a60db320de4c2c72a94f00bc7af6b1b7dcad4efb2453c64e18"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/lib/featureFlags.tsx: 0.0% line coverage (0/6)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/featureFlags.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8549f2fa4710bf990d4abfcb92ce47ca4649ffd5d9d9ae5a0e12f14265c294c2"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/lib/formatRetryDelay.ts: 0.0% line coverage (0/5)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/formatRetryDelay.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"adfa0d62b128cfb0b5ec6f5550af70682f7b744d12d94798d015253b2fc811ff"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/lib/googleAnalytics.ts: 0.0% line coverage (0/185)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/googleAnalytics.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30375b872c53fb59a6c6bbb67a1250219851d06ccd2b27fb4925c41d76690c39"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/lib/homeApps.ts: 0.0% line coverage (0/16)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/homeApps.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8671862cd7a17dea7d6d6c01b5d8842f53e53dc199ecca57a90ed1cd5812e2a1"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/lib/homeFoldFade.ts: 0.0% line coverage (0/2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/homeFoldFade.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a07d73618df3475fbff93ea0ca9e26d0b863883c5e955fc087b089e97302e9e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/lib/homeListingData.ts: 0.0% line coverage (0/192)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/homeListingData.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6dea2108f5a7beb67f44f98dc6d5e6456e096bbd1e67ac36880bf3a3ad32469"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/lib/manualCatalogSearch.ts: 0.0% line coverage (0/11)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/manualCatalogSearch.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3241b178aa71c6be4ffab1423277b6ee693284bfe8beb095b1aa6214e6ab23f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/lib/marketplaceIcons.ts: 0.0% line coverage (0/3)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/marketplaceIcons.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d1aada95f45928a970b7db204adb3321282436cb73071bc4c4ca95e51d0b3e8"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/lib/monacoLoader.ts: 0.0% line coverage (0/11)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/monacoLoader.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"01ae8a69922505babbc3f272b217408fd4918fd48a4fff65070fa3d988f6a461"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/lib/nav-items.ts: 0.0% line coverage (0/13)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/nav-items.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03120a5f2dc147e42d83e7e94b6653dcf8d18cb4084c9f122c8e24173349bc90"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/lib/og.ts: 0.0% line coverage (0/60)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/og.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d3dc4fbf96ecacb4a38200270fc4631aa4ba3b0edce9fc644bb2784743a1f16"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/lib/ownerRoute.ts: 0.0% line coverage (0/12)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/ownerRoute.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7add963ab4230cecb760ba1926268318cbc5774b9b95e789ba7e39999ded8584"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/lib/packageLabels.ts: 0.0% line coverage (0/5)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/packageLabels.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fafdf6d0f75608c07ee4d4cb807a227152eef5fdce6db424c466d56634856726"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/lib/pluginPublishPrefill.ts: 0.0% line coverage (0/60)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/pluginPublishPrefill.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e936b5c97680fd699e03b4fe83dd678d432a5c3a2e445dfb54958ec1c02d168"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/lib/pluginValidationFormat.ts: 0.0% line coverage (0/4)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/pluginValidationFormat.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5b19519313aefd65e2aca1a95424361ee6331b28ce912eba6d30cc336e77a13"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/lib/postPublishFlash.ts: 0.0% line coverage (0/24)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/postPublishFlash.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf7f0d1c4557dda800c50572eec53334f4bd08db2b6d6a157ddab66e91bd5ee7"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/lib/postPublishSearch.ts: 0.0% line coverage (0/4)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/postPublishSearch.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25cfcf33cafdb71f249b758219cb9620224968d14315e06c71742580527c4c96"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/lib/publicPluginBrowse.ts: 0.0% line coverage (0/17)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/publicPluginBrowse.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c212143cc1c0976a7ee59258ebd915fffb2b0df4f437a04bd1fb9f9fc2a4fce"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/lib/publicUser.ts: 0.0% line coverage (0/1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/publicUser.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"77d0c399324e422fb94e4dc59b375c5f3dffbe5ba7196beee75265a39ed7cb89"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/lib/publishRouteOptions.ts: 0.0% line coverage (0/6)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/publishRouteOptions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b5df3c7ccccaf9ebff36cc65a2d1f99c36e64ccda1566040211bbfff7f2ecf9"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/lib/roles.ts: 0.0% line coverage (0/4)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/roles.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"15f8cbe5e00586de13290a76da1dad03a8aaee2d55bb8ed550bfe8056b22d653"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/lib/securityAuditExport.ts: 7.1% line coverage (1/14)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/securityAuditExport.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd198635fe85136e31288ff5d8a10f8199efee7d60d48c365aa10f328d8b19f0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/lib/signInError.ts: 0.0% line coverage (0/5)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/signInError.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"934b252fa4ce8e4ede162e73523ba79a45f336b805046b99166de25b6e87ad63"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/lib/skillCardSections.ts: 0.0% line coverage (0/26)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/skillCardSections.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"91a29483d8da5a29000081e7d90c871213bb4b8a31bc4a591d28a1feb1d76041"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/lib/skillCards.ts: 0.0% line coverage (0/2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/skillCards.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26e872498c2a39daaeaf8fd65cf5225b4c99c353e36c26c8c0462e9ac25d1e7c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/lib/skillPage.ts: 0.0% line coverage (0/32)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/skillPage.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea94f44e631a328ce0252247a02a3cfd5e7d8c5dbd45c2bba4501a781da3ad2"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/lib/skillRoute.ts: 0.0% line coverage (0/8)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/skillRoute.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c33889ae4cafd8b0f597d74a27f082aa3fbbb28c17e38b93336829302fd41edb"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/lib/skillSearchApi.ts: 0.0% line coverage (0/10)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/skillSearchApi.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecf0740506cf0e05e185e37fbd7afefe8da5fe5ccc3cab7cc71a29782474a24b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/lib/skillsShCatalog.ts: 0.0% line coverage (0/6)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/skillsShCatalog.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e171a1f6df1d16bf91ea0a7896fe2a074c9546597fd560efd9495f5ddb9988a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/lib/slugRoute.ts: 0.0% line coverage (0/19)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/slugRoute.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b53592f6ff2c96b763af09f3e3ee10d021a6a96fcdd80e8d23caae196f04b13"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/lib/templateDetail.ts: 0.0% line coverage (0/31)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/templateDetail.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"158492e638ff0dfce2c9fa7b8123d91f5d22a3964867d1edd967b76c6a0719c6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/lib/templateRoutes.ts: 25.0% line coverage (5/20)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/templateRoutes.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8941a62e0accb1e2a61019a22bb98ea131e204f7d45ebc3647ddb03b27554a14"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/lib/theme.ts: 10.6% line coverage (14/132)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/theme.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0e30b92c5ca377d7329ef73d8a322700f236e8f119c241d3b0f87ec9c2d0c9a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/lib/trendingApi.ts: 0.0% line coverage (0/30)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/trendingApi.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c57770b9efe2ab49a12b62d08dbe0ef526ddc7e41e4551ec97441c2ea6c1065a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/lib/truncateText.ts: 0.0% line coverage (0/12)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/truncateText.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"190139f7f69c8e3710c835effc3559352ba680314288f7342a93c40d13aeea84"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/lib/uploadUtils.ts: 0.0% line coverage (0/34)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/uploadUtils.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2625be8d121e2fc8352534e22499a7710b94c4558ea96c6a33c3d71e2cf1a9a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/lib/useAnalyticsSearchResults.ts: 0.0% line coverage (0/11)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/useAnalyticsSearchResults.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f41155757ca9bdd5be25954de84ccc817b43c6754c806e1ea6279b2de3dfa9db"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/lib/useAuthError.ts: 0.0% line coverage (0/12)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/useAuthError.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b109f53e511098c05f3611250ba04a94ba75856a20e678c430494212ded189f5"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/lib/useAuthStatus.ts: 0.0% line coverage (0/8)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/useAuthStatus.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7736fe6c1fd0e689665033f86d8ca15fb7b9bfbe7684862ff11d53f5d8fdd31"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/lib/useBrowseTopicSearch.ts: 0.0% line coverage (0/21)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/useBrowseTopicSearch.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"33ae21b1eb5421e88ac2fa170ce608696ea69cddb42ae77ab49663b485689bf6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/lib/useDeferredActivityTrend.ts: 0.0% line coverage (0/23)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/useDeferredActivityTrend.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a2974ff3aac333ef734689deef372f371a77f8a13641f1ca7a6ccca4bf95e26"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/lib/useHeroCreatorPublisher.ts: 0.0% line coverage (0/5)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/useHeroCreatorPublisher.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18390a91b178918f226e183a92aa5c40aac8c87a9eac20d7f0529d9ac01e3afb"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/lib/useMediaQuery.ts: 0.0% line coverage (0/11)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/useMediaQuery.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"091821b1c8bfcf2b9450b3b29d463e58ed2ddfeca674c491bb5f96d512d3f175"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/lib/useUnifiedSearch.ts: 0.0% line coverage (0/179)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/useUnifiedSearch.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"20f4830d99bf95534987fe08087961c7c369f6421def98e8f7e2b6bf5729d6ac"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/mobile-skills.pw.test.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b979f9b557ebdf6421eb7645ed6f494afb0e8334522975b66d9958eb7949b23"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/skills-sh-external.pw.test.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2d8c6f1635a6e1ae1bf1ed719c603305dae2e6604ac424416a2149076ecf173"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/upload-auth-smoke.pw.test.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"429a94921501629f7c43480e018eb0f3c614bde2ed8bf92621f79ed5afb86487"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/upload-auth-smoke.pw.test.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c07e35a3e0bb428d2cb725eca95e4a403bd5640cebe7d5b89c0976d03bcb795"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/local-auth/delete-account-resources.pw.test.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5f892cd54020a522f505a64c421b589c8141cd36ee895d9f3f4fa2c8e85e09b"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/local-auth/delete-org-resources.pw.test.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"d58aae75291d2c2eb6b2725f4e4a0ee5943d1eeee2fc63661483d1580d50b501"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/local-auth/exact-template-artifact.pw.test.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c55d6deec1efd7d6109b26de6882f4eb2030c2798c555805ea475307c7e5cbc"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/local-auth/featured-lineup.pw.test.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"48439e7681eb281eccaeaa1c3e0e5ce42d4ae597ec089254369ff40291764103"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/local-auth/header-profile-link.pw.test.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"982dc8749edb69855bb351b04c6a659151e591e05d27f962f4fa8ef0e3eda351"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/local-auth/malicious-skill-ban-flow.pw.test.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d2b1209cbe565265dc84f61eaa354865a7c7406e1a66c35eb4ac274b63961ea"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/local-auth/manage-context-proof.pw.test.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"8279c561aaee8527187122b72024c47c22b0ad70f6dfce6e73fe035fb9f0ef59"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/local-auth/old-cli-publish-compat.pw.test.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0ebb19d507f31dbbaa23398fc86344127caa7b99ecb6f5cd0678f69c79bd05d"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/local-auth/package-ssr-identity.pw.test.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb47a9871c4c598a0dfd0afa8cdabc228e1b61ebb4e92b5f065dfbb536da01c6"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/local-auth/plugin-api-retirements.pw.test.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"354a68e2e5138b0e3188fdb1b38eae16238cd4369f8b0855df433975d0206a49"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/local-auth/plugin-catalog-api.pw.test.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"75a9e210c3ca0e49f15c4e5f8afdd8a92a85f6ae5ef1bd39bf3b213e354aaf0e"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/local-auth/plugin-inspector-findings.pw.test.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cdc5ae2989f798937f2cbd535d20659e2f1a3bef6b509f909e58384db729d33"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/local-auth/publish-skill-lifecycle.pw.test.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"7efaf10964033a8036b37c53889e9865583c3241d2ee48aca88def72fc20dfc0"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/local-auth/publisher-create-owner.pw.test.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"587c23da8ddbcdd762a9de02b5a40d4269adbf728948f6e8d1a04c0846bca9e3"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/local-auth/publisher-github-profile.pw.test.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f99ffed6c46f57c2ee1007f7227d1ff972a52f53fa24b76096cd3156c604502"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/local-auth/skill-hero-metadata.pw.test.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"83634b3a7d5b15e70657d23ad0c52a96f8e76328937a4b10fce65393fcc02092"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/local-auth/skill-presentation-metadata.pw.test.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"41de8604067d3c4374ed59c32067e751ec5a474a5d4687211eb0f7c33b379291"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/local-auth/skill-star-sync.pw.test.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"3920624d5e7ab929c7c02918e468fe1c994410a395d2f47abe1e046130d3f5cb"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/local-auth/template-official-boundary.pw.test.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f0f5cfb2bd7655a47e187ce553684cf47d7b1c60cd11b1cfccdcac5fad3e4bd"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/local-auth/version-delete.pw.test.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"713ba43534631c0e14a0f0f9928c19ac3dc17ea5334bf9c0f9c73e19f090aa02"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: requires the registry argument at the type level: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/authToken.test.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"52d3bbf0a839549461ebaf86464d409541e38a88c2dd9616c32410e1cdbf424f"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: reserves the last request only once when streamed bodies finish together: This test starts work it did not wait for (\u0060pending\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise((resolve) =\u003E setTimeout(resolve, 50))\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/evaluations/openai-capability-broker.test.ts"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4ee84a2a53bc795ef779621e0aec74f77b08a5b6c42742eade185348a5b5cd5"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: starts a manual publisher abuse scan without exposing force-new: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 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/routes/-management.test.tsx"},"region":{"startLine":1015}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ee3e55b0cc3ad610b67034efa6d697c44de677667c7d5b0551e1bdbc01d3acd"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: runs every signal check from the Signals tab rescan control: This test sets up 4 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 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/routes/-management.test.tsx"},"region":{"startLine":1038}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8bffb43090310dc5b2f80f5c9a1cd964b688561e73d19ebbf97a50de7262306"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: connects GitHub from organization settings when memberships are unavailable: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 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/routes/-settings.test.tsx"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0e876048f3b8cf783a929e1f66d0c8927fbd2c0d4dce6beb6550f9fdca6474a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: selects a verified GitHub organization and saves its immutable id: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 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/routes/-settings.test.tsx"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc4b432682322b8578ef803caa312e4aeee189c9bb875d32fd33bba7d0e2a68c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: refreshes a linked GitHub organization handle after a rename: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 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/routes/-settings.test.tsx"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a02f7404fb06a39ba3571bf1b84c3c74ac49b0c5a8f75cd1e60ce9b6b221228"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: saves unrelated profile changes when the linked GitHub organization is unavailable: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 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/routes/-settings.test.tsx"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef25993773705e0291576bf4723cab80f9217930402eee5caa469329f43b56c0"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: allows removing a GitHub organization after membership verification expires: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 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/routes/-settings.test.tsx"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b3785a6ee161ae9b668d2bc0af354567bafa64dd34e36fce1ee99a85f281507"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: clears auth state and leaves settings after account deletion succeeds: This test sets up 6 test doubles (for example \u0060vi.fn\u0060) against 0 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/routes/-settings.test.tsx"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d67f47fa1e82547cebb5b0d2be69c92880f9ca9746a8213875bce710e6bdd65"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: creates a member invite from the Members block invite dialog: This test sets up 4 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 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/routes/-settings.test.tsx"},"region":{"startLine":965}}}],"partialFingerprints":{"codehealthFindingId/v1":"1940f218a31512312d645f0ce28564754b3fb0469f826dbc7e2ac794e4fa8217"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: updates an existing member role from the Members block dialog: This test sets up 5 test doubles (for example \u0060vi.fn\u0060) against 0 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/routes/-settings.test.tsx"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"962cf6dc0f15c9da68e5b624e16930b8854c5769fca5dacf8d5125a7269e61ae"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: updates an existing member role by personal publisher handle when user handle is missing: This test sets up 5 test doubles (for example \u0060vi.fn\u0060) against 0 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/routes/-settings.test.tsx"},"region":{"startLine":1034}}}],"partialFingerprints":{"codehealthFindingId/v1":"6be5eec25327cc73a282a90d606244b27df9a839505763f7472c023482255bdb"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: loads additional permanent history pages: This test sets up 4 test doubles (for example \u0060vi.fn\u0060) against 0 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/routes/-management/PromotionsPage.test.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"73fe97b95ff8ecf85a5971b8f0c28815560efe1569246f7ccf86d773d799eba5"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: accumulates only visible allowed seconds and requires meaningful scrolling: 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 4 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/lib/analyticsEngagement.test.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"04f6d3f751658840f3af909e63f30714e875f4fd8cee21e623b5c2ce916a6880"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: cancels short section appearances and denies pending/hidden dwell: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 5 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/lib/analyticsEngagement.test.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"5851009e3994cbfccdec533d00a40d912f333cc3ba47cb9e968823bac207d826"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: signs out before switching between local personas: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 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/DevPersonaFab.test.tsx"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5c7216345e1093dfaad04ff6595adf81ce0f45d62e7804664d722a705d0c392"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: starts GitHub sign-in with the current relative URL by default: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 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/SignInButton.test.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"471ab92f395f5a8695d372e3c456c784ed581f11beeb8f2467b32112d8694e8f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: surfaces user-facing auth errors when sign-in rejects: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 2 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/SignInButton.test.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"df1005a5c9569bed13e58fed09be51bb2874286d3084b8eea65b301a62c12a76"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: routes banned-account sign-in rejections to the banned account page: This test sets up 5 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 2 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/SignInButton.test.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"206b2cd083e8a2caac946095ce791802bb24c2a10247d405610d558da0dd8656"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: shows manager pagination when a filtered plugin page has no visible releases: This test sets up 4 test doubles (for example \u0060vi.fn\u0060) against 0 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/__tests__/version-delete-ui.test.tsx"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"463ca2e421cb766b80c12bc078e90d5fb82cb97b27bfbcf2d92b776f1d52761b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: renders unknown audit state when metadata is not fetched: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 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":"server/og/pluginRoute.test.ts"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc4cc7abfe475da03dd5b8815ad19744f8c38ebf857b9f2c0fa8d706101ccb57"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: uses explicit downloads over legacy installs query params: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 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":"server/og/pluginRoute.test.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9e32b9fbcceb5d521566c5b6f180e5dedefe6f5fbe258b58fc6e645fa4c1838"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: verifies trust indicators before rendering query-requested official state: This test sets up 6 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 5 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":"server/og/profileRoute.test.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e11d0942777946ca97648b4565ca5f9eb1505396351f5022144204d6df64b7"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: verifies non-zero organization state even when affiliations have no images: This test sets up 6 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 5 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":"server/og/profileRoute.test.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"d484ac4941c3de52cfa2573e0513dc63f6d58906e2ee6328c7880897af70cb5d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: uses verified metadata for official cards requested by query params: This test sets up 5 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 5 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":"server/og/profileRoute.test.ts"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"60e00e1d89970508990ec30963785c6520bf485ec25a98d4896049e043ce75f8"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: uses verified metadata when fetched metadata adds trust indicators: This test sets up 5 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 4 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":"server/og/profileRoute.test.ts"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f162d4955192d586f5fd26f9433b9ccb9c7eb36149da37f854a2bc086c85c58"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: caps metadata affiliation logos before fetching and normalizing: This test sets up 5 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 5 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":"server/og/profileRoute.test.ts"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"db9a0f220f30649ab724d10f2619383bfb532c35e3714707e0fe4611bb7f482a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: prefers the skill icon over the publisher profile image: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 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":"server/og/skillRoute.test.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"9497c5d7a4ea4e74ed0a17f8648fe8f74f5f425bb6ebeabeba8274f2f628f05e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: falls back to the publisher profile image when the skill icon cannot render: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 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":"server/og/skillRoute.test.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"97ecac31b733e64310fdd579d8b2506b0a7e9ba9b7ed06a5cc2e0c40f3c8983e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: uses explicit downloads over legacy installs query params: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 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":"server/og/skillRoute.test.ts"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af67c972ac21ec4ff9cf0a8352d5009d010bfb51868c8aee98a8f710f5fae7d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not retry permanent claim errors: %s: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 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":"scripts/security/run-codex-scan-worker.test.ts"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f8edbc4ddef1a3c697737d1c3bc0e869aa17c0c3fd30600bd0ea93b426378f2"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: rescans legacy skill artifacts that have no cached A.I.G evidence: This test sets up 4 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 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":"scripts/security/run-prepublication-worker.test.ts"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3026850502c6077d32b64df1d716fdfc33b5f31828564aaffc9d7c7a18a4924"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: stores an explicit token without requesting a device code: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 4 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":"packages/clawhub/src/cli/commands/auth.test.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"22315a944b4de766ea6b18ce73b3481cc7df890ee2f30f5738c2da4239b35406"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: uses device flow by default and preserves the token label: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 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":"packages/clawhub/src/cli/commands/auth.test.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"10214e48c18efac456cddce2427d031930307b3f1bbad50dd15aa6814d1e7d5c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: removes token and logs a clear message: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 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":"packages/clawhub/src/cli/commands/auth.test.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"b24e353ba190286ca4d3cf64cc57a0d48430cba342e0a46dbe1e439023dfe0df"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: supports dry-run without auth or publish and prints a summary: This test sets up 3 test doubles (for example \u0060vi.spyOn\u0060) against 1 real object(s) of its own, and its only verification is 4 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":"packages/clawhub/src/cli/commands/packages.test.ts"},"region":{"startLine":4424}}}],"partialFingerprints":{"codehealthFindingId/v1":"905e88d372af7f12193da8b94ae1a3092be7f9f8f9d9d4ade50c61e88207ba54"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: prints Cancelled and does not remove when prompt declines: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 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":"packages/clawhub/src/cli/commands/skills.test.ts"},"region":{"startLine":2869}}}],"partialFingerprints":{"codehealthFindingId/v1":"e625ad8240cc672431353d6a210532184ed1a1ba0deeaea2dd5fce74fec4ca7d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: clears latestVersion when the current package release is soft-deleted: This test sets up 5 test doubles (for example \u0060vi.fn\u0060) against 0 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":"convex/functions.test.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"5015150581d75825e35a901a2b634dcb0bb43a5925c14a930b1d75aab29e85f2"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: preserves latestVersion when the current package release is active: This test sets up 5 test doubles (for example \u0060vi.fn\u0060) against 0 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":"convex/functions.test.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f695711fa6ec32ad4a68efbf101db258fb381fccf7c07538b39fde426b0fd2a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: repoints packages to a published release, skipping unavailable siblings: %j: This test sets up 5 test doubles (for example \u0060vi.fn\u0060) against 0 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":"convex/functions.test.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"e298b4c81fd6fedf0dff26a6c064975419c1c52b3d882dcd3e438b1c7c53e064"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: repoints bundle packages to the newest surviving release, not semver-looking versions: This test sets up 5 test doubles (for example \u0060vi.fn\u0060) against 0 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":"convex/functions.test.ts"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8e20b0b952f09185e43a89c9c5efca4071eb517ea992a27d3a59afc4107c483"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: re-syncs package digests when an owner handle changes: This test sets up 6 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 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":"convex/functions.test.ts"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"a027023a8ba4c9a94e101e58506e2f7ef8d994b821b47a8f0aeee930d9b7251e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: continues owner-publisher $kind digest sync one page at a time: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 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":"convex/functions.test.ts"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"7048b0e52678c29c6910aaac1893d327c29d404a12475b483f1ce4f27e152c03"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: users/publisher ensures an org publisher handle for admin: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 2 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":"convex/httpApiV1.handlers.test.ts"},"region":{"startLine":2295}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c553ee44e8c086001c0f289e2028f893e187abe108fa0978f7384bfae9d568"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: spaces the next batch by the requested delay and clamps it: This test sets up 6 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 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":"convex/maintenance.test.ts"},"region":{"startLine":2220}}}],"partialFingerprints":{"codehealthFindingId/v1":"27b0dd9ef888afdbc12092c269643622ef85982c1dbf178e62c2472fb8f7b008"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: quarantines a malicious latest plugin release and restores the previous clean latest: This test sets up 9 test doubles (for example \u0060vi.spyOn\u0060) against 0 real object(s) of its own, and its only verification is 4 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":"convex/packages.public.test.ts"},"region":{"startLine":18619}}}],"partialFingerprints":{"codehealthFindingId/v1":"593088fdfb43bf6a4c8c0a4714ca1856d6959c8502a28d30283df5a773946180"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: quarantines a malicious non-latest plugin release without changing the clean latest: This test sets up 9 test doubles (for example \u0060vi.spyOn\u0060) against 0 real object(s) of its own, and its only verification is 5 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":"convex/packages.public.test.ts"},"region":{"startLine":18765}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b4c68c1b0261901a0e4d1f4742509b75f6f1fa4d8d9ada17f4bf2b1223b8c12"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: clears latest pointers when the first plugin release is malicious: This test sets up 8 test doubles (for example \u0060vi.spyOn\u0060) against 0 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":"convex/packages.public.test.ts"},"region":{"startLine":18896}}}],"partialFingerprints":{"codehealthFindingId/v1":"3253d0a20049c6f02c695366cbc4ce921bd502fe017058cbaa8322c5ff5fe1f2"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: records downloads as append-only events: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 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":"convex/packages.stats.test.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7f4a7e62fa42a091175bd15f25ed0573afdd7fd411f2cee694663e8dda1a38b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: records installs as append-only events: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 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":"convex/packages.stats.test.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"019209383cdddfaaead2d8e8faf43ea42d8764f61179a01907bc8a96967d6e77"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: dedupes identity-backed installs before appending stat events: This test sets up 7 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 10 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":"convex/packages.stats.test.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"64f4e778c2de848a83ae6bc36aee43361a015ba9c67b90491d27a1dae17b3618"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: uses the run\u0027s stored model config while collecting score rows: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 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":"convex/publisherAbuse.test.ts"},"region":{"startLine":4943}}}],"partialFingerprints":{"codehealthFindingId/v1":"a38d9fe2cd0550a6ec49b4dbd2c96d5777e4ac2b65b5fdba48fdd95eac01b234"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: uses skill-only engagement when publisher stats include package totals: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 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":"convex/publisherAbuse.test.ts"},"region":{"startLine":4989}}}],"partialFingerprints":{"codehealthFindingId/v1":"414377dc7792b45e06db55ab73be43901845ef87b24e0d2d69e4b5f7d8528d61"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: bounds manual active-skill fallback derivation across a collection page: This test sets up 4 test doubles (for example \u0060vi.fn\u0060) against 0 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":"convex/publisherAbuse.test.ts"},"region":{"startLine":5142}}}],"partialFingerprints":{"codehealthFindingId/v1":"0df4646014e81f82597d599aa44f9be1e72ef5060257353d0370edbc65efa51d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: skips cron scoring when the base published skill count is missing: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 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":"convex/publisherAbuse.test.ts"},"region":{"startLine":5366}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ab9c322093c01d1589433ca7071b1c03a06e9794e52aca45b0a607d80de2baf"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: excludes zero-skill publishers from cohort statistics: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 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":"convex/publisherAbuse.test.ts"},"region":{"startLine":5561}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc13e9d7fccfeb6f7ba0905107a6dd1ec40960b8d394c944fa5b9acc99b1cdb"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps source pages below the dense daily-stat read budget: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 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":"convex/publisherAbuseTemporalScan.test.ts"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5ba681997c642073127af14bde9bcbec62b400995a452af0f2cb038c478ced3"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: passes only percentile inputs to the persisted benchmark sample validator: This test sets up 3 test doubles (for example \u0060vi\n      .fn\u0060) against 0 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":"convex/publisherAbuseTemporalScan.test.ts"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d32e45a9f10c161ee4d7b570412b75f219e6363eff456c7684557379471f8e1"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps a modest spike only as publisher synchrony input: This test sets up 3 test doubles (for example \u0060vi\n      .fn\u0060) against 0 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":"convex/publisherAbuseTemporalScan.test.ts"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"b79086f83dd94694402fe21b36a22ee645247ee377b51672407a6bf2bceb8e04"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: links only a freshly verified GitHub organization membership: This test sets up 8 test doubles (for example \u0060vi.fn\u0060) against 0 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":"convex/publishers.test.ts"},"region":{"startLine":6233}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1f8fbeb67fcacf141bc7dd430a3fe66094009988ab638771322f98413f2583c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: audits org trusted-publisher changes: This test sets up 7 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 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":"convex/publishers.test.ts"},"region":{"startLine":6606}}}],"partialFingerprints":{"codehealthFindingId/v1":"3290e56a0505d0b7bf9956a803b7535646743be925d42695f5c035dbc9f5dd67"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: bounds queued job lookup by version and status: This test sets up 7 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 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":"convex/skillCards.test.ts"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c186de2386a0c069131949825638eb47acd51670e18261d6067359fa5a6afbf"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: protects the latest tag from deletion: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 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":"convex/skills.deleteTags.test.ts"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"155f68054a56a17536b13d995df42eda96116e407c4756744d5026b9489a7011"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: skips db write when no tags are actually removed: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 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":"convex/skills.deleteTags.test.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"df9f778af7a4869d0e615d1d6e0b09a0500066d8410207898a186d976cc4ed45"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: allows moderator to delete tags on other user\u0027s skill: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 4 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":"convex/skills.deleteTags.test.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"872312f29af60a3568437b42bf698791c4ef9202a9aeb823c49d870510d2f3f3"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: allows publisher admins to delete tags on org-owned skills: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 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":"convex/skills.deleteTags.test.ts"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"737b95b4508b5713f286a2a12e333cee9007d142b3ba0243f10f68b7bdd13e71"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: updates tags only to versions that belong to the skill: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 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":"convex/skills.deleteTags.test.ts"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3dad462c287c89bb2bdb338014469d4c0f447e6cc57e2d9c45aed23323a051a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: allows publisher admins to repoint latest for org-owned skills: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 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":"convex/skills.deleteTags.test.ts"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"b37a3ce62020ad1c1d11a3a600d9c2034fbcae6067ff0410db668d067275f389"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: allows the skill owner to update a trimmed summary: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 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":"convex/skills.deleteTags.test.ts"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"e536b1d892319a8d52d62156d2716a9a359dce18ae1dce72a8ba956533a4ce75"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: allows publisher admins to update org-owned skill summaries: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 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":"convex/skills.deleteTags.test.ts"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"df1369a22ac6751c5ed252ca3e07bc00aa511377dd05a515314fdca8359f7cfa"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: sets duplicate relationships by canonical skill id when slugs are ambiguous: This test sets up 6 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 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":"convex/skills.ownership.test.ts"},"region":{"startLine":1232}}}],"partialFingerprints":{"codehealthFindingId/v1":"95b799fffd7cdcc789076c55f75eeacb5ba9198e3f7458331aa6d9585b273ceb"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: quarantines a malicious latest skill version and restores the previous clean latest: This test sets up 6 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 5 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":"convex/skills.rateLimit.test.ts"},"region":{"startLine":1425}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdec3ccf12fd0023596afd1910fdb1ea4556618bbcca4ee3aab2138788966177"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: quarantines a malicious non-latest skill version without changing the clean latest: This test sets up 6 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 5 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":"convex/skills.rateLimit.test.ts"},"region":{"startLine":1655}}}],"partialFingerprints":{"codehealthFindingId/v1":"83c033cdabd46b927f81f65543f9250ed6d30e02ae70be33f6b88477b70d7211"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: quarantines a malicious first skill version without publishing a latest version: This test sets up 6 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 5 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":"convex/skills.rateLimit.test.ts"},"region":{"startLine":1793}}}],"partialFingerprints":{"codehealthFindingId/v1":"decf60b56e4743a28083caabd4e8b4851bed11a19303379115cc565e7fbee7b6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: quarantines ClawScan malware while preserving an existing moderation hold: This test sets up 6 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 5 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":"convex/skills.rateLimit.test.ts"},"region":{"startLine":1974}}}],"partialFingerprints":{"codehealthFindingId/v1":"18c11ffbf8687547a50959344bb55456863d12652ba8e9146de032bf7de8997e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps new publishes hidden while the uploader is under moderation: This test sets up 5 test doubles (for example \u0060vi.fn\u0060) against 2 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":"convex/skills.rateLimit.test.ts"},"region":{"startLine":2125}}}],"partialFingerprints":{"codehealthFindingId/v1":"7023fe11f1c476edf56cc3caf91b1d0fa5b4a41f675cd41d11e81a397a5256ba"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: rebuilds structured moderation state for legacy skillId escalation: This test sets up 5 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 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":"convex/skills.rateLimit.test.ts"},"region":{"startLine":2203}}}],"partialFingerprints":{"codehealthFindingId/v1":"deb49ba221c49128768049377f1d01cf91d53433960ef6c931dff37fe839afc7"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: records the first plugin install for a canonical scoped package: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 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":"convex/telemetry.test.ts"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"c115a0000352e7db2c4adc75a4619899ddde3deb68cd59fc7cd0954bb2ca5d6f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: updates repeated plugin installs without incrementing package metrics: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 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":"convex/telemetry.test.ts"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f1bf6054f222cc378e5c1c07bed9e35b279150522c33f6e1d5cc52af52dea2c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: retries a pending package metric on a repeated plugin install: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 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":"convex/telemetry.test.ts"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"f705fa70390c52b122558507a29e75a9e5dde1ba1ae1651599ced4a7b4da684b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: ignores unknown or deleted plugin packages: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 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":"convex/telemetry.test.ts"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"352bfd129c7b195ae2b74bdb07f0725f6148b9e298781eb16c086fe3d3c979aa"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not attribute an unclaimed skills.sh install to a same-slug native skill: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 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":"convex/telemetry.test.ts"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"13b3fe4b9d902d38905f7e78c64029b1060b23571519f7441f396baec9ab202b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: uses owner identity when recording an owner-qualified install: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 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":"convex/telemetry.test.ts"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"c820e74ded80fd59ff5ba716af9eb94bde4cc8dfb263b11818747b72ce3b347f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: resolves an owner-qualified slug alias before recording an install: This test sets up 4 test doubles (for example \u0060vi.fn\u0060) against 0 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":"convex/telemetry.test.ts"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"0902df20585638939087cc76dcd26fe55d6c7429565146765fd1deb5da37297c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: skips bare slugs when more matches exist beyond the inspection cap: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 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":"convex/telemetry.test.ts"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"7380e43aa88097e79d25da4e945b7b755aac3228ffd398b8820cc669f4cc4feb"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: dedupes repeated install telemetry for the same user, skill, and day: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 5 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":"convex/telemetry.test.ts"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8ddf7b8044f9399e23bbec765466f2bb89147ce3282aa07aa1d8f1aa6a58216"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: clears installs and dedupe rows: This test sets up 5 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 8 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":"convex/telemetry.test.ts"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd6747471323c8563145b268c685059fb18ed6890bc6e66603c50c96303818cb"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: falls back when a derived handle and email local part contain openclaw: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 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":"convex/users.test.ts"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"c63254550b742d6329e595fbfceb37aed8f35fe61903fb306742e2e2a51b5f76"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: repairs an existing handle that is no longer claimable: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 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":"convex/users.test.ts"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"95cc1abbfe1fcd3d2d1c7cf494e11589ea9800c32c273bd6d53a1720eb510278"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not auto-claim a reserved handle for another user: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 2 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":"convex/users.test.ts"},"region":{"startLine":921}}}],"partialFingerprints":{"codehealthFindingId/v1":"2012830225e3862e301392491393a0424d6b1c992058e380c127112677c3dcfa"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not auto-claim a handle already owned by an org publisher: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 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":"convex/users.test.ts"},"region":{"startLine":966}}}],"partialFingerprints":{"codehealthFindingId/v1":"a49ecb82a15c2805ece7f37099c5f16993d84ee13c5c4b5f03006ea4025db002"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: audits GitHub profile sync and resulting personal publisher creation: This test sets up 4 test doubles (for example \u0060vi.spyOn\u0060) against 0 real object(s) of its own, and its only verification is 2 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":"convex/users.test.ts"},"region":{"startLine":1566}}}],"partialFingerprints":{"codehealthFindingId/v1":"c00bf1a6dd6f0e9a434e07ebc8893966d0013111f9b4a17e6e0cba0f775966e6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps a derived handle unchanged when the new login is reserved: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 2 real object(s) of its own, and its only verification is 2 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":"convex/users.test.ts"},"region":{"startLine":1615}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f3a4a9e94dbedde79c464bdd4c6cb0990e3ebe6decd1481cbcc95b8c2867c35"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps a derived handle unchanged when the new login belongs to an org publisher: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 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":"convex/users.test.ts"},"region":{"startLine":1669}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4a83033c60919971b968b78745896f3c4d562db308c039ed4005925865ef77f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: audits self-service profile updates: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 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":"convex/users.test.ts"},"region":{"startLine":1712}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf269992102813537a910eb4e71da93dad68dcb11f6f2451e485738f00a23c6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: saves profile changes when personal publisher handle sync conflicts: This test sets up 7 test doubles (for example \u0060vi.fn\u0060) against 2 real object(s) of its own, and its only verification is 4 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":"convex/users.test.ts"},"region":{"startLine":1748}}}],"partialFingerprints":{"codehealthFindingId/v1":"c17561c18e58878a903b06ef7dc01beee55ce0dd086c48869431248c724596ba"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: audits self-service account deletion: This test sets up 8 test doubles (for example \u0060vi.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":"convex/users.test.ts"},"region":{"startLine":1811}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce5f72ac1310e20f1299f6028d62a2e0f66f8f5d70a768d1a33ea8b3bef2e3c6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: schedules a public-safe ban notification email when the target has email: This test sets up 5 test doubles (for example \u0060vi.spyOn\u0060) against 0 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":"convex/users.test.ts"},"region":{"startLine":2967}}}],"partialFingerprints":{"codehealthFindingId/v1":"37a76201871c8dd21ec7b98cb4cec62f8612a54d98eae41fc132f2372f7ab488"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: schedules a malicious skill notification with trigger context: This test sets up 5 test doubles (for example \u0060vi.spyOn\u0060) against 0 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":"convex/users.test.ts"},"region":{"startLine":3060}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5997499c080365fb378c1c274e2bac2a656e0211e2af31f8921297a27edfb32"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: uses cached githubCreatedAt when present: 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 4 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":"convex/lib/githubAccount.test.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbb16bcfb3ff5836c0dca6c52c385613ed08d3cfcab4f9d45b949d9a88965f2a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: allows admins without GitHub account age lookup: This test sets up 4 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 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":"convex/lib/githubAccount.test.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"69208af318142939b6ca19c7d9ad1bae6f84deef8c91e1425f7fe98879561dd0"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: fetches githubCreatedAt when missing (by providerAccountId): This test sets up 4 test doubles (for example \u0060vi\n      .fn\u0060) against 1 real object(s) of its own, and its only verification is 2 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":"convex/lib/githubAccount.test.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c83c439eb3f172037ad5c89ed49274fbac4fb6dac817abaa69143f4af12dbb0"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: includes Authorization header when GITHUB_TOKEN is set: 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":"convex/lib/githubAccount.test.ts"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f50fac0a69a602e85187897c64af6bfbabb16d55c4467595eb5d406e05ca593"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: omits Authorization header when GITHUB_TOKEN is blank: 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 2 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":"convex/lib/githubAccount.test.ts"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b897badadc063cc2b41749ea974c9091d19eff2bc8c2d4331b1453512c055a5"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: retries without Authorization when GITHUB_TOKEN is rejected: This test sets up 5 test doubles (for example \u0060vi.spyOn\u0060) against 1 real object(s) of its own, and its only verification is 4 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":"convex/lib/githubAccount.test.ts"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ca7ccaf4d2633dd20612b4dba1d19422f3557d22c1ece7d40fa0eee2b9e9a41"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: skips recent syncs (throttle): 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 2 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":"convex/lib/githubAccount.test.ts"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"67d02356d37dee419f1c2f018c5f1cc5ee841c421c9d873c135b239583dbb8ae"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: updates profile even when only avatar changes: This test sets up 4 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":"convex/lib/githubAccount.test.ts"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d5816c1cb1079dfe52782bd4b94bce5fcfb2b38e8a1bb66ae7dc6a201e174e1"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: updates name and records sync timestamp: This test sets up 4 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":"convex/lib/githubAccount.test.ts"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cbb5532851368c74cd4091a55d1b819e237eb1f00a26188703f0f5098fb2a59"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: forwards GitHub profile name (full name) when present: This test sets up 4 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":"convex/lib/githubAccount.test.ts"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a98b269a7d4ea0c78b9a8afde797a74bde6596698cc66221c6cc6647af41695"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: $name: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 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":"convex/lib/packageSearchDigest.test.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c59f3fc12208bcbea75fcacf612e5ad280c3926ffdc25068a4f7dae6b286ec4"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: syncs one topic digest row per valid stored topic: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 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":"convex/lib/packageSearchDigest.test.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a74d3716f849d7ed6d8c13b0cdd1c1401a425a11582ffe57d0163149c13273f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not infer plugin categories during shared digest resyncs: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 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":"convex/lib/packageSearchDigest.test.ts"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"bde6ae493e4f05d620a034a9197986f3d5f1ed254e489408924a38d4c7080710"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not touch publishers for absent, unowned, or soft-deleted documents: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 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":"convex/lib/publisherStats.test.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f149a3a214afa84b84db6534bbc96480d9ae4cd6389ea9b24c764a7ee916db6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: recomputes missing publisher aggregates before accepting incremental deltas: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 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":"convex/lib/publisherStats.test.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"09aa2d62502e0293c1d49678debd3b93a1598d786e395f3f577582317b169197"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: uses deltas when publisher aggregates are already initialized: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 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":"convex/lib/publisherStats.test.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"85c83afbe3cee979af89cc7386d2e132c2cb608bafd745fe1a72a1dc71c7e4c9"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not count hidden skills in public publisher aggregates: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 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":"convex/lib/publisherStats.test.ts"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"897911fdde89532673130ac94ac81589795ef23e2db18812d8e8255773d9c162"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps legacy aggregate updates bounded when skill-only aggregates are missing: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 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":"convex/lib/publisherStats.test.ts"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f790d2e0627d892b19692ead333df347cca33411a99bb37cdd23c3551f35ddf"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not touch publisher rows for existing package version-only updates: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 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":"convex/lib/publisherStats.test.ts"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"04e72dba4b3b38270b27cd92316d4a56290d5b1bdb0b6110f0c7b80fb7844831"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps concurrent package version publishes off the shared publisher row: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 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":"convex/lib/publisherStats.test.ts"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f321da39cf01ec736762b0c0196048235c5be13a54148c9e9c41dcdf053a0f8"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: uses deltas without scanning the catalog when a published package is soft-deleted: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 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":"convex/lib/publisherStats.test.ts"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"df550346a95af19fb1e25df1a1c92dd31bbb4ab29e7935d064042d918a54bb32"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not count a staged package that has no published release: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 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":"convex/lib/publisherStats.test.ts"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"d175c7ff019b4ca5dafe7a306710a6ccbc7559465e455ced1fd3e98fb8f16540"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: publishes long display names without rewriting the stored label: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 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":"convex/lib/skillPublish.test.ts"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc9fe4f01c90cce6be119a65ea1ab2931a2c3a17dd2b6f7cafca0426944cfb58"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: stores the target publisher handle for the finalization webhook: 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 2 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":"convex/lib/skillPublish.test.ts"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"5502787325e875f86502867d5e475ee713558ba9627117e2a8b384fd8fe73c1d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: uses Other when $reason: 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 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":"convex/lib/skillPublish.test.ts"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce943b7208c51c91b04068282dc63580e21b0b87495e2f5436c150ba1b07063d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: removes indexed topic rows when topics are cleared: This test sets up 4 test doubles (for example \u0060vi.fn\u0060) against 0 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":"convex/lib/skillSearchDigest.test.ts"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1e5db161c3d92ac3afda7c8c009e864f0be2b7c22fc460d3b997e56c179856e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: removes the curated projection when the last curated badge is cleared: This test sets up 4 test doubles (for example \u0060vi.fn\u0060) against 0 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":"convex/lib/skillSearchDigest.test.ts"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea018ca8887d917afa19462da1e7890b3b338dde9e892caef2cc9dd2819c1489"}},{"ruleId":"D13","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":"7dddbd051caf53e8d40dcc51f1ed1e0f4aa60bd1a06e679c066af58763c35e19"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-libvips-darwin-arm64: \u0060@img/sharp-libvips-darwin-arm64\u0060 1.3.4 is published on registry.npmjs.org under \u0060LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bun.lock"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cb9cac83efbb8fb5b1b1714cd7ce06ef46586b0cb953bfde13d5cef10838aa9"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-libvips-darwin-x64: \u0060@img/sharp-libvips-darwin-x64\u0060 1.3.4 is published on registry.npmjs.org under \u0060LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bun.lock"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"81de28cedeef63f197969d04616e27ba4aeb27e4375cfebf400bfd8540537a9c"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-libvips-linux-arm: \u0060@img/sharp-libvips-linux-arm\u0060 1.3.4 is published on registry.npmjs.org under \u0060LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bun.lock"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed930a6d1b3ac4b890509506dec0a58727b515b0b43327cc1a4b4298e79514d8"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-libvips-linux-arm64: \u0060@img/sharp-libvips-linux-arm64\u0060 1.3.4 is published on registry.npmjs.org under \u0060LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bun.lock"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf1b9a31ae3b29118432d1284fc0c855fbfbf2bc26303258aa349bed6999fa27"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-libvips-linux-ppc64: \u0060@img/sharp-libvips-linux-ppc64\u0060 1.3.4 is published on registry.npmjs.org under \u0060LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bun.lock"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b20c11a65955bafb54a0fe488a53c597a9857c6aea42950b92968a57c6553f1"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-libvips-linux-riscv64: \u0060@img/sharp-libvips-linux-riscv64\u0060 1.3.4 is published on registry.npmjs.org under \u0060LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bun.lock"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"51fa7dd2c5433945143e886736f323d34568a1815de5755ea55f247d83db2255"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-libvips-linux-s390x: \u0060@img/sharp-libvips-linux-s390x\u0060 1.3.4 is published on registry.npmjs.org under \u0060LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bun.lock"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e3d0fc4342775e0cda07639d86e20b7ecd506920fa0b1a66c6f1ebfb1f8c2ab"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-libvips-linux-x64: \u0060@img/sharp-libvips-linux-x64\u0060 1.3.4 is published on registry.npmjs.org under \u0060LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bun.lock"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"e740d28a1384feb307d2f24d03cf2e2e13a5d6eda920a4040480f40df2e9d50b"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-libvips-linuxmusl-arm64: \u0060@img/sharp-libvips-linuxmusl-arm64\u0060 1.3.4 is published on registry.npmjs.org under \u0060LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bun.lock"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ce0111811bc0c564efe3bc5758a9fe2ff77adefe8940d96c0e94f001dc6bb6"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-libvips-linuxmusl-x64: \u0060@img/sharp-libvips-linuxmusl-x64\u0060 1.3.4 is published on registry.npmjs.org under \u0060LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bun.lock"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"e91fe0a042e1c39cd9d87efaed4be891aa907345e587e25c7d6b01efdaaffd89"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-wasm32: \u0060@img/sharp-wasm32\u0060 0.35.5 is published on registry.npmjs.org under \u0060Apache-2.0 AND LGPL-3.0-or-later AND MIT\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bun.lock"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"1135ffbb448d71e8cb7f5d4d9fb10acf52d978f9eb537a0cd1f2166ada470428"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-win32-arm64: \u0060@img/sharp-win32-arm64\u0060 0.35.5 is published on registry.npmjs.org under \u0060Apache-2.0 AND LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bun.lock"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"7501b1efe547a916924b31662388631addbf15548a0d166cc082f57b0eb7a93d"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-win32-ia32: \u0060@img/sharp-win32-ia32\u0060 0.35.5 is published on registry.npmjs.org under \u0060Apache-2.0 AND LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bun.lock"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee7e073ff938556e3b1cdba3c54fe725620ac7ffe9e735802eeadb3dcc853d57"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-win32-x64: \u0060@img/sharp-win32-x64\u0060 0.35.5 is published on registry.npmjs.org under \u0060Apache-2.0 AND LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bun.lock"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"376605ff2c96456f54476e6225693261afc28ecb15a09757b469cf8cfd84bf3d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: convex/packages.ts: convex/packages.ts changed 101 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 138 in packages.publishPackageImpl at line 8052. 46 of those changes were fix/bug commits, and the other 55 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- convex/packages.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":"convex/packages.ts"},"region":{"startLine":8052}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bb648593b45e13b29a51695d460b3fade5fb8e7f027022bd38b6756d55c8386"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: convex/httpApiV1/packagesV1.ts: convex/httpApiV1/packagesV1.ts changed 50 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 167 in packagesV1.packagesPostRouterV1Handler at line 2615. 22 of those changes were fix/bug commits, and the other 28 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- convex/httpApiV1/packagesV1.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":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":2615}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b9086234c15cbc9a8428180780d00f18f44200dc105e873729c1338db13864a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: convex/httpApiV1/skillsV1.ts: convex/httpApiV1/skillsV1.ts changed 28 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 157 in skillsV1.skillsGetRouterV1Handler at line 1761. 15 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- convex/httpApiV1/skillsV1.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":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":1761}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b2953be0bced91d17ed72c9b8a8565bd883bbcf52b33f8e186afa3e76a656f5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/SkillDetailPage.tsx: src/components/SkillDetailPage.tsx changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 198 in SkillDetailPage.SkillDetailPage at line 184. 9 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- src/components/SkillDetailPage.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/SkillDetailPage.tsx"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e76d53caf127c6e185a8117dcfa728cd19ec43916b6909d3578fe40422f5fb0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: convex/skills.ts: convex/skills.ts changed 53 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 57 in skills.setSkillSoftDeletedByActor at line 11462. 19 of those changes were fix/bug commits, and the other 34 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- convex/skills.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":"convex/skills.ts"},"region":{"startLine":11462}}}],"partialFingerprints":{"codehealthFindingId/v1":"35d370c48f06d02b23d4a81cc2916266b4b5f6936247ec956aa6b487c0baf3f9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/routes/plugins/$name.tsx: src/routes/plugins/$name.tsx changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 133 in $name.PluginDetailPageContent at line 1048. 7 of those changes were fix/bug commits, and the other 10 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- src/routes/plugins/$name.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/routes/plugins/$name.tsx"},"region":{"startLine":1048}}}],"partialFingerprints":{"codehealthFindingId/v1":"8be47c75f8736b25f5d430c7e06b5ade2f42708c408bd02eee007616325d87bd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/security/run-codex-scan-worker.ts: scripts/security/run-codex-scan-worker.ts changed 31 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 48 in run-codex-scan-worker.validateClawScanArtifactForClawHubProfile at line 2135. 15 of those changes were fix/bug commits, and the other 16 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- scripts/security/run-codex-scan-worker.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/security/run-codex-scan-worker.ts"},"region":{"startLine":2135}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b7f83d90d4c8e44b2ebf5028c3f0094225c8446baa0895dc93ab8c9343d76b5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/HomeListingSection.tsx: src/components/HomeListingSection.tsx changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 116 in HomeListingSection.HomeListingSection at line 218. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- src/components/HomeListingSection.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/HomeListingSection.tsx"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba97659fb7d82366b8297473b21bafb1b105cc6bf9260d644c1567d0b06f8e24"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/clawhub/src/cli/commands/packages.ts: packages/clawhub/src/cli/commands/packages.ts changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 70 in packages.preparePackagePublishPlan at line 2646. 7 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- packages/clawhub/src/cli/commands/packages.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/packages.ts"},"region":{"startLine":2646}}}],"partialFingerprints":{"codehealthFindingId/v1":"51081aad0f85baab0f3c1a1badc2550184f8184e896b746a1b55b4a043a5d5fa"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/Header.tsx: src/components/Header.tsx changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 93 in Header.Header at line 132. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- src/components/Header.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/Header.tsx"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a8067cbb8b8a7e2b21f33c58345f6c4531a64398e80e31ddafa696c3dce2e7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/clawhub/src/cli/commands/skills.ts: packages/clawhub/src/cli/commands/skills.ts changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 124 in skills.cmdUpdate at line 629. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- packages/clawhub/src/cli/commands/skills.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/skills.ts"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b6dca9e0ff219d24a58b293980f366c186949e92c565f4908b09ad3909ceba0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/routes/skills/publish.tsx: src/routes/skills/publish.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 214 in publish.Upload at line 90. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- src/routes/skills/publish.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/routes/skills/publish.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c4edc6398ec3e3bbfe33f24b2dcd13475871e5dd2caac00c760a233c2b2dd37"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/security/run-prepublication-worker.ts: scripts/security/run-prepublication-worker.ts changed 23 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in run-prepublication-worker.runNativeClawScan at line 653. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- scripts/security/run-prepublication-worker.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/security/run-prepublication-worker.ts"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"55998b1b0bff62db8565ec3ce36da060e446c4e8ccf932190b150d4fbafa4dd3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: convex/lib/skillPublish.ts: convex/lib/skillPublish.ts changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 66 in skillPublish.publishVersionForUser at line 160. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- convex/lib/skillPublish.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":"convex/lib/skillPublish.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"df911808d309a97528c57e58532830ee3b12e0d9005d3827c7ed8112630661b7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/SkillDetailPageView.tsx: src/components/SkillDetailPageView.tsx changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 93 in SkillDetailPageView.SkillDetailPageView at line 193. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- src/components/SkillDetailPageView.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/SkillDetailPageView.tsx"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"795e97d9e206b7621d1d857dcb9bd1e809cfffc77b210bb28724b2fa59be539d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/routes/user/$handle.tsx: src/routes/user/$handle.tsx changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 74 in $handle.PublisherProfilePage at line 483. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- src/routes/user/$handle.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/routes/user/$handle.tsx"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"371360c887abae3e8f6d0adcb8cf01a99526cb6b6f228b7edeeabb4dc9981684"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/lib/packageApi.ts: src/lib/packageApi.ts changed 20 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in packageApi.fetchPluginCatalog at line 370. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- src/lib/packageApi.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/lib/packageApi.ts"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"87375eda2a9e7506ed9ed0ca9f1a7e3614dae147a30d5c364eeaef03e3299086"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/schema/src/templates.ts: packages/schema/src/templates.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 79 in templates.validateTemplateManifest at line 484. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- packages/schema/src/templates.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/templates.ts"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"460cecb5238d6e4b42c30d1fa4d94cf2751a64907e344f003f26397a6e926ca1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: convex/devSeed.ts: convex/devSeed.ts changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in devSeed.seedLocalModerationFixturesHandler at line 2934. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- convex/devSeed.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":"convex/devSeed.ts"},"region":{"startLine":2934}}}],"partialFingerprints":{"codehealthFindingId/v1":"4335064ca732c4cb1d2f83b58ec2d8ccebd7c040b9b35d0a07691fe7119a6c5d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/routes/management.tsx: src/routes/management.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 102 in management.Management at line 226. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- src/routes/management.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/routes/management.tsx"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e015e7cee2bf6e06b2ca3bf753e1ea6a72d0ca8705b3c21f4a1d3c3bd9667b2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/routes/plugins/publish.tsx: src/routes/plugins/publish.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 151 in publish.PublishPluginRoute at line 173. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- src/routes/plugins/publish.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/routes/plugins/publish.tsx"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"19f0271ce33433e454db1d679ac7418b852ed84e40fe4549b9bd99e2928dddb8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: convex/githubSkillSync.ts: convex/githubSkillSync.ts changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 54 in githubSkillSync.applyGitHubSkillVerificationResultHandler at line 2209. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- convex/githubSkillSync.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":"convex/githubSkillSync.ts"},"region":{"startLine":2209}}}],"partialFingerprints":{"codehealthFindingId/v1":"079818fdd6ab20789b8844469752fea52cd9490486d02eb790d588c6eec64fd7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/routes/plugins/index.tsx: src/routes/plugins/index.tsx changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 53 in index.PluginsIndex at line 340. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- src/routes/plugins/index.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/routes/plugins/index.tsx"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"567d4c9adccecd278a82f9a21c947944957a6596d939aadb1ef224513d0aa4eb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/clawhub-admin/src/commands/searchInsights.ts: packages/clawhub-admin/src/commands/searchInsights.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 69 in searchInsights.cmdSearchInsights at line 17. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- packages/clawhub-admin/src/commands/searchInsights.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/searchInsights.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab5f55803bf9d4a436bf2897638bbcbf098b5749b736271ad88a1e5c093dd9b6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/security/run-clawscan-diagnostic.ts: scripts/security/run-clawscan-diagnostic.ts changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in run-clawscan-diagnostic.main at line 334. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- scripts/security/run-clawscan-diagnostic.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/security/run-clawscan-diagnostic.ts"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"67baf481970977ca0b2470515951108eb665056282f15bbdd0a997db499e17a7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: convex/httpApiV1/skillsShCatalogV1.ts: convex/httpApiV1/skillsShCatalogV1.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 78 in skillsShCatalogV1.skillsShCatalogTestV1Handler at line 619. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- convex/httpApiV1/skillsShCatalogV1.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":"convex/httpApiV1/skillsShCatalogV1.ts"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1afe72bc0c04f4880d074c713ce2055f5cb2707981bf15cb26df09fde1e6050"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/routes/-management/AbusePage.tsx: src/routes/-management/AbusePage.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 142 in AbusePage.AbusePage at line 47. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- src/routes/-management/AbusePage.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/routes/-management/AbusePage.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"36453305b330cf94aa1dc5cf591e017a09ef710e2c8e89854af224bd1c2bd3e3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/TemplateDetailPage.tsx: src/components/TemplateDetailPage.tsx changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in TemplateDetailPage.TemplateDetailPage at line 39. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- src/components/TemplateDetailPage.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/TemplateDetailPage.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7ac060f42531c5006891f5c93593b5406ba6d778c383ebc039d1d6dd06cc16c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: convex/securityScan.ts: convex/securityScan.ts changed 21 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in securityScan.enqueuePackageReleaseScan at line 2654. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- convex/securityScan.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":"convex/securityScan.ts"},"region":{"startLine":2654}}}],"partialFingerprints":{"codehealthFindingId/v1":"a465bdfe6441bcf3ab261e8bbad6854373bdaa98b0203f169d2cb61290d08eb5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/routes/skills/-useSkillsBrowseModel.ts: src/routes/skills/-useSkillsBrowseModel.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in -useSkillsBrowseModel.useSkillsBrowseModel at line 105. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- src/routes/skills/-useSkillsBrowseModel.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/routes/skills/-useSkillsBrowseModel.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c82da269dc8eb71b75dd0b2561b78c24744e551d521d202e2b7c932c213de99"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/routes/search.tsx: src/routes/search.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 70 in search.UnifiedSearchPage at line 94. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- src/routes/search.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/routes/search.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"787e232aa3db6e92f2b57b33e0540a925cd5b819ac09a2eb984c0bf31cb90483"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/schema/src/templatePackage.ts: packages/schema/src/templatePackage.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in templatePackage.validateTemplatePackageContents at line 161. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- packages/schema/src/templatePackage.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/templatePackage.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e611f106932a4395ac2c5ef908a0ab26e303bdd840e84483ace871da1a63ac8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: convex/downloads.ts: convex/downloads.ts changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in downloads.downloadZipHandler at line 67. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- convex/downloads.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":"convex/downloads.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"20dd9cdeda1f9ef7610285e92c65d9bc4b2e699c543b3875e989bd6a7237fa7f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/SkillSecurityScanResults.tsx: src/components/SkillSecurityScanResults.tsx changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in SkillSecurityScanResults.SkillSpectorContent at line 276. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- src/components/SkillSecurityScanResults.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/SkillSecurityScanResults.tsx"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"85139aae01d949e254b10de89aea8c1c6b8218a9df3f8ee3f78856a518fda06c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: convex/lib/publishAttemptOperationalRecovery.ts: convex/lib/publishAttemptOperationalRecovery.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 76 in publishAttemptOperationalRecovery.validateRetainedPublishAttempt at line 34. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- convex/lib/publishAttemptOperationalRecovery.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":"convex/lib/publishAttemptOperationalRecovery.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bde1bd059b86f3d11df849c86eb6c0fee41b78cb1858fac2bb16a4d1b2639e6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/skillsShCatalogSource.ts: server/skillsShCatalogSource.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 48 in skillsShCatalogSource.measureSkillsShMirrorProofSource at line 1866. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- server/skillsShCatalogSource.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":"server/skillsShCatalogSource.ts"},"region":{"startLine":1866}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3288549d3f447faa0c18fb3bc29b59375eeedf8657057e70c754ae839ec4d15"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/skills-sh-catalog/sync.ts: scripts/skills-sh-catalog/sync.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 71 in sync.runSkillsShSync at line 192. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- scripts/skills-sh-catalog/sync.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/skills-sh-catalog/sync.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bc2c00ccc5680f6c1da322b6f65ed4b3cb607f559d4e3fa3460707658e3fbf0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/lib/useUnifiedSearch.ts: src/lib/useUnifiedSearch.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 68 in useUnifiedSearch.useUnifiedSearch at line 142. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- src/lib/useUnifiedSearch.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/lib/useUnifiedSearch.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a3b4d91841542efc439489bf8b71311147e623bca889ab94bfd86711f83b905"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/routes/-management/SearchInsightsPage.tsx: src/routes/-management/SearchInsightsPage.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 53 in SearchInsightsPage.SearchInsightsPage at line 17. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- src/routes/-management/SearchInsightsPage.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/routes/-management/SearchInsightsPage.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"a81379bbcb77e1f3c653bec6f46f1de06ea4e075bb48d0786028480161fbcca6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/plugin-category-operator.ts: scripts/plugin-category-operator.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 42 in plugin-category-operator.parseOptions at line 59. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- scripts/plugin-category-operator.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/plugin-category-operator.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb5734d003c39ad28c94971dc9045334b174eca9d1d309c4973808262df1a6bc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/lib/homeListingData.ts: src/lib/homeListingData.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in homeListingData.fetchHomeSkillListing at line 243. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- src/lib/homeListingData.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/lib/homeListingData.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb3ce75444f8fe16a57dcf75905d26bea7f2d7e510fb509ac3ed94ade06ff5c2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/security/clawscan-diagnostic-runtime.ts: scripts/security/clawscan-diagnostic-runtime.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in clawscan-diagnostic-runtime.installOriginalRuntime at line 123. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- scripts/security/clawscan-diagnostic-runtime.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/security/clawscan-diagnostic-runtime.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b8182ccac806bb8ec4f1ab1af8cfa0ac075cadc80f9c61c9c5a38ed3a34dda"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/GoogleAnalytics.tsx: src/components/GoogleAnalytics.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 76 in GoogleAnalytics.GoogleAnalytics at line 28. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- src/components/GoogleAnalytics.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/GoogleAnalytics.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"898016a6ac2c9c054e05e97e8ead670dcac634010597e6247e5631b31b673642"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/lib/runWorkerCommand.ts: scripts/lib/runWorkerCommand.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 56 in runWorkerCommand.runWorkerCommand at line 47. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- scripts/lib/runWorkerCommand.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/runWorkerCommand.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"98e6beded635fadce648bc1e735ae0a411accdbcc305fcf7b7b3a7656b5f8d04"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/security/clawscan-exposure.ts: scripts/security/clawscan-exposure.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 56 in clawscan-exposure.clawScanExposure at line 60. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- scripts/security/clawscan-exposure.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/security/clawscan-exposure.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"455b10924aa27354afefd6ea7024fa84fd139d16f51ca9baedb829be7bf9e709"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/SecurityAuditPage.tsx: src/components/SecurityAuditPage.tsx changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in SecurityAuditPage.AigFindingCard at line 698. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- src/components/SecurityAuditPage.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/SecurityAuditPage.tsx"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"fea7573ce0ab2340ae831b011682124fda6b5452a51ab25105478d527ced80a7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/clawhub/src/cli/commands/inspect.ts: packages/clawhub/src/cli/commands/inspect.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 47 in inspect.cmdInspect at line 72. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- packages/clawhub/src/cli/commands/inspect.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/inspect.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec24a625a5b30a516f9ac7318406d12070f8da4ce929d6887e51d3eaf4da380d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/convexProxy.ts: server/convexProxy.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in convexProxy.parseSkillArchiveManifest at line 521. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- server/convexProxy.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":"server/convexProxy.ts"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"451330efe23d87b1c735eacac3ec7a681f38e87ecf82235bfff3144fccb161a3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/SkillInstallSurface.tsx: src/components/SkillInstallSurface.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in SkillInstallSurface.InstallCommandCard at line 92. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- src/components/SkillInstallSurface.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/SkillInstallSurface.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7eba2c8fc8de3ea7eed392124a9664750fedab9fa708007fc669a05bc0ce82a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: convex/catalogFeed.ts: convex/catalogFeed.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in catalogFeed.buildEntry at line 162. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- convex/catalogFeed.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":"convex/catalogFeed.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"72184330babeda5a540c5ca4c50e7dd4a03ea17b0c847eedde8e4437ccefafc1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/SkillDetailTabs.tsx: src/components/SkillDetailTabs.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 42 in SkillDetailTabs.SkillDetailTabs at line 74. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- src/components/SkillDetailTabs.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/SkillDetailTabs.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec9c5711cfabc41d42e7021170c84b0907253a4b31a798e69c71c73a7cd8b79d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: convex/searchInsights.ts: convex/searchInsights.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 53 in searchInsights.readReport at line 67. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- convex/searchInsights.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":"convex/searchInsights.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d09fce13b3fcc04411064f1a2c59410c32c391e15bf7895456d4c29f1d0829d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: convex/lib/packagePublishRecovery.ts: convex/lib/packagePublishRecovery.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in packagePublishRecovery.assertPackageRecoveryEligibility at line 196. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- convex/lib/packagePublishRecovery.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":"convex/lib/packagePublishRecovery.ts"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dc702f04f6d84ea78c29c49d9a0eb26b361f4319f7b8e81f77a76c2cdfa72d0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/evaluations/openai-capability-broker.ts: scripts/evaluations/openai-capability-broker.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in openai-capability-broker.startOpenAiCapabilityBroker.server at line 74. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- scripts/evaluations/openai-capability-broker.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/evaluations/openai-capability-broker.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"750c54c2e458552ec11cf97fdffdd961a89f21bd24c8e48b8c67704a2a0a9ba2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: convex/httpApiV1/usersV1.ts: convex/httpApiV1/usersV1.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 48 in usersV1.usersPostRouterV1Handler at line 91. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- convex/httpApiV1/usersV1.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":"convex/httpApiV1/usersV1.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"56c4e4ed7201c13d952273f96cce107150bb6271c9926f546509800a164ffb4e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/clawhub-admin/src/commands/moderation.ts: packages/clawhub-admin/src/commands/moderation.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in moderation.cmdRescanAllSkills at line 434. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- packages/clawhub-admin/src/commands/moderation.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/moderation.ts"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"23b756ead3cd8ad13ff8da54f6360c7ec529acc5b0c5add21318628212b1c80e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/security/clawscan-decisions.ts: scripts/security/clawscan-decisions.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 60 in clawscan-decisions.validateDecisionsRun at line 281. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- scripts/security/clawscan-decisions.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/security/clawscan-decisions.ts"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"a835e8c2ecaee4af77c0d8a585eca8850e877f30d3d2ae0e22017750c7e257c7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/security/run-clawscan-original038-diagnostic.ts: scripts/security/run-clawscan-original038-diagnostic.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in run-clawscan-original038-diagnostic.mainFixedOriginalDiagnostic at line 72. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- scripts/security/run-clawscan-original038-diagnostic.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/security/run-clawscan-original038-diagnostic.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"73324c42853504fddd09d34fa932c1d9f7b01dfd315c946b2323df8c8bc7ec9a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/clawhub/src/cli/commands/publish.ts: packages/clawhub/src/cli/commands/publish.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 56 in publish.cmdPublish at line 39. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- packages/clawhub/src/cli/commands/publish.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/publish.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"10e78eaa2bcf01fe7dc01abfb37e4679759fcbc0c296d1b4ae6db2ea6b51f7d1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/MarketplaceIcon.tsx: src/components/MarketplaceIcon.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in MarketplaceIcon.MarketplaceIcon at line 45. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- src/components/MarketplaceIcon.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/MarketplaceIcon.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"63e1f7269a5e43beea5c8ef2bebac457a2be192192a8991d1a2322ec7e56a777"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: convex/searchWeeklyDigest.ts: convex/searchWeeklyDigest.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in (anonymous) at line 79. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- convex/searchWeeklyDigest.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":"convex/searchWeeklyDigest.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2caea0f40d40788237f28bf868d0a0a1932c26f0c1eb3d47b16334acf2a1bce"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: convex/lib/pluginCategoryClassification.ts: convex/lib/pluginCategoryClassification.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in pluginCategoryClassification.classifyPluginCategories at line 108. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- convex/lib/pluginCategoryClassification.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":"convex/lib/pluginCategoryClassification.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"e147d491490dda372fb4df840af3c0bb51b4bdf10fa18d83711d30131ebeb862"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: convex/lib/publisherAbuseScoring.ts: convex/lib/publisherAbuseScoring.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in publisherAbuseScoring.classifySkillTemporalAbuseScore at line 290. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- convex/lib/publisherAbuseScoring.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":"convex/lib/publisherAbuseScoring.ts"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"eed617861cbf45f801816ded1a55d895e0d9f2967abe480a9226cf401c07b173"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/routes/-management/ManagedMcpTools.tsx: src/routes/-management/ManagedMcpTools.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in ManagedMcpTools.ManagedMcpForm at line 204. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- src/routes/-management/ManagedMcpTools.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/routes/-management/ManagedMcpTools.tsx"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"075886740d556a1fe425bbc14ca5adb28550165af3b0de0ae13d94408831e244"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/security/diagnostic-capture/original038.py: scripts/security/diagnostic-capture/original038.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in original038.run at line 121. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- scripts/security/diagnostic-capture/original038.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/security/diagnostic-capture/original038.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e1c2a2ef86102cfca573f303666f0c37e301e975b7fb05396193ad6c76b8c0c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/routes/cli/device.tsx: src/routes/cli/device.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in device.CliDeviceAuth at line 56. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- src/routes/cli/device.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/routes/cli/device.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ebdc77fb948251660953678af5f71cb47aad70b28293e9442c8fded2dbf95e2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/schema/src/managedMcp.ts: packages/schema/src/managedMcp.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in managedMcp.parseManagedMcpDefinition at line 37. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- packages/schema/src/managedMcp.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/managedMcp.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"d735ab864db3d364b4f293f562e9e97cc2e8ebfb89141f653c96e5a749dcfdd1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/lib/previewAnalyticsProof.ts: scripts/lib/previewAnalyticsProof.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in previewAnalyticsProof.provePreviewAnalytics at line 184. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- scripts/lib/previewAnalyticsProof.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/previewAnalyticsProof.ts"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"30852562aeb48bef79043e78d558b1f8d190ce82e34a1580fe54c52a787e9207"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: convex/lib/searchEvidenceDigest.ts: convex/lib/searchEvidenceDigest.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in searchEvidenceDigest.buildSearchEvidenceDigest at line 44. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- convex/lib/searchEvidenceDigest.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":"convex/lib/searchEvidenceDigest.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e23efaa81e9c3d2bc4e2ab09bf7bf161606c95179ff35bedfeae6c37a0042d7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: convex/httpApiV1/searchInsightsV1.ts: convex/httpApiV1/searchInsightsV1.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in searchInsightsV1.searchInsightsV1Handler at line 6. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- convex/httpApiV1/searchInsightsV1.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":"convex/httpApiV1/searchInsightsV1.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"a465b52ca73db178e429e7cbbe5a0d6cbfe003e2e5a3e1a63aa744f7fc816d6e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: convex/lib/featuredIntelligence.ts: convex/lib/featuredIntelligence.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in featuredIntelligence.recommendFeatured at line 99. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- convex/lib/featuredIntelligence.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":"convex/lib/featuredIntelligence.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"d73f58e3faa7f447dfd8d972531dadfb0545e7dbbb9bb5cd831c338ca167bc72"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/clawhub-admin/src/commands/email.ts: packages/clawhub-admin/src/commands/email.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in email.cmdSendStaffEmail at line 120. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- packages/clawhub-admin/src/commands/email.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/email.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f915094cbcb5343171c72e14054484baf95d145da8a15af1b1eefa94aeb256d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: convex/packageInspectorHttp.ts: convex/packageInspectorHttp.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in packageInspectorHttp.packageInspectorResultsHttp at line 199. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- convex/packageInspectorHttp.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":"convex/packageInspectorHttp.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"560629c7558bc76190b2e47f1d12be6033753a6fd3c221307da93af4247cf548"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/clawhub-admin/src/commands/packages.ts: packages/clawhub-admin/src/commands/packages.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in packages.cmdPackageModerationQueue at line 417. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- packages/clawhub-admin/src/commands/packages.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/packages.ts"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"237d891ca879f9c3538800cc8e288f334c1f402cbb6e7ee62f75cf85469673cb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/security/skillspector-exception-diagnostic.ts: scripts/security/skillspector-exception-diagnostic.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in skillspector-exception-diagnostic.projectSkillSpectorExceptionEvents at line 161. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- scripts/security/skillspector-exception-diagnostic.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/security/skillspector-exception-diagnostic.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"da70bc362b811f0321408561d40d2a92253881889352f568db6691e133133788"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/security/diagnostic-capture/proxy.py: scripts/security/diagnostic-capture/proxy.py changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in proxy.main at line 31. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- scripts/security/diagnostic-capture/proxy.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/security/diagnostic-capture/proxy.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"2790d72343c4f6d113a9f227137d0fd26496091ad318e7f1dbdcbd731459b051"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: convex/lib/searchIntentClassifier.ts: convex/lib/searchIntentClassifier.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in searchIntentClassifier.classifySearchIntent at line 36. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- convex/lib/searchIntentClassifier.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":"convex/lib/searchIntentClassifier.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"628306f2575d6dda4b607a480f39fccd7d77376a2dac5f7364600551f32a2da5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: convex/lib/managedMcpBundle.ts: convex/lib/managedMcpBundle.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in managedMcpBundle.buildManagedMcpBundle at line 29. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- convex/lib/managedMcpBundle.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":"convex/lib/managedMcpBundle.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"32a7d36b0a49f20cc12fc5916615b84eca4e074957118d174d0115c531d22b66"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/templates-feed-openclaw-e2e.ts: scripts/templates-feed-openclaw-e2e.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in templates-feed-openclaw-e2e.runPublishedTemplateDryRun at line 167. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- scripts/templates-feed-openclaw-e2e.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/templates-feed-openclaw-e2e.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"641eae58c5ebc4c09c98f58cd5f836bd9620c3c7bedd5ced90db052d09118a13"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: convex/lib/packageSdkUsage.ts: convex/lib/packageSdkUsage.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in packageSdkUsage.recordPackageInspectorScan at line 101. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- convex/lib/packageSdkUsage.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":"convex/lib/packageSdkUsage.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"86a1f69e7c430d6d1fc46618b8f1d405a64c23b0224e25f955c21f4092e5aae9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: convex/httpApiV1/packagePublishRecoveryV1.ts: convex/httpApiV1/packagePublishRecoveryV1.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in packagePublishRecoveryV1.recoverPackagePublishAttemptV1Handler at line 29. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- convex/httpApiV1/packagePublishRecoveryV1.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":"convex/httpApiV1/packagePublishRecoveryV1.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2a90d554adff7f0f8c89e8c7e9bcc417ed7d54a21880e53c6633d27adf5ec11"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/ui-proof.mjs: scripts/ui-proof.mjs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in ui-proof.parseProofUiArgs at line 56. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- scripts/ui-proof.mjs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ui-proof.mjs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5f2523197edbac6684d104183bb17db15702b208d6a4317fd1fd05e8878587a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/security/skillspector_exception_diagnostic.py: scripts/security/skillspector_exception_diagnostic.py changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in skillspector_exception_diagnostic.project_exception at line 109. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- scripts/security/skillspector_exception_diagnostic.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/security/skillspector_exception_diagnostic.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"f41a96a37e545a4ac556c8fcbc8a99289128603f8a506bf8732a0d42b7ff1f86"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: convex/publishAttempts.ts: convex/publishAttempts.ts changed 26 times in last 90 days and 16 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 publishAttempts.isTerminalFinalizationConflict at line 135), 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: retry publication promptly after finalization failure\u201D; \u201Cfix: resume targeted expired publication finalization (#4468)\u201D; \u201Cfix: bind operational retries to reviewed scanner source (#4239)\u201D; \u201Cfix: bound storage lookups during scan handoff (#4231)\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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- convex/publishAttempts.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":"convex/publishAttempts.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"d86950811fcc28875d9deaa0a96058387a4137d64abfe37f0e0f8e9f6c8e00e0"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: convex/skillEvaluations.ts: convex/skillEvaluations.ts changed 12 times in last 90 days and 9 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is skillEvaluations.resolveEvaluationSkill at line 115), 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 latest completed skill evaluation across recipes (#4093)\u201D; \u201Cfix: restore NVIDIA evaluations and upgrade SkillEvaluator (#3956)\u201D; \u201Cfix: unauthenticated mutation can requeue NVIDIA skill evaluations (#3762)\u201D; \u201Cfix(workers): terminalize skill evaluation outcomes (#3509)\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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- convex/skillEvaluations.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":"convex/skillEvaluations.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"dec4bc5a9f2df12eb3eb530ade20f8905d963e7c97c4b56132cfcf5799e50265"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: scripts/run-playwright-local-auth.ts: scripts/run-playwright-local-auth.ts changed 10 times in last 90 days and 7 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is run-playwright-local-auth.main at line 528), 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(ci): stabilize local-auth backend downloads (#4489)\u201D; \u201Cfix: large plugin publishes run out of memory in the Plugin Inspector gate (#3990)\u201D; \u201Cfix(security): require pre-publication checks for every publish (#3947)\u201D; \u201Cfix(workers): preserve explicit scanner model settings (#3802)\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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- scripts/run-playwright-local-auth.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/run-playwright-local-auth.ts"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b7d57cb96fad0016a0f79059944a6ba3f03c79b243806f7f18de4736200e7c4"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/components/PluginListItem.tsx: src/components/PluginListItem.tsx changed 9 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is PluginListItem.PluginListItem at line 49), 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(profile): templates appear in the Plugins tab on publisher profiles (#4792)\u201D; \u201Cfix: render inline Markdown in headers and plugin previews (#3832)\u201D; \u201Cfix: use publisher avatars for plugins without bundled icons (#3705)\u201D; \u201Cfix(plugins): show official publisher badges in catalog results (#3654)\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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- src/components/PluginListItem.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/PluginListItem.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aaa4af9888813b01b9d96ba6ee12b340ade623877ea5dc62e3a23426cddedd5"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: scripts/playwright-local-auth-config.ts: scripts/playwright-local-auth-config.ts changed 6 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is playwright-local-auth-config.createLocalAuthTempDir at line 143), 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(ci): stabilize local-auth backend downloads (#4489)\u201D; \u201Cfix(packages): reclaim unadopted multipart uploads\u201D; \u201Cfix: local browser tests fail with deeply nested TMPDIR (#3739)\u201D; \u201Cfix(ci): stop local-auth lanes racing the Convex external-deps build (#3598)\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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- scripts/playwright-local-auth-config.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/playwright-local-auth-config.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"c323f411431697cd747677da41b504d1fe4dc6dc6428ecd82f1a0e7293eaeb6b"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/routes/skills/index.tsx: src/routes/skills/index.tsx changed 6 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 15 (its worst body is index.SkillsIndex at line 188), 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(catalog): isolate optional count failures (#4312)\u201D; \u201Cfix(search): preserve navigation cancellation (#4300)\u201D; \u201Cfix: simplify skill and plugin catalogs to searchable lists (#3843)\u201D; \u201Cfix: align catalog tabs and featured skill rows (#3829)\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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- src/routes/skills/index.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/routes/skills/index.tsx"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"55f129ace596f9973c617c15d6d11fc1734eecc21d2694115424a9863c613a40"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: scripts/evaluations/run-skill-evaluation-worker.ts: scripts/evaluations/run-skill-evaluation-worker.ts changed 7 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is run-skill-evaluation-worker.processClaimedEvaluation at line 179), 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(evaluations): expose redacted failure reasons in worker logs (#3987)\u201D; \u201Cfix: size evaluation request budgets for paired workloads (#3985)\u201D; \u201Cfix: keep sixteen evaluation workers draining the backlog (#3976)\u201D; \u201Cfix: restore NVIDIA evaluations and upgrade SkillEvaluator (#3956)\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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- scripts/evaluations/run-skill-evaluation-worker.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/evaluations/run-skill-evaluation-worker.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"d333f8f7232cd93c0adc583080f8733626745f1d9af113dd051a459556dac85f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/routes/skills/-SkillsResults.tsx: src/routes/skills/-SkillsResults.tsx changed 4 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is -SkillsResults.SkillsResults at line 125), 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: simplify skill and plugin catalogs to searchable lists (#3843)\u201D; \u201Cfix: align catalog tabs and featured skill rows (#3829)\u201D; \u201Cfix: surface a retryable error when the skills catalog fails to load (#3512)\u201D; \u201Cfix: simplify plugin list columns (#3572)\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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- src/routes/skills/-SkillsResults.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/routes/skills/-SkillsResults.tsx"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ba61efc3fd18700deb97e03e4153354c77634bfc3227c4b22ea87979122d62"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: convex/canonicalTrending.ts: convex/canonicalTrending.ts 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 3 (its worst body is canonicalTrending.pruneExpiredRows at line 75), 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: skills.sh entries missing from Trending because the sync rejects the 93k-row feed (#3952)\u201D; \u201Cfix: exclude non-Latin skill titles from Trending (#3715)\u201D; \u201Cfix: show only English skill listings in Trending (#3713)\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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- convex/canonicalTrending.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":"convex/canonicalTrending.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cbd0213d6ad9f1f3eacaa6bf10f52f76b5acce46cdb5bb580e92d6ab9f954d3"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: convex/lib/canonicalTrending.ts: convex/lib/canonicalTrending.ts 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 15 (its worst body is canonicalTrending.blendCanonicalTrendingPools at line 414), 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: skills.sh entries missing from Trending because the sync rejects the 93k-row feed (#3952)\u201D; \u201Cfix: exclude non-Latin skill titles from Trending (#3715)\u201D; \u201Cfix: show only English skill listings in Trending (#3713)\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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:29:26 \u002B08:00\u0027 --until=\u00272026-11-16 17:29:26 \u002B08:00\u0027 --full-history --no-merges -- convex/lib/canonicalTrending.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":"convex/lib/canonicalTrending.ts"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c402d009111bf4aa0d59901041f5f204a590397bc4427713fcd5e5fa3b3e111"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 62 significant file(s) lose their only recent owner: convex/canonicalTrending.ts, scripts/package-inspector-nightly-scan.ts, convex/skillsShMirrorVisibility.ts, scripts/plugin-category-operator.ts, convex/pluginCategoryRefresh.ts, convex/canonicalTrendingTestFixtures.ts, convex/searchInsights.ts, convex/searchWeeklyDigest.ts (\u002B54 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"02bd1aa8d22c4aee6456f075604c237788b8719562a0beb3f77c3b992dab40eb"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 4 significant file(s) lose their only recent owner: convex/lib/skillCardClaims.ts, packages/clawhub/src/cli/buildInfo.ts, packages/clawhub/src/cli/clawdbotConfig.ts, src/lib/useDeferredActivityTrend.ts. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b908b540c31edbbcdc9336c7a3734a0f9672c2ac0b0f75cc62f485c00f6b11d5"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #3: If anonymized user #3 becomes unavailable, 3 significant file(s) lose their only recent owner: scripts/lib/previewAnalyticsProof.ts, src/lib/analyticsEvents.ts, src/components/GoogleAnalytics.tsx. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3ab17ae56c2c93f93285f809ee489b8edb545b8c14fb73e95d88adfce1c6069e"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 3 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (75 single-owned of 554 analysed files in total, 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; 554 of the 928 production source files in this repository met that bar). They are anonymized user #4 (2 file(s)), anonymized user #5 (2 file(s)), anonymized user #6 (2 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: src/routes/-management/AbusePage.tsx, scripts/security/run-endor-plugin-scan.ts, server/og/registryOgSvg.ts, src/components/SkillShortSummaryField.tsx, convex/githubAccountAgeBackfill.ts, scripts/verify-convex-contract.ts."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove legacy /api routes after deprecation window. \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":"convex/http.ts"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"3612cf41409c07c7b5ae429fdca0fbf79bfbd1c50ff60ccd29a8eddc45da4777"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060baseURL\u0060 spells \u0060URL\u0060 where 146 names in the project spell it \u0060Url\u0060: 146 of 147 names in project clawhub spell the token \u0060Url\u0060 (146 of 147; unit: names in project clawhub containing \u0060Url\u0060). Peers: catalogFeed.catalogFeedIconUrl (convex/catalogFeed.ts:408); cliDeviceAuth.getVerificationUrl (convex/cliDeviceAuth.ts:237); cliDeviceAuth.getVerificationUrl(siteUrlValue) (convex/cliDeviceAuth.ts:237); http.cliUploadUrlHttp (convex/http.ts:32); httpApi.cliUploadUrlHandler (convex/httpApi.ts:182). Rename to \u0060baseUrl\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/helpers/productionSmoke.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"21f326700b96dbca4471e78a1a81ed2831fc4b40a093b23f7d2b90cc9a3df471"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022SKILL.md content\u0022 repeats the code it sits on: 3 of its 3 words (skill, md, content) are already in \u0060sections.push(\u0060### SKILL.md content (quoted artifact data)\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":"convex/lib/securityPrompt.ts"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"d77d424628225e0e8c90d05ea2be06c7deedac8c659919ec0d370d2dec87880f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Parse dependency declarations\u0022 repeats the code it sits on: 3 of its 3 words (parse, dependency, declarations) are already in \u0060const dependencies = parseDependencyDeclarations(clawdisObj.dependencies);\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":"convex/lib/skills/index.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb1047ad569ea42a099c926c9468d721d25e1f8dd1cc2f02096b59e100f37f4a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022The release was soft-deleted together with the package.\u0022 repeats the code it sits on: 4 of its 5 words (release, soft, deleted, package) are already in \u0060const restoredRelease = makeReleaseDoc({\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":"convex/packages.public.test.ts"},"region":{"startLine":20143}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6797a7ea97ec1a4cb1344667eafc45302c076281ed0823616deae0d96409f23"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060(repository root)\u0060 (228445 LoC, 853 module-visible types across 61 directories) overshoots its size bounds. 1 of 4 build unit(s) (npm) overshoot their size bounds, lowering Project Cohesion to 5.0/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":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3dd2cc00b701ccfa967e3d83f585091bcf2db4757a7f8d5ec4568ac8e0d4e265"},"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":"fb2ca6eeeb3d3c874654a187ae357e49319a6af2b474c7e66647dc06b57782e3"},"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":"e14f6c66cd73bb1d4ba44f3254a9b7667857fbe949904968589b5663932ce2a4"},"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":"23abd09cd3417cff827a7366a67d0de2ed3b8ad3138a65b89c000a5633a1fb34"},"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":"e7a567cb74776e0add99e04474058ecf714c3526362816e1a4517305c9853386"},"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":"3edab7de690b07e5b04331d9047f8d2bb46c2d4ccb671809a45e3f2532854b5d"},"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":"9ada8db0a1261bfc181339d876780086feef287c10c37306ca11990fc7563a47"},"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":"802b90baa7056ba547cb1811397a5a15d23e9cc3bead0625834585465a2dec77"},"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":"97f2ddcb1b8d31697d9417339003505409b5cbb94d978bd34a0eabed363db508"},"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":"1e7f18fc0c3fd265fc9760bcafa912e8d610b10978c5898982a09e97ef5fdda4"},"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":"670c36723bb7f07ac0135f1313c2476b99ed1ec409b0edb8a1673e4fdd9964ab"},"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":"067c90ee54ee1298e098d4c4b71cab92e3330433ee5f8c83e36fe46d34b99f80"},"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":"092fbccc5a1e6ddacc4a224cda7da55e82b02dad0f31a5602e4956fb9f6172e3"},"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":"c8381cdd9539330ccdf5f2819fb2f0ec8e0d20d645b1467a3e5e48700a37b69b"},"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":"d839d64949cdd3d48927535694ee9c1e7d1f59e3f84cd031177b1b1833a157d3"},"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":"020cafb4b432c063d2e6e187215f5a09d628dca9126beef1dc1975a4702a2e3f"},"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":"6f589ac419530b02820c0b1163eb6fedd9fa4f3c54d89d0a3815ef52f8b8bcb0"},"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":"52bc83b62dafa488e32298b21c7c68be0617d02561c649b8c3f3ec0a01ec64dd"},"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":"774e84eaf65696bacc627959839c1af1927b88e5fcbe02a78f7a8b8671c240ba"},"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":"ebac61d292e4757946ff83f15293e2fa751db1ae0044345ec1ca160a7804b230"},"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":"e46fcbff79ba10f86d2a2fdcc8786db7adb8c23c1830c1ac9588d5ecb034b9c0"},"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":"311f2b1dd969a2ef73985fc36dd91e65e3d6a6cb49a0706cd68e381199f12c7c"},"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":"6e22fa714af38036b109f9493501c28af262c3a9a1a2d30d80f7ec23c8ecb75e"},"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":"4a04264eaf0a90ed63886610c9e2251cf5431cabd6d952016a10ea99155c6aad"},"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":"17c766048720a8335fe9cee4b5c94d175d687786ce4fe5ac15a7d88cc7deda62"},"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":"05d887c84d527eaf18443a968614a8f61dd84b56ff61da1104f702461cda018c"},"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":"10b68d3a5fd6c8cf64b4967dad56214e58326130aea3a83867605c9b4aa45c38"},"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":"e563f828a9ed1e5887a26d402dac1c95661dd74099ff581f7cd4eff83ae05e2f"},"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":"f3a84f85068a1a81f008810568391185b4044be71b57c6336c3263f8f36b2449"},"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":"d025e438157fed700141b0e8ef47e1df8c3d59a2115f76a10277c8eb6fcb8617"},"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":"e84979bfb4918b95300f39e6df21b2f15b36e7964760edc91df6b6b82a1163a2"},"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":"18744a299794c734019ab0d9552b131a905249ac98427f6c4e13157b5fa8f63f"},"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":"dd181b2e2de23b8b88e585df2b7d159568040bbf893d238550c99fa9013169fb"},"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":"4d42022c2c9d35e7addd0da47bee2f155439942ef808b8cd14dc18911e281159"},"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":"ccd658bcd7aad772c9beda6adb214796c63f5b853135398b7638599aaa8be88b"},"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":"9b163eea8e92c0158041f94ad870ae254a68851c8c3f3fea4e1200b39825d47c"},"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":"d5be65938fc2556086e05c4e9e0e9ab5fa994b80aba5fe2d661316de53975fa1"},"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":"29c5bad2771a5c804dc90901d764e8018c3e35b185a49c95929f1f0e1d2bfd15"},"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":"bc8a5b9286b603fbdf282bd8bb3ccfffa3f875119fe62a3cba7872cb68aafefd"},"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":"a4c4af3b41ff8697a8e416484132435c73f17b77f54206822d978e1f0990ebf1"},"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":"70ac16fdba42a9295401080a9e4826c93c921ac04b0543d5a0b7fde3781e963c"},"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":"70a08b0dc0762af5c2d57b07cc679b221bee7cdb69494536ec2c0613e6a85981"},"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":"62e086112073b9a3426e2db902576b2547d3f8bda4fd1fa87ae62f526cd325c5"},"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":"e4309b977235ec6bc9e4b8dd938585e1df924497706701e51a46904750ef162e"},"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":"112d0b0f8260e7067a6eace7b8f7a2b6d34c20f2d964e91cf43eb4e7ef8ad8c9"},"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":"aff4e4c2855bf763a3afb9929a7292416750f6daca83daea04916455c82d113c"},"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":"696a46950c4d30814e57a264c26829f8e8d8b2ab93b7d80f2c6f30aed5cfd2d4"},"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":"a4cb5aa0fe5940d4ec0b909ed14573b38ef87ee6599b6e8396b2541e93bdc7c5"},"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":"e66aa78abcb7d646913a4d76d2c2f155ad1d9c7f691f21599bfc957ee53c09a5"},"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":"39b931646cab94304724d1ee7dfa3668d701fa401fdb046186c7067612f1633d"},"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":"8405e54bdfcb32c9e79527ed971f164e49e11b59ee8dd764e2841204e45989e3"},"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":"b9a00f92b0317c573640b22196cf0db8bbfef20a5ee25416348ad93e9a21cb91"},"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":"c19c6720b22a98d1fd8953b9ed7ba64480b2c647f7ff38f39259c6f5f01d6177"},"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":"b9219ef80d370f8d25d754980e9dccc506bfd15b5d8013e0028b22c9d32e1a48"},"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":"07f70166a65344ec32733f60c3b4f6a951428848682bc047a7cff82e5fa266b6"},"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":"c645270162067faf27296352d17817d182765c3da5c09b6860e6832026858fe2"},"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":"de38c197abe5baf225df48d842e5646935600f5f88807c74b47249ae368ad2bf"},"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":"ffb581433dee9fa13443be289d59ed656901afe73e201549cbbf3c2519a110ae"},"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":"3edb36e61b12fab2bbfed56fefd7ffd499a05268b3029ec454246c489afe23a3"},"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":"9d5e8f1731033a1c0142ca73efa10a52548367ca7d178e62d1d03b9bb2ccc9b9"},"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":"401e9717fd2da631e46707514625378a5b531dc78aba2602392053353e92bca3"},"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":"1f745a09f71ef4b838b3e30f69ba0995db452a8cab33ed0989e778719fc0ac49"},"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":"65a1072f97a8db13b39c32c384f19652e6e22d55bbffe052acdede2d27db8622"},"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":"bcaa8c2a98fb8b83caae7c7144bbbec05c9d4726e3d7f8aa8492efbcfd766efc"},"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":"ccf297d12b23fe78cb66176e08299980a0730dc337bc00b2ad0b0f3ef54cf63e"},"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":"539bb3703683fd52de3b5c44382b93e38ce4ad3c5da1907ac7b311ce5ce67a88"},"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":"41ac5a38b47f5b0de5a7a4a88f401186f9588649f51aa4761d94ebcaae425ce2"},"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":"baa50e62427ba1a47100d3864df8e01dc277bdd6d5f9f3ca67cc56a0c4ed7db1"},"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":"b20f6fd39a3d15989265a55887e04a7a9aa2d12301c4d1afb50740fb261c6bc1"},"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":"eee31e464847e6e26796656da652253623e01c1c9857df6e73c023629187f4ae"},"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":"f928952a7c0dd197ce9ed010912672c955f5e18185e420eca69436a8b4005766"},"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":"56d1ca06f7ceeff8a70e8708fc4b94d67d58ef6a1e14ea526829471aa2b52b1b"},"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":"473d0ef376d3b1c8d4f3046073cd3dbaf837a5f5c32803113cda9ec651890062"},"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":"8b3085396b85f7800a09f264192b380b2cbe848d004f893db70f55cf8f03e7e1"},"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":"6249d161f9d4082b2280b60627eb7e7f9addbfce62fa611e4a2a833c1e10e259"},"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":"4b667730e79c6188921e6b835f41643b6a5f2a0842a2f6dc7ece692bb70b7e31"},"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":"785fb0839a700a264deeb5b57a905c47cee98abcb36bae720f437e133444e3d6"},"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":"20e6ff3c6c213bd7403f168d29aff322dfe0cc0d3ab2c3ac7d7bd8a0d771183c"},"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":"5c847610f68dc19613c25a0620769f4bf772a89125645e134042aa6b8607866f"},"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":"be86e859ee6b54c596a173da87bbd7c04a2f632db2e02eaf7e60f85dd5e4b03a"},"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":"efacac9c433c4ef4d9c6ac53d442f0d6fc399798c42738fb28f48e11a10056a1"},"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":"c5988760b61ac314909e9fe444fecad411824978a7f11447e82ec193017b9bd6"},"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":"cb7bcf35b1b41ff5f8abd4042b88258337057642a8bbb3d8dc114fed24b26655"},"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":"0cfc63ec8cad580830d398c8488745782fef7e5580f0ac0aa1ca2cc8f636d244"},"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":"a69229a4db686f8e0fd76f5c82c91c7cc226aaf89e6caa7079fe290d9899111a"},"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":"7341b2e989dc54e50bc3736d5c1bc2e5da9f799d2c9e11ca4c50a3fd57d6894c"},"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":"fff3361a07a8d1e9f81987b1e95c45ec0886523a1960c95e6492d2cc99ae4136"},"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":"4a5ad30203ee0a2eada00c5680201b0229adfbef063baea55c89de7c8a5c0649"},"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":"1c96f2bcbbb7c27d16df4ff89ee9d2f744704fd791d45e711352c524b4308ff7"},"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":"e04bca5a47e2ab37205c0b8b63a4c27137e692c72d6db0aec4af1ad30033eeeb"},"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":"6f6a07f04ba273bf24ddc37e0ae49a70c36685b39ae0a8829a88ce4b85362ac3"},"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":"a38505d37a79b69c4a61e2e9a7160187701c853c11d0627b55ca43a9a11734d8"},"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":"cfe89afeb9547d89671bdb496f14702dfa762ca67b41f938a62f43afbe1c9071"},"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":"b936458d26744e552259a1d935fb022e796c91d5cb93f432002515b48afe5e8f"},"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":"3697a70af2de7deb91ade1b88c071d9c6ed74ee1d9db8bd340f529909a05ed37"},"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":"a88843578fbc5d6a3d78a5a7efd67b9618c9e5fda5f9b3a3afef88c18c2a3e62"},"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":"421c3c2155619682e0d9dcf9cf1b5a1e444ac1283bafaab739171f3eb364961c"},"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":"9b51264a21eee9956ce67edacf209bb7c6130e314ef9563cb60e87b072ebcb27"},"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":"ead7656601c5243f70ef2e86900b52ff7882f048e0d35da4d380708201f76b9c"},"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":"98828f5faf01b170550e36d331535032074944061b98f9ab55c088db0fd99543"},"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":"2434e18912c4b47572f30ba8d8d50ccfd332e5c4136a76d73e5b07b3219c3dcc"},"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":"c85abef821a2d6666294ca7f4e4fd78df6ea92af9b7fa786de53b21d32e91c99"},"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":"04ae2cf514bf1b2bfab1fd8c7a8d8d252d156cda68f3df9aa002251622255b91"},"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":"3d61070146e8bd66f3de567ccf0b86cd42bc4c34ec6a454a284dc897af4c2671"},"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":"3ae91aa12959a39f14d5d7592e9598049f96c554e223f999979d26a85a0e866f"},"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":"355b4772c8efdeec65036ecd372b55c2803f3f224c2f774f07c7d53168d8a2d9"},"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":"59471ead79ae2b2c53a6cc36cec4247a7b04c7d172a640fe5ecae70b3c08ae65"},"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":"c1aee2cb3941a68f98445894223bde36b24408588ddc711bcd5d4987df9a45b3"},"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":"647c9fd43a35077bd8b68c86ad6a871ec9e19c26a228c35924b8360311991830"},"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":"33c2748625fd151515cc945883ec8a3cffc7a673057d8eb3a39736fe6fba8747"},"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":"41f604738cbb00748ee7f58c0fd751eab04cd50e69015d9de8759f7818ee3276"},"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":"eb5d114492852783945b3ed0be69365d6982f9f62f4117a51921f7f74567e402"},"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":"d9fff2051013ed6e5b7eeeb65d8b507e6bb508a76b00c31fb61ece8d3839f59b"},"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":"ffd34d2e24a9ba5ef66202a084997c8055b95a4543990f16449e542f059c27e1"},"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":"fd1ec6f90649a2fc1bd1cf29ea1cce0a423a4ea5baf36e67539fd8bb1be8bad1"},"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":"ae06ee1666d7c5a737c302ec15d8065b3e495545647edf3dff4fee6e7a51c4d8"},"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":"ce176b661f64f0dda91bb56b7238c39b1e9e744f88b1f5165fe2e807323f645e"},"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":"f19609a45b6107c87c810ce2a446ac0364c194d6a260242459cb061d987105b9"},"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":"d1a6faea213098fc41bb67cffe6637e94bd28e986ccf5f551da45c154b66c678"},"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":"6a124ece7bcd72247f1c11c36cf74f64b6cc3f6d61d39fb3acce513168409560"},"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":"4a6b65f9281070b3a31f73013b16878649c63217edbdc4428a647a0a59dfac72"},"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":"9408c241c521138928e340488178dcdbf06048efe39202a76f1eeaec653d3013"},"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":"a9a98c0716dd4b537b28f613a4195c230304dc5561515925dd3168952515b35d"},"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":"5d12b53d7b9b5f13a4d89fe3c1209bc6ce7583f04c57f770324cba5615b55454"},"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":"f6ba561494abb7fd305209c3736ea34e996f103f214f623ae42ac906e9d39653"},"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":"ebbcf2b1074704e726609123c879b1f3079c6398308660f9ccd7fa7955b37eb5"},"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":"8e9c0b5f8b548154f3182b8291268b9d192da6a472f801439b9f1c357d4c2a57"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2bb48accc38e7378177db1d689767f59747e99ff01355538c8830cf423e8ae65"},"taxa":[{"id":"CWE-79","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":"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":"7481f231d4e2c69954750b1fda80d9cd5951fcf5c2ce3fbf5c16bd00ce1f3d2b"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9d521c2c22a11c0a1c8674b880e6de5111e347281f55b04854bcbc8bebd2703e"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d0f829e21bbad5077e95b5e2bbbab0df9df3cf83249153994bbc5ecb5fcbc929"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"66b1556417b86d0ae1628980b4c7b244e7c9177ca6d84e7d75fd0dd2af6d31fa"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e21a0e708777333c69ce26203e7b60e92e74d6f4446b94e2c4c10990cca78881"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fab25f24ebdbb6fefd5d6ec0bfed2b48988a28e1f589c31146266715100c2dda"},"properties":{"dependency":{"package":"next","version":"16.3.8","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6b6e84345c5757e1272fe68c31d47da0fa1ebb711735c2ac0ef4b72b5f744b4b"},"properties":{"dependency":{"package":"launch-editor","version":"2.14.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"64452824fa8786a7968659c3b7292f2be9a6f2e1b5dceeac8164e34863685958"},"properties":{"dependency":{"package":"seroval","version":"1.6.8","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"05e1ef28b0f08edf7c475f07b4ad22cf936115111e03730647703fdb05146d82"},"properties":{"dependency":{"package":"fast-uri","version":"3.1.8","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"13e1f0d193b87997f92850a48a009154a5edb68a8a8d79db7be12317fed7c222"},"properties":{"dependency":{"package":"python-dotenv","version":"1.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-2270"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cf431648344cd5f38111e0cecac8fa0e17ac398ac9798c26d78fbb09fec31a0c"},"properties":{"dependency":{"package":"katex","version":"0.16.47","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"03525b3c45bbdeebabc6f4463850ce745095ed6a48ae67aa2dbc2742f8beea09"},"properties":{"dependency":{"package":"deepmerge","version":"4.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ff6f6e9d41ea5e7927f048dac0ecbe5445642181749f8ff051199936dc6aa41a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 4 of 554 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; 554 of the 928 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: convex/devSeedExtra.ts, src/lib/readmeAssetBaseUrl.ts, src/components/ui/sheet.tsx, convex/lib/userSkillStats.ts. 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":"convex/devSeedExtra.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c20d71e886d0f0ed83699673def044860ad784b98ebef676d964828f99b262"}},{"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/lib/readmeAssetBaseUrl.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07e51d879ed16dfe0084ed9e5a6b4d39e3356ade759d8a1158ed36ebb3908466"}},{"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/ui/sheet.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5487de872c5ff94fb36b9b561f067d1b1f2187556bba37acfac21fa4a3c47486"}},{"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":"convex/lib/userSkillStats.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecda339b34245e92a66a38dd987ecb9593ea38e51e54f3e40fed0e1c0b8a4daa"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: publisherAbuse.ts \u2194 AbusePage.tsx: \u0060convex/publisherAbuse.ts\u0060 (context convex) and \u0060src/routes/-management/AbusePage.tsx\u0060 (context routes) sit in DIFFERENT parts of the tree yet change together 79% of the time (15 of the 19 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 15 shared commits counted here, the most recent 3 are \u0060d4054705\u0060 fix: let staff stop stuck signal scans (#3574); \u00603c9d4f12\u0060 feat: tighten traffic signals and make them read only (#3493); \u0060987ad8bd\u0060 feat: add 30-day activity trends to abuse signal drawer (#3216) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/publisherAbuse.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"406b8ebc095b8340543a36d259e8a1f46c5db7a836785610e5f681c7fdda3bd7"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: httpApiV1.ts \u2194 routes.ts: \u0060convex/httpApiV1.ts\u0060 (context convex) and \u0060packages/schema/src/routes.ts\u0060 (context schema) sit in DIFFERENT parts of the tree yet change together 71% of the time (15 of the 21 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 15 shared commits counted here, the most recent 3 are \u0060cbfee734\u0060 feat(api): add plugin marketplace overview snapshot (#3664); \u00606a7c1558\u0060 feat(api): expose plugin categories (#3582); \u0060f92495fc\u0060 feat: add canonical Trending snapshot API (#3265) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ff0e6f3dbe27a3e290c4d16d2635c86ec47a41ee6d303b9ec368fb7376333c2"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: securityDataset.ts \u2194 normalize.ts: \u0060convex/securityDataset.ts\u0060 (context convex) and \u0060scripts/security-dataset/normalize.ts\u0060 (context scripts) sit in DIFFERENT parts of the tree yet change together 70% of the time (7 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060d677ce37\u0060 refactor: share security dataset redaction policy (#4268); \u00609aa3f37e\u0060 feat: export skill bundle content for security datasets (#2448); \u006051967bca\u0060 feat: export skillspector issue details (#2430) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/securityDataset.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"845e68b954de7a8e093a9ddb9c9059b769b75eff63144d9fdf06dcc943d360bb"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: publisherAbuseTemporalScan.ts \u2194 AbusePage.tsx: \u0060convex/publisherAbuseTemporalScan.ts\u0060 (context convex) and \u0060src/routes/-management/AbusePage.tsx\u0060 (context routes) sit in DIFFERENT parts of the tree yet change together 60% of the time (6 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060d4054705\u0060 fix: let staff stop stuck signal scans (#3574); \u00603c9d4f12\u0060 feat: tighten traffic signals and make them read only (#3493); \u00608a8e6927\u0060 fix: alert when signal scans stop retrying (#3202) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/publisherAbuseTemporalScan.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f490b95cc73ba1efadf0c80146eb71254e39beb10ec73a5ab7c287dccef79d4f"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: schema.ts \u2194 AbusePage.tsx: \u0060convex/schema.ts\u0060 (context convex) and \u0060src/routes/-management/AbusePage.tsx\u0060 (context routes) sit in DIFFERENT parts of the tree yet change together 58% of the time (11 of the 19 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 11 shared commits counted here, the most recent 3 are \u0060d4054705\u0060 fix: let staff stop stuck signal scans (#3574); \u00603c9d4f12\u0060 feat: tighten traffic signals and make them read only (#3493); \u00607ef2b15c\u0060 Dedupe abuse signal alerts and add bulk review (#3214) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/schema.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eaa05142072e0d480719e85bdf98054447d87c7d0448baf409f0311f3fa0d02"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: securityDataset.ts \u2194 convexExport.ts: \u0060convex/securityDataset.ts\u0060 (context convex) and \u0060scripts/security-dataset/convexExport.ts\u0060 (context scripts) sit in DIFFERENT parts of the tree yet change together 55% of the time (6 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \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 \u006003f97349\u0060 fix: preserve legacy package ZIP hashes (#2636); \u00609aa3f37e\u0060 feat: export skill bundle content for security datasets (#2448); \u006005f27f64\u0060 feat: export skillspector dataset signals (#2424) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/securityDataset.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea075a31a227c1c3717e2ebaad15ba01b89298af2f3c19025a12427b06b21005"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: SkillDetailPage.tsx \u2194 $handle.tsx: \u0060src/components/SkillDetailPage.tsx\u0060 (context components) and \u0060src/routes/u/$handle.tsx\u0060 (context routes) sit in DIFFERENT parts of the tree yet change together 54% of the time (7 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060be4c51ed\u0060 fix: improve auth flow and webkit compatibility (#1555); \u0060f4db0ee3\u0060 fix: improve auth flow and webkit compatibility (#1555); \u006015047082\u0060 feat: marketplace UI overhaul \u2014 HuggingFace/npm-style discovery hub \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/SkillDetailPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9de614bfe96ff7a78057c068af012377ce847f8bd4e07253c328241e9c722daa"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: usersV1.ts \u2194 schemas.ts: \u0060convex/httpApiV1/usersV1.ts\u0060 (context convex) and \u0060packages/clawhub/src/schema/schemas.ts\u0060 (context clawhub) sit in DIFFERENT parts of the tree yet change together 50% of the time (12 of the 24 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 12 shared commits counted here, the most recent 3 are \u00606381d789\u0060 feat(admin): support org profile updates (#3416); \u0060a7cab2a0\u0060 fix(moderation): expose account hold restoration (#3128); \u0060fb7b73b8\u0060 feat: reclaim deleted org handles \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/usersV1.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4e503383a109d2913628d963f53bce01bef42ab7eb59679934dcef80a8fe10e"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: schema.ts \u2192 crons.ts, packageSearchDigest.ts, publisherAbuseScoring.ts, retentionPolicy.ts, skillSearchDigest.ts, publisherAbuseTemporalScan.ts, skillStatEvents.ts: \u0060convex/schema.ts\u0060 changes together with 7 other files \u2014 \u0060convex/crons.ts\u0060, \u0060convex/lib/packageSearchDigest.ts\u0060, \u0060convex/lib/publisherAbuseScoring.ts\u0060, \u0060convex/lib/retentionPolicy.ts\u0060, \u0060convex/lib/skillSearchDigest.ts\u0060, \u0060convex/publisherAbuseTemporalScan.ts\u0060, \u0060convex/skillStatEvents.ts\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 7 separate couplings, not 7 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 7."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/schema.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"554466b92fc94a669d6a9533d164cceac84f88002d70b64fb73615d2607c354f"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: httpRateLimit.ts \u2194 rateLimits.ts: \u0060convex/lib/httpRateLimit.ts\u0060 and \u0060convex/rateLimits.ts\u0060 change together 70% of the time (7 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) 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 7 shared commits counted here, the most recent 3 are \u006067f1334c\u0060 feat: add an off switch for rate-limiter storage (#4207); \u00605aba188c\u0060 fix: batch high-volume HTTP quota writes (#4198); \u0060d3a009db\u0060 perf: add guarded rate-limit RPC comparison (#4160) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/httpRateLimit.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d2d80eab917dd27e2fc2f3afda191ad66f3ac0971b5308806a58530e579a9de"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: SkillCard.tsx \u2194 SkillListItem.tsx: \u0060src/components/SkillCard.tsx\u0060 and \u0060src/components/SkillListItem.tsx\u0060 change together 62% of the time (10 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 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 10 shared commits counted here, the most recent 3 are \u00602f428b4e\u0060 fix: align discovery icons by content type and viewport (#3427); \u0060eb3050fd\u0060 fix(ui): restore official terminology; \u006029b887ce\u0060 fix(web): preserve long catalog names (#2962) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/SkillCard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46bfbd0aecb69811171044e28b3c27bd2376d81b2b669d74e0cb5b08be570e38"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: crons.ts \u2194 telemetry.ts: \u0060convex/crons.ts\u0060 and \u0060convex/telemetry.ts\u0060 change together 54% of the time (7 of the 13 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 \u0060b1b3c5e1\u0060 feat: enforce Convex retention policy; \u00602c1b331b\u0060 Rank skills by installs and harden install telemetry; \u0060e8a75de2\u0060 refactor: remove root install telemetry (#2673) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/crons.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e2d0e5a49e35698ec4c341b16a68dfc8d9943f22d177e33cdc11bc323d3f711"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: publishers.ts \u2194 publicUser.ts: \u0060convex/publishers.ts\u0060 and \u0060src/lib/publicUser.ts\u0060 change together 54% of the time (7 of the 13 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 7 shared commits counted here, the most recent 3 are \u0060a6b209b5\u0060 fix(profile): templates appear in the Plugins tab on publisher profil\u2026; \u006038566969\u0060 fix: show bundled plugin icons in the catalog (#3660); \u0060af3d01c6\u0060 feat: verify organization GitHub profiles (#3169) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/publishers.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09d9b8914a47d402c3e2400ff5e0b443ad0df2decfb57354e639de5bfef3330e"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: SkillDetailPage.tsx \u2194 UserBadge.tsx: \u0060src/components/SkillDetailPage.tsx\u0060 and \u0060src/components/UserBadge.tsx\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) 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 5 shared commits counted here, the most recent 3 are \u00600fb07e5b\u0060 feat: align skills.sh catalog presentation (#3370); \u0060be4c51ed\u0060 fix: improve auth flow and webkit compatibility (#1555); \u0060f4db0ee3\u0060 fix: improve auth flow and webkit compatibility (#1555) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/SkillDetailPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6e448d1845ed483ed3b444bea64acbf6f33f56e79f75b1f81b7ce173306bcf7"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5e4607103018ccbf4772504c4475df05c43062f243e17471503584c98dc62fdc"},"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":"D37","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":"2e96dfd6d93fe913fb2e9028610c982dbd322c76ecf26cfdd7734b74da991d0f"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextarea\u003E field component without a label: This UI-library field component is named only by a placeholder \u2014 a placeholder is not a label (it vanishes as soon as the user types, and many assistive technologies ignore it). Give it a real name 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/routes/-management/AbusePage.tsx"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"86dd6bd3c33907d83ec0d44acacb82176faabe4d1d22dd5d32d2444dd13ecfb1"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003Cfieldset\u003E without a \u003Clegend\u003E: A fieldset groups related controls but has no \u003Clegend\u003E to name the group. Add a \u003Clegend\u003E as its first child \u2014 or, if the group already has a visible caption beside it (or the fieldset is there only to disable its subtree and carries no group box), point aria-labelledby at that caption\u0027s id instead, which names the group without rendering a second one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/-management/ManagedMcpTools.tsx"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"1133e0bcb36bff34d9386c3368e764e41084a2ac279ae8837b2356f6f4e589a5"}},{"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/routes/-management/PluginsPage.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"38a5013cb611d13f32c05a66f420029c29e35cc5241ad55acebb9738fe3002ae"}},{"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/routes/-management/ReportsPage.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca194ad4da7f1818b00f40a4af1037d34fabb072a3d8e514e212fb544b942ec3"}},{"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/routes/-management/SkillsPage.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"d63375b9e95b3e9a4a12f6e1bd7296ab97f032660f2f1eba7a5a2e8860b45a22"}},{"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/routes/-management/UsersPage.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d886ddbe0008e4b6d5be0ca4845bd4889fe683a2c53292e710473b9b15a36b2"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id alone, wherever it is set, names nothing until a label points at it). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. 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/routes/-management/UsersPage.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc82b05af3220d7f4b15f56ca6ab79511e8b39d83426bb947ad85fc93b021832"}},{"ruleId":"AC2","level":"error","message":{"text":"Link with no accessible name: A link with no text, aria-label or labelled child (e.g. an icon-only link) has no accessible name, so assistive tech can\u0027t say where it goes. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/import.tsx"},"region":{"startLine":1062}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce3718fbe8f56135139b365d4f64be41c175980ef04a309342e9c077487d6130"}},{"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/routes/search.tsx"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"6beb7f969ec688b564f7692cddd3f0e22b70285cf9ece329a5e697ddf7cb65b9"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/skills/publish.tsx"},"region":{"startLine":876}}}],"partialFingerprints":{"codehealthFindingId/v1":"c19e8f8203480402087fcf02a27d320e4f054386e2a7af758d55983025ce510a"}},{"ruleId":"AC3","level":"warning","message":{"text":"Heading level jumps from h2 to h4: Skipping heading levels breaks the document outline assistive tech relies on. Don\u0027t jump levels \u2014 increase by at most one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/plugins/$name.tsx"},"region":{"startLine":1451}}}],"partialFingerprints":{"codehealthFindingId/v1":"e739855851aa94ef1cc515a4a38646847a37f8fb794071f56c24faf0006f79d3"}},{"ruleId":"AC3","level":"warning","message":{"text":"Heading level jumps from h1 to h3: Skipping heading levels breaks the document outline assistive tech relies on. Don\u0027t jump levels \u2014 increase by at most one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/settings.tsx"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"9183fa50f39edefea388e6af193aa007752e562a55a45256c5073712aeb63edc"}},{"ruleId":"AC4","level":"error","message":{"text":"Focusable \u003Csvg\u003E isn\u0027t keyboard-operable: This \u003Csvg\u003E carries tabIndex={0}, so it is in the tab order and a keyboard user will land on it \u2014 but its only behaviour is bound to mousemove and pointermove, pointer gestures a keyboard cannot produce, and there is no key handler. The tab stop leads nowhere. Bind the same behaviour to a key handler, or provide an equivalent control elsewhere."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/MetricTrendCard.tsx"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"e97d452fa9c7b76510d25ba2676b609f91c7c5621a52730dccaebd83552ac993"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Caside role=\u0022dialog\u0022\u003E is a modal dialog, but nothing moves focus into it when it opens and nothing keeps focus inside it while it is open, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/dashboard/DashboardNeedsAttention.tsx"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"2461483c9759c6d1272ba98561d695bf59585b0713686f717822ef66baf4591b"}},{"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/ui/input.tsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"67501342c9134d878f8883e54c7e78ba54c03f45e8daa3a84431a81a55673ee7"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\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/ui/textarea.tsx"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"1acdb55f08b8d9c599d202eed4b5bac4468b873330883d5c7e8989bc019bea51"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.publisher-profile-bio-toggle:focus-visible\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/publisher-profile.css"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba26cf696706ac8ff70554073fae356094a09920260ae4ccebf822d06ad57a17"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.publisher-profile-chrome-more-trigger:focus-visible\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/publisher-profile.css"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"7775b82af7a3525c981741ab4b520e31bab0cce1f102918766f2efa6a35883a2"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.publisher-profile-members-menu-list [data-slot=\u0022dropdown-menu-item\u0022][data-highlighted]\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/publisher-profile.css"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"916e4c7f00c63a2c55cad6fb7c81ddc0e917639eed698352200e7d2c14522edc"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.catalog-topic-input:focus-visible\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/styles.css"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"03bfe89d7391c2e48aa9af436910c672ea33fcea7aac1f927fba324f2a16c472"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.user-dropdown-content [data-slot=\u0022dropdown-menu-item\u0022]:focus-visible\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/styles.css"},"region":{"startLine":1172}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d24b02c657f22f073a54b9943ffa035a84fa3aab6ddee1888a170f3be85444a"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.skillspector-checks-toggle:focus-visible\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/styles.css"},"region":{"startLine":1638}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5804eea9380b5af610eae11c4c7e2212e87a593c38299001477217c81d1d2ec"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.detail-inline-tab:focus-visible\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/styles.css"},"region":{"startLine":5750}}}],"partialFingerprints":{"codehealthFindingId/v1":"18bad16ecad983f21066b69a38e941fc19de249f170b01a662d0030523707587"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.search-input\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/styles.css"},"region":{"startLine":9972}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d88d5c63becfd79ef2d010826ae4b3afad23b5c7f0b609cac5cf0118b0ce4de"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.markdown-code-block-action:focus-visible\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/styles.css"},"region":{"startLine":10425}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3ccbc15e1ac8005c586704db712493f2c0680d2b878c20866a707e702d58c81"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.pa-search input\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/styles.css"},"region":{"startLine":11310}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee19cce847c31fff310f1d6edf731f8b7a0ad5fbcda629680ffe2ca5a73beb53"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.management-search input\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/styles.css"},"region":{"startLine":12179}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b79dc990361ff8dfcc69ad27f4761bf5abf8a58755e32a4d7aee9c5ade3d5f"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.browse-topic-chip.is-active\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/styles.css"},"region":{"startLine":14103}}}],"partialFingerprints":{"codehealthFindingId/v1":"c05d126b945585fbbc71a8270374091d625ca257dfe5c9a0f42bce16b0a9229c"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060a.home-v2-apps-see-all:focus-visible\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/styles.css"},"region":{"startLine":17685}}}],"partialFingerprints":{"codehealthFindingId/v1":"01476a3f8128b4a696f74f67c8695c2ee44e0ad13d9866868fb2d8547cf3847a"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060a.home-v2-byos-import:focus-visible\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/styles.css"},"region":{"startLine":18399}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0c3067f48505138bbfe4fb3b807b288b137e5a9c38be509d6cf0af95b768f69"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.dashboard-publisher-select-item:focus-visible\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/styles.css"},"region":{"startLine":20092}}}],"partialFingerprints":{"codehealthFindingId/v1":"59cb339e5e61ea9cae0a30410341cc0952f3b9a87f841b4c834555de61dc4cef"}},{"ruleId":"IC1","level":"warning","message":{"text":"Fake-async \u2014 async method never awaits: \u0060getCatalogClassificationPageInternalHandler\u0060 is declared \u0060async\u0060 but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop \u0060async\u0060 or do the real async work."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/catalogClassification.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"38f318ad1c995baa371466a8afc5d09531ae33be4ee39ad7338ea24c4151edae"}},{"ruleId":"IC1","level":"warning","message":{"text":"Hollow method \u2014 returns a constant without doing the work: \u0060checkDependencyRegistriesHandler\u0060 looks like it should compute a result but its body just returns a constant \u2014 a placeholder return that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/depRegistryScan.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca9e9695c267dccb106f3b2a1f4a2634e94413cf586e6113163fbb888b614711"}},{"ruleId":"IC1","level":"warning","message":{"text":"Guard cannot change the result \u2014 returns what the code already falls through to: The guard above \u0060return undefined;\u0060 also returns \u0060undefined\u0060, so no input can make it matter. Implement the distinction that was intended, or delete the guard."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"338eda80024d50d012b64de8e997ac7d3cecf18d6ca2df78f7c0624feec93e4d"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onChange\u0060 is wired to an arrow whose body is empty \u2014 the markup attaches a listener that does nothing. Implement the handler, or remove the attribute that wires it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/plugins/index.tsx"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6306c9e5b1845c42d1501bf62c88fafc89f0c1d6775181f92f89304d171a57f"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onClear\u0060 is wired to an arrow whose body is empty \u2014 the markup attaches a listener that does nothing. Implement the handler, or remove the attribute that wires it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/plugins/index.tsx"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"8579df03121df007907a97dd9d76676d90859fb29b310645e164819e6575d2ea"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onChange\u0060 is wired to an arrow whose body is empty \u2014 the markup attaches a listener that does nothing. Implement the handler, or remove the attribute that wires it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/plugins/index.tsx"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"078a709c2e842bd86874324b67b2c3b6ebccc7a46dd13e4e0e1b5ab56dffa93b"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onChange\u0060 is wired to an arrow whose body is empty \u2014 the markup attaches a listener that does nothing. Implement the handler, or remove the attribute that wires it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/plugins/index.tsx"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7ea044c1654eca6e23f30d1425b7fa1649065a6f9116e1d06097217bd71f1c8"}},{"ruleId":"IC1","level":"warning","message":{"text":"Guard cannot change the result \u2014 returns what the code already falls through to: The guard above \u0060return false;\u0060 also returns \u0060false\u0060, so no input can make it matter. Implement the distinction that was intended, or delete the guard."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/skills/publish.tsx"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d56f947dd1ff3246d4aee34be4f3b9d23b35eb23428d542f4fe5c6b7385b647"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: A bare \u0060eslint-disable\u0060 or \u0060@ts-nocheck\u0060 with no rule list switches every lint rule or the whole type checker off for the rest of the file \u2014 hidden debt. Disable the specific rule on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/_generated/api.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f428467a64fbc1f27376a25ae9dc65b30e4871b19a6efa7a2d61b409912a1fa0"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: A bare \u0060eslint-disable\u0060 or \u0060@ts-nocheck\u0060 with no rule list switches every lint rule or the whole type checker off for the rest of the file \u2014 hidden debt. Disable the specific rule on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/_generated/server.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"784902a884e5d9a47e5128ccaa4212fcb0edcfebef661d03f037d57b1c09edc9"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/local-auth/delete-account-resources.pw.test.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf5ebd23a2f7990fd0da3d5f026143f5303eb00d1cae4865264c4c4f70610d03"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/local-auth/delete-org-resources.pw.test.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"05a2a9c60ae7c53b5f913e03a11bfa16aa508d74763c8ba288e73d6a69c7be38"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/local-auth/exact-template-artifact.pw.test.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"74b4649797187c62c7fde0663580c967580b81fcb1a0f96b7dfc69c23861cd4f"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/local-auth/featured-lineup.pw.test.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd66568177c4234c75c49ec75033093dd1e5549cc8b9ee3b74495cc8c9e69d29"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/local-auth/header-profile-link.pw.test.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfac65ebdf3ebfbccdae3171faec2d5a63e7b0d368341bd505160ae799721b24"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/local-auth/malicious-skill-ban-flow.pw.test.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"176afeb848e6f7aa7060d65c3ebf1e4501d403e61f14deedede727de5c46a99d"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/local-auth/manage-context-proof.pw.test.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a1906eea2940ad5e7df298975630ee9e62ed3bc543fe8651fa118890169907f"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/local-auth/old-cli-publish-compat.pw.test.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1419962c10239cd2c3cc9db5f4070ba4a191a1fe04e773dedb000a429019532"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/local-auth/package-ssr-identity.pw.test.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"12ec06ab414b01e5e9d43b5b369c9f4f6d996447d45db29b67f883d8a0c8e56e"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/local-auth/plugin-api-retirements.pw.test.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"36dd39d23f711487991c3fa00f73feb97bad728ad6bc97afb76403342eae9ca6"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/local-auth/plugin-catalog-api.pw.test.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"11d115305657dd82465b86aef88c4f8151d2f0ef77495af2596e48d142ab13fd"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/local-auth/plugin-inspector-findings.pw.test.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"c73b2b38fdc2ae76e50bf6a354ddf2bb1636309d69af9fb530bc840601a86739"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/local-auth/publish-skill-lifecycle.pw.test.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"28826e6b16f3e08e6648c21ee1a399d120e2eb8ac8e0b17f66a728c9ed58f667"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/local-auth/publisher-create-owner.pw.test.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ac5642a7a35d2627291329aab467747c9b54e69b26ddbcd330872af505b3a83"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/local-auth/publisher-github-profile.pw.test.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"82e5399cdfba2d0965fe300110aef50df9a6c63e7b14525aed63d5e0da62d393"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/local-auth/skill-hero-metadata.pw.test.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"e23b19fbcdd5a6f6dcb501aadbf28b7c6c5d95bdbdd11257684540420d4e7a98"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/local-auth/skill-presentation-metadata.pw.test.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"de09cf1b19cad5d81720731ce7e33d46dba37d2c369404b503aa464a9a417c8c"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/local-auth/skill-star-sync.pw.test.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"c138b91fce6b249c93d7e558e529b41e3d9e49898ed448f5d77e89ac96bda2f4"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/local-auth/template-official-boundary.pw.test.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a78d49f726e413987e39fe3a948e26bcd41ceb05595ce288272a6ecda3a8467"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/local-auth/version-delete.pw.test.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"99f7961242e19e4f4cc8546719d632197bd1e72dcd5d23c9ff911dc1dff4f9ab"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/mobile-skills.pw.test.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"88a2e9092afc6a5ad601c9a1af7e096d25d7752fc42d088f896fec226134abcc"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/skills-sh-external.pw.test.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c687a54a6721dfd808601028ccf327c1eafce43e4aae481010001a2972aa97c"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/upload-auth-smoke.pw.test.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec69d74f11d9ab8e29b850600a7681726a56878e956ad6571ffb2a308b509eb8"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/upload-auth-smoke.pw.test.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"c66c1cea5d3cb48134855e1d37dde65189f64a4397b00bd053f502aa4c5d595e"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: A bare \u0060eslint-disable\u0060 or \u0060@ts-nocheck\u0060 with no rule list switches every lint rule or the whole type checker off for the rest of the file \u2014 hidden debt. Disable the specific rule on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routeTree.gen.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83aa6a5568753b91c8c43df670e9828803d8c000f742effb890817e16fb62007"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: A bare \u0060eslint-disable\u0060 or \u0060@ts-nocheck\u0060 with no rule list switches every lint rule or the whole type checker off for the rest of the file \u2014 hidden debt. Disable the specific rule on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routeTree.gen.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"56c4a257906b290e9494021b3f83054c68414fd45dbd5a8f9eef705366fa62c3"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: scripts/security-dataset/huggingface-live/README.md links to \u0060metadata/latest-manifest.json\u0060, but \u0060scripts/security-dataset/huggingface-live/metadata/latest-manifest.json\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/security-dataset/huggingface-live/README.md"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"40e9c5216ba06380d36e7ef6fa3cde2d31067dbe8de5374d9a3b0966dfc8414d"}},{"ruleId":"P12","level":"warning","message":{"text":"Tests run only outside the merge gate: \u0060bunx playwright test --workers=1 e2e/menu-smoke.pw.test.ts e2e/publish-entry-workflows.pw.test.ts e2e/upload-auth-smoke.pw.test.ts\u0060 is the only CI command that runs 6 test(s) in 3 file(s) (e.g. \u0060e2e/menu-smoke.pw.test.ts\u0060, \u0060e2e/publish-entry-workflows.pw.test.ts\u0060), and the workflow runs only on workflow_dispatch \u2014 a failure there is found after the change merged, when the only remedy is a revert. Run them on pull requests (or in the merge queue)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/deploy.yml"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a3450e04a7a584cb28925471272edd230b0af07ec33d1cf61ed267b03a2b8b"}},{"ruleId":"P2","level":"warning","message":{"text":"No structured logging: No logging call was found in the 801 JavaScript/TypeScript production file(s) this check read across 4 module(s). Each was searched for its ecosystem\u0027s logging libraries (JavaScript/TypeScript: pino, winston, bunyan, log4js, loglevel, consola, the NestJS 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":"Dependabot does not watch pip: \u0060.github/dependabot.yml\u0060 schedules updates, but no \u0060package-ecosystem\u0060 entry covers \u0060pip\u0060, which this tree depends on \u2014 so those dependencies get no update pull requests and no advisory pressure, however complete the dep-scan credit looks. Add the missing entry to the \u0060updates:\u0060 list."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/dependabot.yml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf68ee1ea2969cbbdae4336ca738b5320c565628ea6ee894219d523831dd0f17"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060unzipSync\u0060 in \u0060buildArchive\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/agentSkillsHttp.ts"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"80604ef4cb96c41b3cf14a21d24c877770eab0b6ca41e8fd30187358fc142c26"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060unzipSync\u0060 in \u0060fetchArtifactReceipt\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/openClawPublishAuthorization.ts"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d8914dbc70d21e54801ca82a58d01f00bd2ba41798585c4f36b91302c752bef"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060gzipSync\u0060 in \u0060listArtifactExportBatchCompressedForWorker\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/securityDatasetNode.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"8535ebd267116c75cd30c18159277b1f13539c996112fd1db57fbe2419307209"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060spawnSync\u0060 in \u0060buildCliPackage\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/scripts/shared-schema.mjs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"df4dfe9a6674409372397f73d58495a899e74b3f2c4843d42941bee625b2e895"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060unzipSync\u0060 in \u0060fetchGitHubSource\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/github.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7679919f872a37da74f728c16466889636c74280e9bf5b842ecbba10425c03b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060unzipSync\u0060 in \u0060extractZipToDir\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/skills.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"6be0d7b7b610a45fcca10bf9191b511979b047f778dbf4bcf9ea72eb3dffe5bd"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060unzipSync\u0060 in \u0060extractGitHubZipPathToDir\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/skills.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"75ea6edcbb7e82091e58ca726158a8456d3d0a3edba37d36bce4e45637d0f452"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060rmSync\u0060 in \u0060materializeNvidiaSkillsSnapshot\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/evaluations/skill-evaluation-runtime.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"57bc7614addce432b49a2301a5be8ab8771e9a1afad3cdedbf118b1507469b6d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060prepareExtractedPluginRoot\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/package-inspector-nightly-scan.ts"},"region":{"startLine":824}}}],"partialFingerprints":{"codehealthFindingId/v1":"f559fefdbcded5b87efa5f4f5210c8c97e70deed07215abde420102e0122f0e8"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060writeSyntheticConfigIfNeeded\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/package-inspector-nightly-scan.ts"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"84f5298d307da0a70bc9625f39999bd5ec7dd4e3c2455c68b9efd1a46004828c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060writeSyntheticConfigIfNeeded\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/package-inspector-nightly-scan.ts"},"region":{"startLine":935}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9bd822a71c8aa892313878a9f744bd5d2b91cf45b87864dce069d6c4d3b7c2b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060readJsonIfExists\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/package-inspector-nightly-scan.ts"},"region":{"startLine":967}}}],"partialFingerprints":{"codehealthFindingId/v1":"df2d0ba369b4cfc7e402c85b7f24acf3b56c239b0d7be5de399a439f4510948e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060rmSync\u0060 in \u0060cleanupOwnedResources\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/run-playwright-local-auth.ts"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ca9b82c29964ee8fe8980566d59ec91cc329053264760f1d359e1e92fe79bd0"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readFileSync\u0060 in \u0060readFile\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/run-playwright-local-auth.ts"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3234d56c96dfc03e5a16724af5cf96902f36204f2e9bae99183f2a4498ce847"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdirSync\u0060 in \u0060warmLocalAuthExternalNodeDependencies\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/run-playwright-local-auth.ts"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"94dfe564ade9b4bb77104c9dd2b4915a4009d31238cf257a142282d0aba96d60"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060writeFileSync\u0060 in \u0060warmLocalAuthExternalNodeDependencies\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/run-playwright-local-auth.ts"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"14fbcbb97280fec51176f9e47f87c7097e6ffe33d66becbf3356f8c243ce020e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060rmSync\u0060 in \u0060startLocalConvex\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/run-playwright-local-auth.ts"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"751153f3c85d112bdc7f1ee6f3280aab721bb00b6b81be298749274235320a78"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060main\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/run-playwright-local-auth.ts"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"25cf65505d094faccb3dd66cd3f17c1d27a7edf109e6a263eb0dbee3f2f1a4b6"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060writeFileSync\u0060 in \u0060main\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/run-playwright-local-auth.ts"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"58c9714a7b98027f3188ee54486f48afb30c18e4e5946b2a5fd60175df5f2cee"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060spawnSync\u0060 in \u0060runStep\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/seed.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"318f7736f4a896162ecf34188b31fa4be902d177a35ef0cee817767d02ddbf0a"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060spawnSync\u0060 in \u0060runStep\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/seed.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f942f0577a7242766beb208a2cb85ce4d1b004c353e79337e5da178d77ffce7"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060spawnSync\u0060 in \u0060main\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/staging-seed/import-test-snapshot.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fae57e66d395616e35fef932ba1998af4a8313f1377477e7f2daf0931b70340"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060unzipSync\u0060 in \u0060extractSafeTemplateZip\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/templates-feed-openclaw-e2e.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"11bad013b173b408e8235bf6c50c9733efcd89d142219f43fe49d0053eb0d470"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060unzipSync\u0060 in \u0060expandFilesWithReport\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/uploadFiles.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"430163ca78d841d057e6d7ce56ef12955ae6b2bb4133702549e6ff8b8846d20f"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060gunzipSync\u0060 in \u0060expandFilesWithReport\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/uploadFiles.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"83a33d0fc2ee844d0c78cdb6bd4565bbc576903442011d2f5287a30c8c2da2f6"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060gunzipSync\u0060 in \u0060expandFilesWithReport\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/uploadFiles.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"43c0b125377a7b7115e84f1254e2931a0e7212ba358fa7d00b25fea4bf4dcffc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 5 sibling directories (63 clone groups): 63 duplicated blocks under the repository root have copies in at least two of the sibling directories convex, packages, scripts, server, src \u2014 34 of them are reported below, and 29 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 63 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 63 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 63 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":"scripts/skills-sh-catalog/capture-frozen-snapshot.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"6561213d011ac00262edd134838f1dce75a4cd58057d64377420c0e3d2c58b8e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 3 sibling directories (26 clone groups): 26 duplicated blocks under packages/ have copies in at least two of the sibling directories clawhub, clawhub-admin, schema \u2014 19 of them are reported below, and 7 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 26 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 26 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 26 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/schema/schemas.ts"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c1309d0e1515217592e2e936c306e1bd3ba4df1a00dbf342ec5e61a088cdfa9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 3 sibling directories (26 clone groups): 26 duplicated blocks under src/ have copies in at least two of the sibling directories components, lib, routes \u2014 14 of them are reported below, and 12 are counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 26 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 26 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 26 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/SkillDetailPageView.tsx"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"823cca4afd2621849de47271f765eb2e6f2cd2234adc510367510c449296dbff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 2 sibling directories (13 clone groups): 13 duplicated blocks under convex/ have copies in at least two of the sibling directories httpApiV1, lib \u2014 9 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 13 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 13 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 13 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":"convex/httpApiV1/managedMcpV1.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"10a75bf5759f9f5c9cee61ede1c0621aa1843176eb958b2e05fec14f5ca94de1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 12 sibling directories (13 clone groups): 13 duplicated blocks under scripts/ have copies in at least two of the sibling directories canonical-search, canonical-trending, design-audit, evaluations, lib, public-corpus (\u002B6 more sibling(s) not listed) \u2014 10 of them are reported below, and 3 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 13 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 13 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 13 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":"scripts/security/run-codex-scan-worker.ts"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"25b213a832c2fd2cbeff0eb99ca01604f0265343d745678c7ac8fa7f97a0de25"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 8 sibling directories (10 clone groups): 10 duplicated blocks under src/routes/ have copies in at least two of the sibling directories $owner, -management, official, orgs, p, plugins (\u002B2 more sibling(s) not listed) \u2014 6 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 10 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 10 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 10 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/routes/official/index.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cde0beb425e1e5a1c4c32055f330706c8a1b9c6c182c6d7f060a7441029cf62"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (306 matched lines \u00D7 2 locations): convex/httpApiV1/packagesV1.ts:1696 \u00B7 convex/httpApiV1/skillsV1.ts:3509 \u2014 the two spans are one implementation copied and then locally edited \u2014 1811 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":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":1696}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ba5ee0c1aef417f28de2681a3e90e9a0b53f9127897f267f7b067c7adb53031"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (207 matched lines \u00D7 2 locations): src/components/PluginVersionsPanel.tsx:44 \u00B7 src/components/SkillVersionsPanel.tsx:28 \u2014 the two spans are one implementation copied and then locally edited \u2014 1133 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/PluginVersionsPanel.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"f81eea2460ae60325b08f72a2cccae99d2ad6ff950329a5588ae2484a9df763e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (167 matched lines \u00D7 2 locations): convex/securityScanDispatch.ts:26 \u00B7 convex/skillEvaluationDispatch.ts:15 \u2014 the two spans are one implementation copied and then locally edited \u2014 1082 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":"convex/securityScanDispatch.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8e90c7023d2cb3c45798f37187bfe697034145db73b12fc9aa3fa2ca306f6d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (139 matched lines \u00D7 2 locations): convex/devSeed.ts:4189 \u00B7 convex/devSeed.ts:4529 \u2014 the two spans are one implementation copied and then locally edited \u2014 697 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/devSeed.ts"},"region":{"startLine":4189}}}],"partialFingerprints":{"codehealthFindingId/v1":"1be352d558d27d657296a93f25b7b523174a4d1cfda7698090178adf06f52bf6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (106 matched lines \u00D7 2 locations): src/routes/official/index.tsx:118 \u00B7 src/routes/plugins/index.tsx:458 \u2014 the two spans are one implementation copied and then locally edited \u2014 580 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/routes/official/index.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"37979a54582c99bc228f0593deda6e095c84677aa154e3ec1e624d5bd9a45bcc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (101 matched lines \u00D7 2 locations): src/components/SkillDetailPageView.tsx:518 \u00B7 src/routes/plugins/$name.tsx:1670 \u2014 the two spans are one implementation copied and then locally edited \u2014 501 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/SkillDetailPageView.tsx"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"34d3c4be4fc1599f754024c628365741591bc75bc9fadf42497edfee3def95c6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (91 matched lines \u00D7 2 locations): convex/lib/packageSearchDigest.ts:8 \u00B7 convex/lib/skillSearchDigest.ts:16 \u2014 the two spans are one implementation copied and then locally edited \u2014 589 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":"convex/lib/packageSearchDigest.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda0cdd6ba5c228c1ba522057a29898b90160e0ff541db3696cd21971bd47b99"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (90 matched lines \u00D7 2 locations): src/components/PackageSourceChooser.tsx:193 \u00B7 src/routes/skills/publish.tsx:895 \u2014 the two spans are one implementation copied and then locally edited \u2014 376 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/PackageSourceChooser.tsx"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"1104f3d9714eb15930e6e32f89358f5cd50411ddc9bfc89f02f3fb32d9c7a06b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (87 matched lines \u00D7 2 locations): scripts/skills-sh-catalog/capture-frozen-snapshot.ts:33 \u00B7 server/skillsShCatalogSource.ts:2706 \u2014 the two spans are one implementation copied and then locally edited \u2014 671 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/skills-sh-catalog/capture-frozen-snapshot.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"5440eae8a5c8bff45093ef1b44ac9c27a41e35150bde68400dc587884a7d602c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (63 matched lines \u00D7 2 locations): packages/schema/src/catalogFeed.ts:66 \u00B7 packages/schema/src/experimentalTemplateFeed.ts:37 \u2014 the two spans are one implementation copied and then locally edited \u2014 481 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/catalogFeed.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"30af7f7bd9753eb4410c7734604b3c2056bdcc14b698adf7b7c8e88102498c22"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (60 lines \u00D7 2 locations): packages/clawhub/src/schema/schemas.ts:228 \u00B7 packages/schema/src/schemas.ts:66 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/schema/schemas.ts"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ab32503602b6f09e41c6398bfd8ff2345b6ed955c6609de427f6d8fcc4bac43"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (57 matched lines \u00D7 2 locations): convex/leaderboards.ts:74 \u00B7 convex/packageLeaderboards.ts:78 \u2014 the two spans are one implementation copied and then locally edited \u2014 440 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":"convex/leaderboards.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f1e8ea77b2d6db1a8048d5ccbdf0ca0ba0db1e3a065205f83ee3a3c75eeb13a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (57 lines \u00D7 2 locations): convex/maintenance.ts:3164 \u00B7 convex/maintenance.ts:3259 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of MODULE-LEVEL DECLARATIONS \u2014 bindings the module declares and exports \u2014 rather than statements with a call site. Do not read this as an extract-a-helper row: a call expression cannot stand where a declaration was, and putting one there would delete the names themselves, which are what the rest of the codebase imports. What actually repeats here is the INITIALISER \u2014 the same expression shape written once per binding. So give that expression one name (a small helper the initialisers call, or a shared base value they are each derived from) and keep every binding under the name it already has. Where the run is an enumeration \u2014 one binding per distinct thing, differing precisely in the thing each one names \u2014 the repetition IS the enumeration and collapsing it would delete entries; consider instead whether the set belongs in one exported table the individual names are read out of. Reported because the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/maintenance.ts"},"region":{"startLine":3164}}}],"partialFingerprints":{"codehealthFindingId/v1":"d10dfa88e79423bf3d2e21e0e6bc97b89e2f94be82e594c1e704db4afe550f14"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (53 matched lines \u00D7 2 locations): convex/securityScan.ts:3105 \u00B7 convex/skillsShCatalog.ts:1376 \u2014 the two spans are one implementation copied and then locally edited \u2014 360 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":"convex/securityScan.ts"},"region":{"startLine":3105}}}],"partialFingerprints":{"codehealthFindingId/v1":"219f6908d3ffe07078bf64be4dca7c7bf23d9c288d9bdd8ad894c2924a1730b0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (49 lines \u00D7 2 locations): convex/devSeed.ts:3218 \u00B7 convex/devSeed.ts:3999 \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":"convex/devSeed.ts"},"region":{"startLine":3218}}}],"partialFingerprints":{"codehealthFindingId/v1":"15bdedaa60967d2f5b10a218c53f344bdf0ee0453582327c5181496d2df2c6b5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (49 matched lines \u00D7 2 locations): server/routes/og/plugin.png.ts:42 \u00B7 server/routes/og/skill.png.ts:32 \u2014 the two spans are one implementation copied and then locally edited \u2014 310 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":"server/routes/og/plugin.png.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"72a8e42290fa401b297747eef72ead428beed21787075b8a7758cc3988854c85"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (47 matched lines \u00D7 2 locations): convex/httpApiV1/packagesV1.ts:1357 \u00B7 convex/httpApiV1/packagesV1.ts:1560 \u2014 the two spans are one implementation copied and then locally edited \u2014 220 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":1357}}}],"partialFingerprints":{"codehealthFindingId/v1":"8db6133ff9781deb90f95d80583396e2ca79fabf285b9861c1c71565dc6a2933"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2 locations): src/components/SecurityAuditPage.tsx:652 \u00B7 src/components/SecurityAuditPage.tsx:850 \u2014 both copies are in the same file, so extract the block into one function there 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/SecurityAuditPage.tsx"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ca4e7ae087bad1725d7e11bb46dcd2ef3d78effb16911f166c4cc6a2bccec39"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2 locations): packages/clawhub/src/cli/commands/packages.ts:1611 \u00B7 packages/clawhub/src/cli/commands/packages.ts:1663 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/packages.ts"},"region":{"startLine":1611}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cb0f6ed6c039b3f90f294a00f16c8bc242d8ea2de55fb3017c51cebdd0f452b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2 locations): src/routes/-management/PluginsPage.tsx:35 \u00B7 src/routes/-management/SkillsPage.tsx:89 \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/routes/-management/PluginsPage.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"df91c4d7a6f6fa12f87893ae4de8c77a228b9be3364d973176894d2006ad2198"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2 locations): convex/securityScan.ts:1012 \u00B7 convex/securityScan.ts:2508 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/securityScan.ts"},"region":{"startLine":1012}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b7b10c1f7f378c352119c67dccb608fbd5dfa21cfe10ea31dc887ab2316ddd7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2 locations): packages/clawhub-admin/src/commands/moderation.ts:82 \u00B7 packages/clawhub-admin/src/commands/moderation.ts:128 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/moderation.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"09fbbb74b8ce009e75ef0a2768a31a1f6dda3ba03b788655aecd150e76e559af"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (40 matched lines \u00D7 2 locations): convex/canonicalTrending.ts:440 \u00B7 convex/canonicalTrending.ts:564 \u2014 the two spans are one implementation copied and then locally edited \u2014 287 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/canonicalTrending.ts"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"35eb5c8a136085e86ddd9e9442e55bb04aece9fbf9dc3f876eb5ada4671c04c5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2 locations): convex/publishAttempts.ts:1183 \u00B7 convex/publishAttempts.ts:1227 \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":"convex/publishAttempts.ts"},"region":{"startLine":1183}}}],"partialFingerprints":{"codehealthFindingId/v1":"3489633f005b819bab8536411013a11c1f9570b58ab8f75e31a6dd4b248028c1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2 locations): convex/skillTransfers.ts:369 \u00B7 convex/skillTransfers.ts:414 \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":"convex/skillTransfers.ts"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"729cecdc1662296280c90ae96b8f14cb5efa79d0dddac1eb3aec45e4f5425243"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (39 matched lines \u00D7 2 locations): convex/skills.ts:3103 \u00B7 convex/skills.ts:3192 \u2014 the two spans are one implementation copied and then locally edited \u2014 271 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skills.ts"},"region":{"startLine":3103}}}],"partialFingerprints":{"codehealthFindingId/v1":"c79b5533346a129d562091f29186439f77c5c36cb13570c5ef760bba534efe3c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (36 matched lines \u00D7 2 locations): convex/pluginInspectorDispatch.ts:54 \u00B7 convex/publishAttemptDispatch.ts:89 \u2014 the two spans are one implementation copied and then locally edited \u2014 302 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":"convex/pluginInspectorDispatch.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e94aa1e6d5ecb90bb3447e2ede3224b55e2292c680688b9cddc2d644d3ab3f9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2 locations): convex/publishAttempts.ts:779 \u00B7 convex/publishAttempts.ts:888 \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":"convex/publishAttempts.ts"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e66c76410b79e3269cb3f910503027dd62a1fd44730d93aa5007e6d6d1c55b3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2 locations): convex/securityScan.ts:304 \u00B7 scripts/security/run-codex-scan-worker.ts:1101 \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":"convex/securityScan.ts"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"1177b094a3e967f222b78e4f4d60bb73ddca483068d496964ba9022d0401aab0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2 locations): convex/securityScan.ts:1941 \u00B7 convex/securityScan.ts:1995 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/securityScan.ts"},"region":{"startLine":1941}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7de32b1146c365107a0bd921b84d258cece6a667668468b67b3eb9e886565e3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (36 matched lines \u00D7 2 locations): convex/skillsShMirror.ts:1432 \u00B7 convex/skillsShMirror.ts:1730 \u2014 the two spans are one implementation copied and then locally edited \u2014 200 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skillsShMirror.ts"},"region":{"startLine":1432}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ed0552c1c32eab3a4917dcc65e091fe885c33a0d12904467043e58ce4bd87db"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2 locations): packages/clawhub/src/cli/commands/star.ts:10 \u00B7 packages/clawhub/src/cli/commands/unstar.ts:10 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/star.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c6f78959ca49ce5bb21e6b434614683501d9db5bc961ed561338d72d344a73d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2 locations): packages/clawhub/src/schema/packages.ts:125 \u00B7 packages/schema/src/packages.ts:211 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/schema/packages.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"a01221c914421c28e071e13156c8991d156ee12b804c82908c9b5f5e85a65808"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (36 matched lines \u00D7 2 locations): src/components/ui/dialog.tsx:75 \u00B7 src/components/ui/sheet.tsx:64 \u2014 the two spans are one implementation copied and then locally edited \u2014 245 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/ui/dialog.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f9acefe118246c43e8f90c474db0971ce406f5cb355e78ad16058342c0d2b53"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2 locations): convex/packages.ts:6430 \u00B7 convex/packages.ts:6529 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/packages.ts"},"region":{"startLine":6430}}}],"partialFingerprints":{"codehealthFindingId/v1":"550c127c1bb914d02927468a67ed0628e3c3d7a8bd60dd9dc0bc967c8ff1eef7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2 locations): convex/skillsShCatalog.ts:851 \u00B7 convex/skillsShCatalog.ts:910 \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":"convex/skillsShCatalog.ts"},"region":{"startLine":851}}}],"partialFingerprints":{"codehealthFindingId/v1":"f20bb76390c618552ac8a50776a7247eb45b1a1b035b11bd320dffbd1bfdba72"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2 locations): convex/packages.ts:1724 \u00B7 convex/packages.ts:1811 \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":"convex/packages.ts"},"region":{"startLine":1724}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2c8491745502444ce21aea11eff27a487b3a35ffce324791d9ef1e164cd2d73"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (34 matched lines \u00D7 2 locations): convex/prepublicationObservability.ts:39 \u00B7 convex/securityScan.ts:1202 \u2014 the two spans are one implementation copied and then locally edited \u2014 195 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":"convex/prepublicationObservability.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fd57085afa7fe503da491a6076d6f38e88ce9fbf31f766deb44673f267ec14c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2 locations): convex/statsMaintenance.ts:197 \u00B7 convex/statsMaintenance.ts:239 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/statsMaintenance.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce3c330f48de60219950cd942ec9b8e380d8f3ce1356045688b14dc20cdc9f41"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2 locations): packages/schema/src/packageShared.ts:497 \u00B7 packages/schema/src/schemaShared.ts:415 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/packageShared.ts"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"f86e80e05f475e97b22477cb233e1e797efac3f3b3e0e460a6034323030739e7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (33 matched lines \u00D7 2 locations): server/og/publisherOgSvg.ts:106 \u00B7 server/og/registryOgSvg.ts:104 \u2014 the two spans are one implementation copied and then locally edited \u2014 241 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":"server/og/publisherOgSvg.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"73aa500507d200797c64c13d7119aa902a69c4eff562a6ff2e092a6cce354d15"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (32 matched lines \u00D7 2 locations): convex/lib/skillDownloadBackfill.ts:87 \u00B7 convex/lib/skillInstallBackfill.ts:116 \u2014 the two spans are one implementation copied and then locally edited \u2014 179 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":"convex/lib/skillDownloadBackfill.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eab0f0ed65c58726cb9a8ecbfcf03752af749e63ac997e5e3ffe9f2e5858755"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2 locations): convex/devSeed.ts:3276 \u00B7 convex/devSeed.ts:4059 \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":"convex/devSeed.ts"},"region":{"startLine":3276}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5936baad696c2e320064f63b3a1ac9fad017996f3103b552af260a342bb5a18"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2 locations): convex/httpApiV1/packagesV1.ts:748 \u00B7 convex/httpApiV1/packagesV1.ts:816 \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":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4b66000c8a7e50e82e37c88baf43f965a6bb8a160d5e55eb808d11cd95d6fcc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2 locations): convex/packages.ts:6918 \u00B7 convex/packages.ts:7247 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/packages.ts"},"region":{"startLine":6918}}}],"partialFingerprints":{"codehealthFindingId/v1":"02770cff128309f579c12088eb81374ce239cde88068cddc8aafcc88b1dd1faa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (31 matched lines \u00D7 2 locations): convex/packages.ts:593 \u00B7 convex/skills.ts:3741 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is inside a TYPE DECLARATION, not executable code. There is no function to extract and no call site to call one from, so do not read this as an extract-a-helper row: the collapse a type offers is a generic \u2014 name the shape once, parameterised over the part that varies, and have each copy instantiate it. First check what actually differs between the copies: where they are a MATRIX of cases (one entry per input, differing precisely in the case each one pins), the repetition IS the enumeration and collapsing it would delete cases rather than de-duplicate anything \u2014 leave those alone. Reported because the copies that are not a matrix drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/packages.ts"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"64fbec3ddfcf848f4ffbac313e2d24f9796385acf2d795ed0a166e1ef28593bd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (31 matched lines \u00D7 2 locations): convex/pluginSearchObservations.ts:11 \u00B7 convex/skillHourlyStats.ts:12 \u2014 the two spans are one implementation copied and then locally edited \u2014 243 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":"convex/pluginSearchObservations.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"5730cd80552041dd581706b86f7f9e3d2b8d944994bd0953beac3b1ed834aaca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (30 matched lines \u00D7 2 locations): convex/catalogFeed.ts:594 \u00B7 convex/promotionsFeed.ts:54 \u2014 the two spans are one implementation copied and then locally edited \u2014 152 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":"convex/catalogFeed.ts"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"d37b49c4c4c64ebc36ade3524642254de589b6b0adc9f536d264dcef750acbdd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (30 matched lines \u00D7 2 locations): convex/lib/publisherAbuseScoreContract.ts:26 \u00B7 convex/schema.ts:3608 \u2014 the two spans are one implementation copied and then locally edited \u2014 284 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":"convex/lib/publisherAbuseScoreContract.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b2029a6377f6af3892c24e367abdc4bd984bdb7294fd384f45517c46a9351df"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): packages/clawhub-admin/src/commands/orgs.ts:255 \u00B7 packages/clawhub-admin/src/commands/orgs.ts:297 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/orgs.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"1861cdc36c281c7b90f8cb2cc8ac563c596b4c76f8098be4bae490b4cf710ca2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): src/routes/cli/device.tsx:99 \u00B7 src/routes/cli/device.tsx:137 \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/routes/cli/device.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"424e0b411d09291d290169cf78e741d0b7a164d08108cfe4da527fffaa9b4799"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): src/routes/settings.tsx:2837 \u00B7 src/routes/settings.tsx:2910 \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/routes/settings.tsx"},"region":{"startLine":2837}}}],"partialFingerprints":{"codehealthFindingId/v1":"410abb88f11730303bcb1a5fc04aa7c1d0ebdba3ed6a4ac39f2872b75a9563b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): convex/githubSkillSources.ts:243 \u00B7 convex/githubSkillSync.ts:572 \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":"convex/githubSkillSources.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"37c0955d11fcdf1ba3af1d322b70733c345964e54fff41a1531c9b328e52947a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): convex/packages.ts:1314 \u00B7 convex/skills.ts:1828 \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":"convex/packages.ts"},"region":{"startLine":1314}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e04b6874fc88d710e2e2bcc53a7f4f3e8bdc8dc5a793df245925bd5ab03f75b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): convex/packages.ts:5134 \u00B7 convex/skillStatEvents.ts:988 \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":"convex/packages.ts"},"region":{"startLine":5134}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5613999c2e0fd764b31d7ba433bcc833f6ddf1714a4c23bccea38153b540b5c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 3 locations): convex/skills.ts:5052 \u00B7 convex/skills.ts:6326 \u00B7 convex/skills.ts:6452 \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":"convex/skills.ts"},"region":{"startLine":5052}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a771b5442faad29df011e40ea26bbcee2982c8803610df961f2717eeb1ea3c9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (28 matched lines \u00D7 2 locations): convex/httpApiV1/skillsShCatalogV1.ts:933 \u00B7 convex/httpApiV1/skillsShCatalogV1.ts:1030 \u2014 the two spans are one implementation copied and then locally edited \u2014 140 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/skillsShCatalogV1.ts"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb47e4ca8c95a59a4a4955174ee54782cb89b45a71b521ad7cbd7c31c942d651"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): convex/lib/packageRecommendationRead.ts:34 \u00B7 convex/skills.ts:6247 \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":"convex/lib/packageRecommendationRead.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"83632fdf37d9d68a42aa5ae814019fdd905a13fca0677e6ebc91c4aa69064f7d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): convex/packages.ts:6753 \u00B7 convex/skills.ts:3608 \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":"convex/packages.ts"},"region":{"startLine":6753}}}],"partialFingerprints":{"codehealthFindingId/v1":"412c3418a3396bb30295513f936aeab7d06eb6fc0481dc0f5b8b94ed99774099"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): packages/clawhub/src/schema/packages.ts:62 \u00B7 packages/schema/src/packages.ts:109 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/schema/packages.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"88756c74ba05c481de5386900c1855d1ff8fa5ea1cbc44a4a6a6c2b7e3a9f58a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): convex/skills.ts:2694 \u00B7 convex/skills.ts:10458 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skills.ts"},"region":{"startLine":2694}}}],"partialFingerprints":{"codehealthFindingId/v1":"b92e96b7e90914f7b66d936d485c4e4a57a09b0f23aa14faf4f3f6a30bc57947"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (27 matched lines \u00D7 2 locations): packages/schema/src/catalogFeed.ts:94 \u00B7 packages/schema/src/promotionsFeed.ts:60 \u2014 the two spans are one implementation copied and then locally edited \u2014 289 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/catalogFeed.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"589eb9c5f5530b08e10edbbb754631a15952dc95977b4043254dbfd902bcbdf5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): convex/functions.ts:170 \u00B7 convex/functions.ts:197 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/functions.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"670a71d2c24995e941d7d70cf2737ec1c071d23ab72f18bd919b1c403f3df11a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): convex/lib/globalStats.ts:161 \u00B7 convex/lib/globalStats.ts:196 \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":"convex/lib/globalStats.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcef043357973ef3d131bb64ea93e8db4500cd105d4c10ceacb519daf3609bee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): convex/packages.ts:6357 \u00B7 convex/packages.ts:6486 \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":"convex/packages.ts"},"region":{"startLine":6357}}}],"partialFingerprints":{"codehealthFindingId/v1":"0555500187cff18783f0e8394740539bcc041b486a45a26906af3729510981c1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (26 matched lines \u00D7 2 locations): convex/skillsShMirror.ts:1368 \u00B7 convex/skillsShMirror.ts:1795 \u2014 the two spans are one implementation copied and then locally edited \u2014 257 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skillsShMirror.ts"},"region":{"startLine":1368}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d6619a1172b1ca9b8ee2c8cc8d643d9acf28031c07042c1a454317ce1ff159f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): scripts/skills-sh-catalog/prove-500.ts:501 \u00B7 scripts/skills-sh-catalog/prove-500.ts:559 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/skills-sh-catalog/prove-500.ts"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cbb255d18c00897b2fe747e8e44a4e8905f87dad890611495a3bdeef1407b30"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (25 matched lines \u00D7 2 locations): convex/httpApiV1/usersV1.ts:327 \u00B7 convex/httpApiV1/usersV1.ts:736 \u2014 the two spans are one implementation copied and then locally edited \u2014 255 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/usersV1.ts"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a876e568dd8a3b3626944c67a4cc9bdce33c01ff6c503a0ff0a3ce6c88ca87b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): convex/packages.ts:6968 \u00B7 convex/skills.ts:4107 \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":"convex/packages.ts"},"region":{"startLine":6968}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5e0901ad193f253f21d5aaed179a6ab7a4a73bbbf5db2cc813fb4520a973608"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): convex/publishAttempts.ts:973 \u00B7 convex/publishAttempts.ts:1122 \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":"convex/publishAttempts.ts"},"region":{"startLine":973}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d593686886cb126c4579ce1105268e6da9bb582fe514fbd661da723576774f4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): convex/skillsShCatalog.ts:992 \u00B7 convex/skillsShCatalog.ts:1180 \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":"convex/skillsShCatalog.ts"},"region":{"startLine":992}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef23060d9b66d3aeffae8591901766673e2f226cfbcdbec66c3d7c97690fbb8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): convex/httpApi.ts:443 \u00B7 convex/httpApiV1/shared.ts:471 \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":"convex/httpApi.ts"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec1a48d8eed6d85024c6126ab4dd7bd52978cb23452382463ec729b94d5ce477"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): convex/migrations.ts:478 \u00B7 convex/publishAttempts.ts:1469 \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":"convex/migrations.ts"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"b103247dfcfc54f310ebf4767709a61276678df59e2800f09ab507277ff3af09"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): convex/packages.ts:368 \u00B7 convex/skillStatEvents.ts:313 \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":"convex/packages.ts"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7d3a563c52de332d6dad6688cc7be9aeeb41f7d3971649f9953d15f01263e08"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): convex/publishAttempts.ts:1813 \u00B7 convex/publishAttempts.ts:1852 \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":"convex/publishAttempts.ts"},"region":{"startLine":1813}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4cec3d9b664d215557ce020600378f367376575e28d17545394020dc936dc10"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): emails/blocked-version.tsx:26 \u00B7 emails/secret-blocked-publish.tsx:18 \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":"emails/blocked-version.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"1281943d3fbdcb7f31e4260d90f01eb48a79ea3ffa870dbcb0856c249ec784fb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): scripts/security/run-codex-scan-worker.ts:2340 \u00B7 scripts/security/run-prepublication-worker.ts:675 \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":"scripts/security/run-codex-scan-worker.ts"},"region":{"startLine":2340}}}],"partialFingerprints":{"codehealthFindingId/v1":"3793f60c8442ec34fbd2d2dc754d6dac6636fc1a60ba4c4011f8334d56c7c715"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): src/routes/settings.tsx:2023 \u00B7 src/routes/settings.tsx:2106 \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/routes/settings.tsx"},"region":{"startLine":2023}}}],"partialFingerprints":{"codehealthFindingId/v1":"d275e6a42818d1658eee0b19164ac87de47257a35c609639bcf3079b73238a98"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): convex/devSeed.ts:1752 \u00B7 convex/devSeed.ts:1781 \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":"convex/devSeed.ts"},"region":{"startLine":1752}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bbbb241beece234231fd2de91b9907abe0e7e5bff0dc254d5f664a2d514eaa5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): convex/httpApiV1/skillsV1.ts:501 \u00B7 convex/httpApiV1/skillsV1.ts:3077 \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":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"5da15c7e7b62ea7f99fd887960f46b75cb0161be2d89e56416b621e88a308880"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (23 matched lines \u00D7 2 locations): convex/lib/catalogClassifier.mjs:1518 \u00B7 convex/lib/catalogClassifier.mjs:2042 \u2014 the two spans are one implementation copied and then locally edited \u2014 98 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/catalogClassifier.mjs"},"region":{"startLine":1518}}}],"partialFingerprints":{"codehealthFindingId/v1":"52704896ac6fad3ff6178a8a7fadec5c7dc37736b783f9ed9b738d86592d8f89"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (23 matched lines \u00D7 2 locations): convex/lib/changelog.ts:155 \u00B7 convex/lib/changelog.ts:194 \u2014 the two spans are one implementation copied and then locally edited \u2014 156 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/changelog.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"72cd78ac81122c6ef84df6f012e4632aa398938056e842b0caab2f6dd997fcbe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): convex/publishAttempts.ts:1306 \u00B7 convex/publishAttempts.ts:1384 \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":"convex/publishAttempts.ts"},"region":{"startLine":1306}}}],"partialFingerprints":{"codehealthFindingId/v1":"2511a3ae0ad468a8d13583ca87ba4dcb95f54b463e613ba42b92e679f32e1ef6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): convex/skillTransfers.ts:318 \u00B7 convex/skillTransfers.ts:348 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skillTransfers.ts"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"408f830274b880f5089fbb239f97c9b10c2d6a60757e623bf1e7fded5e753f6f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): convex/skills.ts:8376 \u00B7 convex/skills.ts:8402 \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":"convex/skills.ts"},"region":{"startLine":8376}}}],"partialFingerprints":{"codehealthFindingId/v1":"20672918ea4a0182cb645158fa1a9c7cc7539fdf76e25bdb90e311e702895912"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): convex/skillsShCatalog.ts:561 \u00B7 convex/skillsShCatalog.ts:600 \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":"convex/skillsShCatalog.ts"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"be194584af897ad870e715ce411d936095549de3911921cdaf2757b8f38ae56f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): convex/skillsShMirror.ts:1586 \u00B7 convex/skillsShMirror.ts:1907 \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":"convex/skillsShMirror.ts"},"region":{"startLine":1586}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5c2892755402ff55393b3dfc2600197c266bbe56defccb8f1f30b38ad443289"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): convex/skillsShMirrorVisibility.ts:389 \u00B7 convex/skillsShMirrorVisibility.ts:440 \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":"convex/skillsShMirrorVisibility.ts"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"5087f191dd0cf86e5965e135e94081f2dd93e1d381ccf6ef804f13fabbc3288a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): packages/clawhub/src/schema/routes.ts:1 \u00B7 packages/schema/src/routes.ts:1 \u2014 the 2 copies are spread across 2 files, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/schema/routes.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"364b028ce11f01e80f8c494356b5bac54f255fb99b0c737d6d82133345df5fed"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): src/components/Header.tsx:986 \u00B7 src/components/Header.tsx:1010 \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/Header.tsx"},"region":{"startLine":986}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c893e7cea04b44a820c166df18e1029c8a853b83308ba2a15867a4d89dc32d9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): src/components/SkillDetailTabs.tsx:130 \u00B7 src/routes/plugins/$name.tsx:419 \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/SkillDetailTabs.tsx"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"16613dcfec8bdc854650c1df8b3e1700237aad8a30a194efc53d79934abee6c7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): convex/catalogFeed.ts:331 \u00B7 convex/catalogFeed.ts:379 \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":"convex/catalogFeed.ts"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"557e3f8a0d6106ac011e4bf7b1079f052c598ebb9e149e13f790172ce628be41"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (22 matched lines \u00D7 2 locations): convex/httpApiV1/featuredV1.ts:23 \u00B7 convex/httpApiV1/skillsShCatalogV1.ts:1168 \u2014 the two spans are one implementation copied and then locally edited \u2014 170 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/featuredV1.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f156de8d95a8260ccdb3d49f5a57bde4eaa5850f9e2499ae0044e89fc475dbc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): convex/httpApiV1/skillsV1.ts:149 \u00B7 scripts/templates-feed-openclaw-e2e.ts:144 \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":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f7c4c475b8d529f301f133d2c871c4e5c4864c0efdf65a9a582bc67dc508973"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): convex/lib/artifactModeration.ts:118 \u00B7 convex/lib/artifactModeration.ts:141 \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":"convex/lib/artifactModeration.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fca2cb844af27d08a9f9f0f2f650b7fd7189a0fdb0793969a250e948691a287"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): convex/migrations.ts:1559 \u00B7 convex/migrations.ts:1670 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/migrations.ts"},"region":{"startLine":1559}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a64f665adc3df6bf812215bb9688f55eebfdf4ef7919bcef8352eb1a6f79adf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): convex/packages.ts:2384 \u00B7 convex/packages.ts:2446 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/packages.ts"},"region":{"startLine":2384}}}],"partialFingerprints":{"codehealthFindingId/v1":"93c0c348ebf82bce3d40a2c59452d2ef11948807ca630552a4b26c4a317e42cb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): server/routes/ops/skills-sh/mirror-test.post.ts:690 \u00B7 server/routes/ops/skills-sh/mirror-test.post.ts:759 \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":"server/routes/ops/skills-sh/mirror-test.post.ts"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"b93e307f67e969778c9cb7eecef4680ee5045837ab6608b52f5499b2ffaac7de"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): src/routes/$owner/$slug/security-audit.tsx:33 \u00B7 src/routes/$owner/$slug/settings.tsx:22 \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/routes/$owner/$slug/security-audit.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d115bad37ee96dad10671521f8ce0e9eaccb6bf0446c6ca8ca2413080d03910"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): src/routes/settings.tsx:2807 \u00B7 src/routes/settings.tsx:2874 \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/routes/settings.tsx"},"region":{"startLine":2807}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9fd8bcc730394ac1803778fc19df6682365663c8d07fd3d8e3fe2611b0634b8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (21 matched lines \u00D7 2 locations): convex/lib/skillPublish.ts:864 \u00B7 convex/skillPresentationBackfill.ts:373 \u2014 the two spans are one implementation copied and then locally edited \u2014 119 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":"convex/lib/skillPublish.ts"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"d25942cc091325d2625fabe28ceefbeda38e6e110d7d077771a9a23f951dfec3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): convex/maintenance.ts:3130 \u00B7 convex/maintenance.ts:3234 \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":"convex/maintenance.ts"},"region":{"startLine":3130}}}],"partialFingerprints":{"codehealthFindingId/v1":"799b60b0f212a819e54c7dc69255df6bbc4c06544e413ca47d50371f0c66b314"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): convex/packages.ts:5069 \u00B7 convex/skillStatEvents.ts:853 \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":"convex/packages.ts"},"region":{"startLine":5069}}}],"partialFingerprints":{"codehealthFindingId/v1":"151a0b976e90cef8394bfc3f742606bea13e3995ae260c282466d3aae77048d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): convex/packages.ts:6819 \u00B7 convex/skills.ts:3672 \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":"convex/packages.ts"},"region":{"startLine":6819}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a14efb0bb2bc84a184e6a33ee361c23570cadd246ab37f9791c3d2d23a5e164"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (21 matched lines \u00D7 2 locations): convex/publisherAbuse.ts:2277 \u00B7 convex/users.ts:247 \u2014 the two spans are one implementation copied and then locally edited \u2014 120 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":"convex/publisherAbuse.ts"},"region":{"startLine":2277}}}],"partialFingerprints":{"codehealthFindingId/v1":"1accb970de72bcee3b72f58056c0aee7bdb75f077c60fac9e4f62bd258b9a83c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): convex/skills.ts:7868 \u00B7 convex/skills.ts:7982 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skills.ts"},"region":{"startLine":7868}}}],"partialFingerprints":{"codehealthFindingId/v1":"23e7c19b8f30060cecfbddb078f2529fffd871a6ee22c170be8b03d5d35c4e73"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 4 locations): packages/schema/src/packageShared.ts:458 \u00B7 packages/schema/src/packageShared.ts:499 \u00B7 packages/schema/src/schemaShared.ts:417 \u00B7 packages/schema/src/schemaShared.ts:454 \u2014 the 4 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/packageShared.ts"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b46846fd532851c99eaad14c3edd8e69511545fe496dab751ef133fbec06d8b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): src/routes/-management/ReportsPage.tsx:23 \u00B7 src/routes/-management/UsersPage.tsx:33 \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/routes/-management/ReportsPage.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aa31e02fc1d36618719b77562e20ffc24f7b3dc38a2769d28fafac8250b7fda"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): convex/agentSkillsHttp.ts:172 \u00B7 convex/agentSkillsHttp.ts:279 \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":"convex/agentSkillsHttp.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4f3927c1c878da4f6fce72614120b7f4c088da158891538dce16ed376fc2db1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): convex/canonicalTrendingTestFixtures.ts:582 \u00B7 convex/canonicalTrendingTestFixtures.ts:649 \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":"convex/canonicalTrendingTestFixtures.ts"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"6389f91d88a459ed8f07453ab1b559f1baacb7db3b56556c63affd70a0d3205a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): convex/emailsNode.ts:96 \u00B7 convex/emailsNode.ts:124 \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":"convex/emailsNode.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b908547266875f3500095d7ac63cd09be219d83835aae575583cbbdf1fb19d6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3 locations): convex/functions.ts:138 \u00B7 convex/functions.ts:168 \u00B7 convex/functions.ts:195 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/functions.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f2d78027f597bdf2bf68e001df216bc58e918d7953a0415740fb10ba35bdf4f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): convex/httpApiV1/managedMcpV1.ts:24 \u00B7 convex/lib/packageIcons.ts:80 \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":"convex/httpApiV1/managedMcpV1.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"e30faa0dc933b74c6266ad1bd127478946ec93e44a8dd5307e0c6649d18cf66f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): convex/httpApiV1/usersV1.ts:716 \u00B7 convex/httpApiV1/usersV1.ts:792 \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":"convex/httpApiV1/usersV1.ts"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6430f7d007ee11a86514503e815bb1236d136dbf58435f69e7b48ed50e33988"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (20 matched lines \u00D7 2 locations): convex/lib/skillsShMirrorPublic.ts:63 \u00B7 convex/skillsShMirrorPublic.ts:23 \u2014 the two spans are one implementation copied and then locally edited \u2014 120 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":"convex/lib/skillsShMirrorPublic.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ac6c79ed10c1e2b21751d80cbf148ff5653a92460a3791c1edae44cf4e7b07d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): convex/maintenance.ts:2964 \u00B7 convex/maintenance.ts:3353 \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":"convex/maintenance.ts"},"region":{"startLine":2964}}}],"partialFingerprints":{"codehealthFindingId/v1":"aecc9719096528355b3c451bb1f44847dd7b87421e5d44949f792b7b2ea22dc6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): convex/packages.ts:1891 \u00B7 convex/packages.ts:1945 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/packages.ts"},"region":{"startLine":1891}}}],"partialFingerprints":{"codehealthFindingId/v1":"f78352b0684081f40173c081973101eececa597f21ca2557b65c7c899d2b646e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): convex/packages.ts:7369 \u00B7 convex/skills.ts:4289 \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":"convex/packages.ts"},"region":{"startLine":7369}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0c2d2ac529e1a809256f96e415cf6a0f21658ea309ac8b72919856726acf07d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): convex/publishAttempts.ts:825 \u00B7 convex/publishAttempts.ts:853 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/publishAttempts.ts"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"3225788f8816b078d7234d6245ec73b4f42e63335ab1cefa36d817bbd9340c37"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): convex/retention.ts:65 \u00B7 convex/retention.ts:91 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/retention.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"b68a2a9b2374d8c35286d5e1cdb524eaad3dbffd75cb8b3f454cdd9d61d24c51"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): convex/securityDataset.ts:50 \u00B7 convex/securityDataset.ts:71 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/securityDataset.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b81c0254f819f1ae3d763d9c0ff7f0f0b13c31d44c190db3e89cc9b3370c7b7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): convex/skillStatEvents.ts:1202 \u00B7 convex/skillStatEvents.ts:1223 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skillStatEvents.ts"},"region":{"startLine":1202}}}],"partialFingerprints":{"codehealthFindingId/v1":"58689bd84ba95dff4668f238fa702193d27e37901050f6641e62d031e8d9aee1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): convex/users.ts:157 \u00B7 convex/users.ts:181 \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":"convex/users.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"215db0ff60381a2a3e5f2d8138b4bf2f86d04a4adbe435c91348ba17442bb263"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): convex/users.ts:1818 \u00B7 convex/users.ts:2516 \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":"convex/users.ts"},"region":{"startLine":1818}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfe3f62eb2f3c015a8ffd1fc604dba88c8f89e1b2eea34cf554053448ef6ffe4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): convex/users.ts:2185 \u00B7 convex/users.ts:2218 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/users.ts"},"region":{"startLine":2185}}}],"partialFingerprints":{"codehealthFindingId/v1":"01e45474a93194c0d527e7a540e6683c5c48483cb9a39d6913df8a4abb6f099a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): packages/clawhub-admin/src/buildInfo.ts:41 \u00B7 packages/clawhub/src/cli/buildInfo.ts:34 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/buildInfo.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"58c5cb640fa74a0709c2f3608b72c9dd35f533e418ef33ce7c38ef8bf076421c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): server/skillsShCatalogSource.ts:1579 \u00B7 server/skillsShCatalogSource.ts:2019 \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":"server/skillsShCatalogSource.ts"},"region":{"startLine":1579}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b63f58dc36420ef87d06d56c1a22ba8bf268a35b7c235ea6a932876922cfc0d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): src/routes/-management/AbusePage.tsx:1569 \u00B7 src/routes/-management/AbusePage.tsx:1596 \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/routes/-management/AbusePage.tsx"},"region":{"startLine":1569}}}],"partialFingerprints":{"codehealthFindingId/v1":"4333778f747d3bcc74a2bc53b22a55720050888ffbae3ec4de8baeca27c3c2e1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): src/routes/import.tsx:55 \u00B7 src/routes/official/index.tsx:61 \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/routes/import.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e40f9d621fe79cd0fa04948647fe20380cb7930647b2963344f20710950a8b0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): src/routes/settings.tsx:1562 \u00B7 src/routes/settings.tsx:1861 \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/routes/settings.tsx"},"region":{"startLine":1562}}}],"partialFingerprints":{"codehealthFindingId/v1":"25fa4dc69e5bd58466d587028336d52dd8e84b6fc3bbac46fb8b6ddaea0786cc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): convex/downloadAnalytics.ts:54 \u00B7 convex/downloadAnalytics.ts:110 \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":"convex/downloadAnalytics.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"9102401637da35246f635c9672b4684bd6ec590802c5e15104d1cd0589ea06e4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): convex/httpApiV1/skillsV1.ts:2442 \u00B7 convex/httpApiV1/skillsV1.ts:2503 \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":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":2442}}}],"partialFingerprints":{"codehealthFindingId/v1":"0281e6d035f01f41c9b6c3624817840ffa2fbf482f7a7d3a7230f635ab0fcf47"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 4 locations): convex/maintenance.ts:1317 \u00B7 convex/maintenance.ts:2045 \u00B7 convex/maintenance.ts:2267 \u00B7 convex/maintenance.ts:2407 \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":"convex/maintenance.ts"},"region":{"startLine":1317}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cfff070f9cf25d6175736abef06059e530b704b292467da756f876a333c63dc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): convex/packages.ts:1363 \u00B7 convex/skills.ts:4639 \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":"convex/packages.ts"},"region":{"startLine":1363}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddf762abf94a508d9b2bdcf8b0010d3fcef3420a98f315aa70ae8f8a6d64c408"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): convex/packages.ts:5549 \u00B7 convex/skills.ts:10158 \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":"convex/packages.ts"},"region":{"startLine":5549}}}],"partialFingerprints":{"codehealthFindingId/v1":"818d95e80ba333cda8f8cdc57c123c32c2f063e58c7acfa82619662739da9758"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): convex/publishers.ts:3760 \u00B7 convex/skills.ts:10194 \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":"convex/publishers.ts"},"region":{"startLine":3760}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a28932af505a681cc107c738918a381c24ba1feeb9f57ebc8b09d6367f12381"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): convex/publishers.ts:3850 \u00B7 convex/publishers.ts:3923 \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":"convex/publishers.ts"},"region":{"startLine":3850}}}],"partialFingerprints":{"codehealthFindingId/v1":"77489bc8f2b324930965637252320cf66f220d023a1cfc39e12d5e1c81fcc9c7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): convex/schema.ts:2745 \u00B7 convex/schema.ts:2803 \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":"convex/schema.ts"},"region":{"startLine":2745}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7b11301008cc366f399fae95809e168bc38b1a55c56ce1175cf5d87b195779a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): convex/users.ts:1931 \u00B7 convex/users.ts:2017 \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":"convex/users.ts"},"region":{"startLine":1931}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c35d8f64bdf7db4eab8fdd7f1f61197f0f760af3f8f6f52fe66f992ef18121b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): packages/clawhub-admin/src/commands/packages.ts:212 \u00B7 packages/clawhub-admin/src/commands/skills.ts: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":"packages/clawhub-admin/src/commands/packages.ts"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"34eaadf55577b5c6f006be55996000ac3876f629c2d2d3a4f37cec59751889d2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 4 locations): packages/clawhub-admin/src/commands/packages.ts:322 \u00B7 packages/clawhub-admin/src/commands/packages.ts:423 \u00B7 packages/clawhub-admin/src/commands/packages.ts:585 \u00B7 packages/clawhub/src/cli/commands/skills.ts:1285 \u2014 the 4 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/packages.ts"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fbb61bc496aa699bf87c9d6bba18851a7601c011856ee3a5a89c91905775f04"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): packages/clawhub-admin/src/commands/packages.ts:395 \u00B7 packages/clawhub/src/cli/commands/skills.ts:1347 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/packages.ts"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"833cd96300f4e13e1d94a5da865aa6a1904669e62bb184a87f2108630afa34df"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): scripts/github/clawhub-rescan-auto-response.mjs:110 \u00B7 scripts/github/clawhub-rescan-auto-response.mjs:212 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/github/clawhub-rescan-auto-response.mjs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"14d17dfcd3b6e4e559386f31ef8deffa70bee406e923ff17f53a6e5d7238ec6c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): src/routes/$owner/plugins/$slug.tsx:46 \u00B7 src/routes/$owner/plugins/$slug/security-audit.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/routes/$owner/plugins/$slug.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5a0a177b2048a4a449259ffb6574d9d3357c7715fbd007f87f23a7c02785c5e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): src/routes/plugins/index.tsx:581 \u00B7 src/routes/skills/index.tsx:262 \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/routes/plugins/index.tsx"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"cad3964861328eda1e8e9a0583c45590370e8ee3b45fc7d2769b423b8e734b56"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): src/routes/settings.tsx:2276 \u00B7 src/routes/settings.tsx:2296 \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/routes/settings.tsx"},"region":{"startLine":2276}}}],"partialFingerprints":{"codehealthFindingId/v1":"153ff3765344c849c7bdf4009fa2a194c0d5e874e2756b3991b5eec1bc06e484"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): src/routes/settings.tsx:2398 \u00B7 src/routes/settings.tsx:2489 \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/routes/settings.tsx"},"region":{"startLine":2398}}}],"partialFingerprints":{"codehealthFindingId/v1":"fac1154d0d66c44d4927cec1fc4b5988638cf77351996afde3adbcab80981b48"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): convex/devSeed.ts:2413 \u00B7 convex/skills.ts:2090 \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":"convex/devSeed.ts"},"region":{"startLine":2413}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc4843e4249a2fe440e0ad2502f25e6815a65357cacced4d79e6efadbd57cc34"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): convex/httpApiV1/packagesV1.ts:395 \u00B7 convex/httpApiV1/packagesV1.ts:415 \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":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"c010296fcc07cfb78813eee245c801d73d91a0af343bf6c9bed3c271ccf715c6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): convex/httpApiV1/skillsV1.ts:3170 \u00B7 convex/httpApiV1/skillsV1.ts:3193 \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":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":3170}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bf6a0bff8b8453e76ab4e35957c4c7b8f61477b80bbe08f64562475cced6d3a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (18 matched lines \u00D7 2 locations): convex/lib/packageCatalogRead.ts:151 \u00B7 convex/lib/packageCatalogRead.ts:281 \u2014 the two spans are one implementation copied and then locally edited \u2014 115 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/packageCatalogRead.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"6670c13193c4f89d50ed301c89e17f29c12982ad4210cafce1d6ee84087250f8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (18 matched lines \u00D7 2 locations): convex/lib/skills/index.ts:67 \u00B7 convex/lib/skills/index.ts:270 \u2014 the two spans are one implementation copied and then locally edited \u2014 182 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/skills/index.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"0470a183ee6e3474f9b127c673fc37fcb69bd4d3faaf8b6037bcf73a819227c3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): convex/search.ts:1731 \u00B7 convex/search.ts:1752 \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":"convex/search.ts"},"region":{"startLine":1731}}}],"partialFingerprints":{"codehealthFindingId/v1":"5404b6ab4389573d9b3adad3ec26d36d2331661131c5f49150bb0ab03d363936"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): convex/skills.ts:7771 \u00B7 convex/skills.ts:7913 \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":"convex/skills.ts"},"region":{"startLine":7771}}}],"partialFingerprints":{"codehealthFindingId/v1":"09092a999afd81014a7530fc6855431aa96834d4bc2887d173068e6bf95282f2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): convex/skillsShCatalog.ts:1937 \u00B7 convex/skillsShCatalog.ts:1986 \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":"convex/skillsShCatalog.ts"},"region":{"startLine":1937}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c0dee045f1b5b0c714abb3a17965eba7837cd2661c22fe880dd3df7b380ef23"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): scripts/skills-sh-catalog/prove-500.ts:212 \u00B7 scripts/skills-sh-catalog/prove-500.ts:802 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/skills-sh-catalog/prove-500.ts"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe1bd42304add2860833b756cbadbef0b1c919fc909e6ec2a1430ed5229303bf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): server/routes/ops/skills-sh/mirror-test.post.ts:247 \u00B7 server/routes/ops/skills-sh/mirror-test.post.ts:265 \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":"server/routes/ops/skills-sh/mirror-test.post.ts"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bb1b736dde972f2a5723228d0b4695cacfa95966280dfc0498d18098821fb73"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): server/routes/ops/skills-sh/mirror-test.post.ts:667 \u00B7 server/routes/ops/skills-sh/mirror-test.post.ts:903 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/routes/ops/skills-sh/mirror-test.post.ts"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3289165030017035500bdb5c6142b62986c79355298dff65c093a0d480cffc4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): src/components/Header.tsx:606 \u00B7 src/components/Header.tsx:797 \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/Header.tsx"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c41a3861d703a34e874be317bbd2e08754b2b7bb79fbb61298450dbe067131a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): src/components/Header.tsx:627 \u00B7 src/components/Header.tsx:832 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Header.tsx"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc3fdbb95b6932ce64d1adf349404efc59a18a04eddf60b29604a3ae80a4105b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): src/components/SkillDiffCard.tsx:475 \u00B7 src/components/SkillDiffCard.tsx:509 \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/SkillDiffCard.tsx"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6e99bf5e045c50b953ab33bb5d2912e365a1034288c9ed66e71939e027254ce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): src/routes/plugins/$name.tsx:1448 \u00B7 src/routes/plugins/$name.tsx:1466 \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/routes/plugins/$name.tsx"},"region":{"startLine":1448}}}],"partialFingerprints":{"codehealthFindingId/v1":"f82a8faaf79feb768d05e7cc935ccf8f36ecf52bb0969c5c5ca4b55ee6458501"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): convex/dashboard.ts:33 \u00B7 convex/dashboard.ts:58 \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":"convex/dashboard.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fa881cd9a84421c59e49918119f858979a241524fb94d7e5bef2c8ef700dd07"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): convex/devSeed.ts:2916 \u00B7 convex/devSeed.ts:2975 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/devSeed.ts"},"region":{"startLine":2916}}}],"partialFingerprints":{"codehealthFindingId/v1":"08f87b43f8d79a69cb57a9227575a8fc3e2e21e1e2810031975a274af98e09e9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): convex/devSeed.ts:3022 \u00B7 convex/devSeed.ts:3064 \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":"convex/devSeed.ts"},"region":{"startLine":3022}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dc6b68947af2ec1c6487b0872141f86afc62b9524d776875f525774b090d964"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): convex/httpApi.ts:221 \u00B7 convex/httpApiV1/skillsV1.ts:2635 \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":"convex/httpApi.ts"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fc4a684a199b2aa0ecc561e28e662c44c9bc9ca2c013f3db3bba1a46c1c8056"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): convex/httpApiV1/packagesV1.ts:2733 \u00B7 convex/httpApiV1/packagesV1.ts:3926 \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":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":2733}}}],"partialFingerprints":{"codehealthFindingId/v1":"015fad701e399e1a86e3517cddddb237feea8f0afe3fbdbe2855d01a24f01ec3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): convex/httpApiV1/starsV1.ts:18 \u00B7 convex/httpApiV1/starsV1.ts:54 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/starsV1.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"34f1a27ff2e0f4db4fb4d9f7d7b3b41d9648d79d853c804c0cb9f7550b4077b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): convex/lib/globalStats.ts:84 \u00B7 convex/lib/globalStats.ts:111 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/globalStats.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"9faec6f279a358d74155de200f32095d44b7d21dc57594acd983c3aeb71b3379"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): convex/migrations.ts:900 \u00B7 convex/migrations.ts:958 \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":"convex/migrations.ts"},"region":{"startLine":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"451bb402cfd87eae6b9a0457444067c98da6d402009b7e08244e6bf7b296e1de"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): convex/packages.ts:7038 \u00B7 convex/skills.ts:4163 \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":"convex/packages.ts"},"region":{"startLine":7038}}}],"partialFingerprints":{"codehealthFindingId/v1":"e13f179b66bca1349303c3a1df6b32a2eacc466753b0859bb98458b003e487a3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): convex/schema.ts:1015 \u00B7 convex/schema.ts:1421 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/schema.ts"},"region":{"startLine":1015}}}],"partialFingerprints":{"codehealthFindingId/v1":"f653e4f93840421f0ecfac59ce5f76bf0dcab3ad6bd09a7a1baf79c408784b75"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): convex/securityScan.ts:2628 \u00B7 convex/securityScan.ts:2707 \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":"convex/securityScan.ts"},"region":{"startLine":2628}}}],"partialFingerprints":{"codehealthFindingId/v1":"1531b57c83fff0e5b72c723a932aec1fd99b5e2a84649a5e96baae4f5ea97db6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4 locations): convex/skills.ts:4906 \u00B7 convex/skills.ts:5098 \u00B7 convex/skills.ts:6400 \u00B7 convex/skills.ts:6490 \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":"convex/skills.ts"},"region":{"startLine":4906}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fc9b2106080eba362a7f1622cd876804876fda244607cdb2e2cdb07ccf78046"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): convex/skills.ts:7271 \u00B7 convex/skills.ts:7528 \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":"convex/skills.ts"},"region":{"startLine":7271}}}],"partialFingerprints":{"codehealthFindingId/v1":"645826333b50ac132e9961c8bec065d0c9d0809ac2da0b1cd56cfcc63f9c0df5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): convex/skills.ts:10918 \u00B7 convex/skills.ts:11193 \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":"convex/skills.ts"},"region":{"startLine":10918}}}],"partialFingerprints":{"codehealthFindingId/v1":"39aff68ae058a751da1fbc26162e6f50a8019a84f44e44265b2e6b0c1de9ef86"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): convex/skillsShCatalog.ts:668 \u00B7 convex/skillsShCatalog.ts:1573 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skillsShCatalog.ts"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e47af376c33baab326f6f9f46ee1abb62dab7487d5f815dfe773f1d12fc965f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): convex/skillsShMirrorVisibility.ts:421 \u00B7 convex/skillsShMirrorVisibility.ts:488 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skillsShMirrorVisibility.ts"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e9c103e4479618810c18964643973caba4ed0a1afaf2cfcb48d0c4498ba6f7c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (17 matched lines \u00D7 2 locations): convex/uploads.ts:35 \u00B7 convex/uploads.ts:104 \u2014 the two spans are one implementation copied and then locally edited \u2014 67 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/uploads.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7be0db13f2e344639e19c7d4b0db2842bfd25a770acd5ae50eae6c9e3993563"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): convex/users.ts:737 \u00B7 convex/users.ts:1346 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/users.ts"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"694d0ccdddef2b382384864163f0a45b1d0719e5af697251ec7c06b77b322a43"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): packages/clawhub-admin/src/commands/featured.ts:63 \u00B7 packages/clawhub-admin/src/commands/skills.ts:94 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/featured.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf3fb8e337538703d47c90c4070eaf792e2cc0dc5506d1d561ff69f9340e2a60"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3 locations): packages/clawhub-admin/src/commands/orgs.ts:329 \u00B7 packages/clawhub-admin/src/commands/packages.ts:241 \u00B7 packages/clawhub-admin/src/commands/skills.ts:68 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/orgs.ts"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dbba7f8dcd715eac342774d15bfe8ed6d482d691b2a5a3ed131dfbd087f7100"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): packages/clawhub/src/cli/commands/github.ts:325 \u00B7 packages/clawhub/src/cli/commands/github.ts:344 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/github.ts"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"18804a607581bec878afd9c6ce9d80ba18aacf0d47a2aeacb739838853533bcb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3 locations): packages/clawhub/src/cli/commands/packages.ts:332 \u00B7 packages/clawhub/src/cli/commands/packages.ts:364 \u00B7 packages/clawhub/src/cli/commands/skills.ts:1237 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/packages.ts"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee430f0e1510b12940da4a3c7966b22059cad54e120b4150d04ed97283bcf882"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): packages/schema/src/schemaShared.ts:335 \u00B7 packages/schema/src/schemaShared.ts:505 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/schemaShared.ts"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"2976bc590928d6fcf139d1b80cd4791cc5c0dbdc2d03d0cb7fa1da586223b3e6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (17 matched lines \u00D7 2 locations): scripts/seed-test.ts:46 \u00B7 scripts/staging-seed/import-test-snapshot.ts:36 \u2014 the two spans are one implementation copied and then locally edited \u2014 115 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/seed-test.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6d4e68754f4ec382e720d3f254c7174de6f840e9b8ac08290d5e72d9a977cf4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): scripts/staging-seed/snapshotPolicy.ts:208 \u00B7 scripts/staging-seed/snapshotPolicy.ts:229 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/staging-seed/snapshotPolicy.ts"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b05e5bf5ed14d2c87b822da2da974b241dcae7df375370ae27c24cadf0ff3d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): server/skillsShCatalogSource.ts:1492 \u00B7 server/skillsShCatalogSource.ts:1897 \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":"server/skillsShCatalogSource.ts"},"region":{"startLine":1492}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e145a1a51a07b5a40a8c26a6c0febf7f9ae6674fc37809e5f09eabb66430a9d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/components/BrowseControls.tsx:62 \u00B7 src/components/BrowseControls.tsx:90 \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/BrowseControls.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd1fd6aef7aa7d720b10a453f549542505316a2516ec2a3c2f1bace033575d0c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/components/BrowseControls.tsx:120 \u00B7 src/components/BrowseControls.tsx:426 \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/BrowseControls.tsx"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c6d4a78792ca1d3fcd9d48b12b78a59ebae100147012c63fac27700eae392ee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/components/SkillOwnershipPanel.tsx:146 \u00B7 src/components/SkillOwnershipPanel.tsx:174 \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/SkillOwnershipPanel.tsx"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"d01d61c56c8dabe7b4a963f5458385fa876915cd0bb05354a8188aa8770791ba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/routes/-management/DuplicatesPage.tsx:49 \u00B7 src/routes/-management/DuplicatesPage.tsx:78 \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/routes/-management/DuplicatesPage.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"30f50ff3c69835058e52475a2d552d04b458ac9cbe720677efdee15d61f402d0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): convex/devSeed.ts:2048 \u00B7 convex/devSeedExtra.ts:522 \u2014 the two spans are one implementation copied and then locally edited \u2014 116 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":"convex/devSeed.ts"},"region":{"startLine":2048}}}],"partialFingerprints":{"codehealthFindingId/v1":"02ea018504f827e5870ecab33f55fe1d3c951002f925cbcba634aaf8279f5130"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): convex/functions.ts:161 \u00B7 convex/functions.ts:188 \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":"convex/functions.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"be52f9a644e3e45f36c418c2ad36a70f46d2c7739c054d195de744033c17ba06"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): convex/httpApiV1/packagesV1.ts:1392 \u00B7 convex/lib/pluginBrowseRead.ts:64 \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":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":1392}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fedb19b8fd1c20d1adb6f650753a13d0d3b277d168d831f042a2965368fc6a5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): convex/httpApiV1/skillsShCatalogV1.ts:715 \u00B7 convex/httpApiV1/skillsShCatalogV1.ts:1041 \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":"convex/httpApiV1/skillsShCatalogV1.ts"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"465906e78483add09163d6e8d9a5ff4a5bd70013da428fe46baea0e797724ba3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): convex/httpApiV1/skillsV1.ts:2196 \u00B7 convex/httpApiV1/skillsV1.ts:2434 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":2196}}}],"partialFingerprints":{"codehealthFindingId/v1":"a82ebd771887b2de61ddbb77282badd04e65f6d8631ba6c238cc7c22d0fd9b89"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): convex/httpApiV1/skillsV1.ts:2861 \u00B7 convex/httpApiV1/skillsV1.ts:2891 \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":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":2861}}}],"partialFingerprints":{"codehealthFindingId/v1":"3faea4a4a7da16276918c63511823a93a35c1af82d9f1cf4be2f718740ad89aa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): convex/httpApiV1/usersV1.ts:260 \u00B7 convex/httpApiV1/usersV1.ts:511 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/usersV1.ts"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"0597a075b2fa1c5ccaf771a2a7a2a744d24d7aada754632209c7b9e0ecb45249"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): convex/maintenance.ts:1940 \u00B7 convex/maintenance.ts:2177 \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":"convex/maintenance.ts"},"region":{"startLine":1940}}}],"partialFingerprints":{"codehealthFindingId/v1":"f654a2d71dbf2f40f0fa5883db6bdbcb076e3b0908cfc1d677b323da33ab6bb8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): convex/migrations.ts:1595 \u00B7 convex/migrations.ts:1792 \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":"convex/migrations.ts"},"region":{"startLine":1595}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fae1b618914f8af9a60f6cbbd53aa71840f459d07093f701a19bd7a2c8eb116"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): convex/packages.ts:3025 \u00B7 convex/packages.ts:3731 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/packages.ts"},"region":{"startLine":3025}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdd23a69da68d66814c05a2258c5d511aaf4987026f3a85169a8dd1629c188e2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): convex/publisherAbuse.ts:529 \u00B7 convex/publisherAbuse.ts:575 \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":"convex/publisherAbuse.ts"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"653ea072138ecd77772bf792c115b414e3da9b8cb4732a34c0c480bdb550368b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): convex/publishers.ts:3622 \u00B7 convex/publishers.ts:3721 \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":"convex/publishers.ts"},"region":{"startLine":3622}}}],"partialFingerprints":{"codehealthFindingId/v1":"70cc91276b036ff6e01bf2fcba6d3d255041d81b85615709dde5329d319455c0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): convex/securityDataset.ts:144 \u00B7 convex/securityDataset.ts:161 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/securityDataset.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"9844574df7225993aeb6fac2767d70df663b45a864453ce6ccff8cd1cfc087f2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): convex/securityScan.ts:2603 \u00B7 convex/securityScan.ts:2689 \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":"convex/securityScan.ts"},"region":{"startLine":2603}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaa29f546174f7ee0111b47e405bad27bc49fc6b7179cf9ecbf3a0fe39a2e0a4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): convex/skills.ts:387 \u00B7 convex/skills.ts:6991 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skills.ts"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7e95f484e55b43dee3d84b32e6d8d4f548543bc20000fb40e1e39db9dbc433a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): convex/skills.ts:7518 \u00B7 convex/skills.ts:7685 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skills.ts"},"region":{"startLine":7518}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec6b432b09b8b5635e505b868a559b10178362013b7d4f16b114a8ef98a13d3f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): convex/skills.ts:8005 \u00B7 convex/skills.ts:8156 \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":"convex/skills.ts"},"region":{"startLine":8005}}}],"partialFingerprints":{"codehealthFindingId/v1":"05e381c39f8f34ce539a157678879970eee58f025deacf6977796edf10d2c522"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/clawhub-admin/src/cli.ts:781 \u00B7 packages/clawhub-admin/src/cli.ts:907 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/cli.ts"},"region":{"startLine":781}}}],"partialFingerprints":{"codehealthFindingId/v1":"f62304cd794d6eb2287e79ffd35328b8c5a568f893d247a3d0957caeedb2e3ef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3 locations): packages/clawhub-admin/src/commands/packages.ts:480 \u00B7 packages/clawhub-admin/src/commands/packages.ts:532 \u00B7 packages/clawhub-admin/src/commands/packages.ts:689 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/packages.ts"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5532caf90f68814954f55555b1f256782fcf1b450aa1d079efddc763544a0d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/clawhub/src/cli/commands/delete.ts:60 \u00B7 packages/clawhub/src/cli/commands/delete.ts:105 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/delete.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"7461c8cf4b3bd61368bfd9468ac34b15e0465e99468a2f59274c98d42898a303"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/clawhub/src/cli/commands/inspect.ts:207 \u00B7 packages/clawhub/src/cli/commands/packages.ts:434 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/inspect.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"1138785d5229f726b51beb716993b11e8ecfa83a616b5584c657dfe0e340ec27"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/clawhub/src/cli/commands/packages.ts:592 \u00B7 packages/clawhub/src/cli/commands/packages.ts:667 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/packages.ts"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"4601b0307e84e570d0b1198ef06dc39b2c237a1b2a5d2a507d4b346ce4849235"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/clawhub/src/cli/commands/packages.ts:2004 \u00B7 packages/clawhub/src/cli/commands/packages.ts:2033 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/packages.ts"},"region":{"startLine":2004}}}],"partialFingerprints":{"codehealthFindingId/v1":"5000011250542a4c26f8ed10b021a31d58430aaecaea59b8ccd2be6bb1a44604"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/schema/src/packageShared.ts:433 \u00B7 packages/schema/src/schemaShared.ts:388 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/packageShared.ts"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"607757594312eada549b3e02e724a1deb01d7c3d570a70da4a14bab71595ceed"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/schema/src/schemas.ts:60 \u00B7 packages/schema/src/schemas.ts:92 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/schemas.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d4c042ae464e63a70c733e8b82dc15ae4eeda7d548a864508a44533f3713ffd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): src/components/PluginPublishSubmittedDialog.tsx:74 \u00B7 src/components/SkillPublishSuccessDialog.tsx:127 \u2014 the two spans are one implementation copied and then locally edited \u2014 72 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/PluginPublishSubmittedDialog.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"29cea942eab77af06d7931a1ca9e5e764a50253fd5e979636362acbc28474554"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/routes/-management/AbusePage.tsx:1663 \u00B7 src/routes/-management/AbusePage.tsx:1722 \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/routes/-management/AbusePage.tsx"},"region":{"startLine":1663}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e7661feece59281a3784d82e7921305006b46049d95b67c88a9a8cbf9fd40b7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): src/routes/-management/DuplicatesPage.tsx:12 \u00B7 src/routes/-management/RecentPushesPage.tsx:12 \u2014 the two spans are one implementation copied and then locally edited \u2014 83 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/routes/-management/DuplicatesPage.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0ad00ad625306dd455494a48d119971f4c43875307f7a7dec7f5a87d467d44d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/routes/stars.tsx:191 \u00B7 src/routes/stars.tsx:214 \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/routes/stars.tsx"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"a31d4b56ed6ce4fb0ed71e2179fce20b6cb4d4be0ee1cadfdc17f59efe9c48e0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): convex/functions.ts:252 \u00B7 convex/functions.ts:270 \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":"convex/functions.ts"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"850d002827e122382a6307178231325592ba99b9fcb57bf7928a973b23c634fb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3 locations): convex/httpApiV1/packagesV1.ts:2632 \u00B7 convex/httpApiV1/skillsV1.ts:535 \u00B7 convex/httpApiV1/skillsV1.ts:3120 \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":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":2632}}}],"partialFingerprints":{"codehealthFindingId/v1":"caa18bb9e6f51f3e8984d9d94efa39738d244fad10aa45646feb6793b0bd9cf9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4 locations): convex/httpApiV1/packagesV1.ts:3817 \u00B7 convex/httpApiV1/packagesV1.ts:3841 \u00B7 convex/httpApiV1/packagesV1.ts:3861 \u00B7 convex/httpApiV1/packagesV1.ts:3881 \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":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":3817}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd5fe5dc78f0f07414edfcdb7a1bbdc6a16dcc994fd6535fb951c640e4bcddeb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3 locations): convex/httpApiV1/skillsShCatalogV1.ts:855 \u00B7 convex/httpApiV1/skillsShCatalogV1.ts:874 \u00B7 convex/httpApiV1/skillsShCatalogV1.ts:894 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/skillsShCatalogV1.ts"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a470f26495f68a5590f8707649d47ce8bcf8b54f3850b70b0d54026662834dd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): convex/httpApiV1/usersV1.ts:170 \u00B7 convex/httpApiV1/usersV1.ts:187 \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":"convex/httpApiV1/usersV1.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c0cda5b5b165158c8cb4b082cadcb629064e9b3bc4d44537831bb754dd3fef9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): convex/lib/artifactModeration.ts:86 \u00B7 convex/lib/artifactModeration.ts:102 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/artifactModeration.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"2472238e92968ed91b08f8cd8fd51aff604de20d64d495430de4bee88d8d47be"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): convex/lib/openClawPublishAuthorization.ts:733 \u00B7 convex/lib/openClawPublishAuthorization.ts:750 \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":"convex/lib/openClawPublishAuthorization.ts"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1c63031d39d1e403f659d9c73b15308aec09a72e5b702ee858d1c2f8b335d4f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): convex/lib/publisherStats.ts:134 \u00B7 convex/publishers.ts:369 \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":"convex/lib/publisherStats.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b97550ba65f53dc13a68d0b82bc2596ca38ced237be469202a88a6c3e78f158"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): convex/lib/skills/slugResolution.ts:131 \u00B7 convex/lib/skills/slugResolution.ts:160 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/skills/slugResolution.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"d859f13e77393dfc25e92350bc0aa5d5a54fbb34fa6a8afa3430eb5e5e1cd2cf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3 locations): convex/maintenance.ts:1963 \u00B7 convex/maintenance.ts:2199 \u00B7 convex/maintenance.ts:2302 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/maintenance.ts"},"region":{"startLine":1963}}}],"partialFingerprints":{"codehealthFindingId/v1":"20349ccdfe2f94d0835277d7c56da1513c5c209fd8b05c08d0854ef637a5e48f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3 locations): convex/maintenance.ts:2015 \u00B7 convex/maintenance.ts:2237 \u00B7 convex/maintenance.ts:2377 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/maintenance.ts"},"region":{"startLine":2015}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a15b4b320a8e46afa4ee07a666eb4fdbd48095a5fbd1a1cb2447e66e385a4ad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): convex/managedMcpTestFixtures.ts:28 \u00B7 convex/publishers.ts:2049 \u2014 the two spans are one implementation copied and then locally edited \u2014 65 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":"convex/managedMcpTestFixtures.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"cce255a4aa5d6433dc882aaf80ff39acc1978409a9ef0aecc5031c2e7f711c0a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): convex/migrations.ts:1423 \u00B7 convex/migrations.ts:1491 \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":"convex/migrations.ts"},"region":{"startLine":1423}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c7b6adc0861980f816137d4ce603174cd2a32f8dfb9e061d725f43565a0199c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): convex/migrations.ts:1723 \u00B7 convex/migrations.ts:1768 \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":"convex/migrations.ts"},"region":{"startLine":1723}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b064b5b0997f0e595212dbff538c056a13c3e5865e95adaa0eaf5a990dc0b31"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): convex/packages.ts:2259 \u00B7 convex/packages.ts:2318 \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":"convex/packages.ts"},"region":{"startLine":2259}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ab9397a826082b14dd70437b53459f6a6e187db353d24cad28f05ce8577c0da"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): convex/packages.ts:2703 \u00B7 convex/skills.ts:6763 \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":"convex/packages.ts"},"region":{"startLine":2703}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecd9d7200aa7e7457940911bd634f909f8561589418d74ad51d340fcb4472515"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): convex/packages.ts:4732 \u00B7 convex/packages.ts:4764 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/packages.ts"},"region":{"startLine":4732}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8e392435434122463955ddd19d92aab32eae4e6edfb210b7cc458f9e0e44586"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): convex/packages.ts:5105 \u00B7 convex/skillStatEvents.ts:915 \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":"convex/packages.ts"},"region":{"startLine":5105}}}],"partialFingerprints":{"codehealthFindingId/v1":"a55b1362dc7befc91ef40dd11d169541a04af98f85ff02014c2ce222b30e12ee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): convex/packages.ts:7145 \u00B7 convex/skills.ts:3990 \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":"convex/packages.ts"},"region":{"startLine":7145}}}],"partialFingerprints":{"codehealthFindingId/v1":"90a42aff6efc9bda3918a6bf96fd66408c81c9d746b818bbb5c0b7548e22f7d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): convex/packages.ts:7295 \u00B7 convex/skills.ts:4231 \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":"convex/packages.ts"},"region":{"startLine":7295}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb37df3bbc81841eda504c80b415ac0c6b59372ffb0b02da37278822a27251e1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): convex/packages.ts:11230 \u00B7 convex/schema.ts:1679 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/packages.ts"},"region":{"startLine":11230}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec48917c1b27620ebcfb4ffd3d754b0de7cbd7d3a1067a6f58799b8badf4b627"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): convex/packages.ts:11979 \u00B7 convex/securityScan.ts:3540 \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":"convex/packages.ts"},"region":{"startLine":11979}}}],"partialFingerprints":{"codehealthFindingId/v1":"901fd5ac5f63d88cfd9cbbe5f4787954cbe279434a639ab46cd17debf51ee229"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): convex/publishAttempts.ts:1270 \u00B7 convex/publishAttempts.ts:1288 \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":"convex/publishAttempts.ts"},"region":{"startLine":1270}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e5a4f145516203c6b38d6285a4fa5a3fb202cc3ff8e4dbb18e05b3f429ad61f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): convex/publisherAbuse.ts:829 \u00B7 convex/publisherAbuse.ts:873 \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":"convex/publisherAbuse.ts"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3dab191ef5402b0904687e29d2abd4b4e10b89f2e035b443100a950836fd40b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): convex/publisherAbuse.ts:1592 \u00B7 convex/publisherAbuse.ts:1665 \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":"convex/publisherAbuse.ts"},"region":{"startLine":1592}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ef9a45cc76253b34984a0973ed25ad32ab4d9fc99f2ef865a73f805b297637c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): convex/publishers.ts:395 \u00B7 convex/users.ts:1458 \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":"convex/publishers.ts"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d12d536a035ecba2b2f66eec9f29893a3cf60c9f42e219b56b11b14fa3ea83f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): convex/publishers.ts:879 \u00B7 convex/publishers.ts:895 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/publishers.ts"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab40840d1df33cc76c2174f4f2ebb4628481b7f08adb90efe86df331fb76ddf6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): convex/publishers.ts:4158 \u00B7 convex/publishers.ts:4189 \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":"convex/publishers.ts"},"region":{"startLine":4158}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d97770d7da1944ffc08b277cad6e0470c964e8b3346f007fd3d5c59f3b900f9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): convex/publishers.ts:3278 \u00B7 convex/skillPublishUploads.ts:89 \u2014 the two spans are one implementation copied and then locally edited \u2014 67 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":"convex/publishers.ts"},"region":{"startLine":3278}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0aca322e580a7f40987b4cf214fbaf228524cd5bc7f75d7a5b6c81900aaced1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): convex/schema.ts:1357 \u00B7 convex/schema.ts:1424 \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":"convex/schema.ts"},"region":{"startLine":1357}}}],"partialFingerprints":{"codehealthFindingId/v1":"2115a34edec9f99a3d0e5a4e81de31c5f4babadc9809c6767ea5125c5406f796"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): convex/skillsShMirror.ts:941 \u00B7 convex/skillsShMirror.ts:1229 \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":"convex/skillsShMirror.ts"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"d97f619259f182d616471bdc9163fbdf599aef7dae9d0c5fb9fd8afbe01a7cb1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): convex/skillsShMirror.ts:2046 \u00B7 convex/skillsShMirror.ts:2062 \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":"convex/skillsShMirror.ts"},"region":{"startLine":2046}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c1de890db789569daccabec1555d2a2fda4da6d93b5e3334905a4e49ebb942"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): convex/skillsShMirror.ts:2299 \u00B7 convex/skillsShMirror.ts:2320 \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":"convex/skillsShMirror.ts"},"region":{"startLine":2299}}}],"partialFingerprints":{"codehealthFindingId/v1":"8086b31369a3ea6757f4698b68b7600e7e29c62f4209d31170b14f55f194f7e6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): convex/statsMaintenance.ts:314 \u00B7 convex/statsMaintenance.ts:330 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/statsMaintenance.ts"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"47eca3eed3a5de8ea26f9ccad84ab77c15c53a2858f1a3d1add6ef08479218b0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): convex/users.ts:1960 \u00B7 convex/users.ts:2046 \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":"convex/users.ts"},"region":{"startLine":1960}}}],"partialFingerprints":{"codehealthFindingId/v1":"98688ad73c0cc2b05bd7788eb35d455a967c35542eb36ace3ff0183dbe8ec221"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): packages/clawhub-admin/src/cli.ts:129 \u00B7 packages/clawhub-admin/src/cli.ts:163 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/cli.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"e09deff025604fe9ab65efa20c2e894c0667889ad740ad12d3bd453158b167d9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): packages/clawhub/src/cli/commands/sync.ts:287 \u00B7 packages/clawhub/src/cli/commands/sync.ts:318 \u2014 the two spans are one implementation copied and then locally edited \u2014 70 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/sync.ts"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"73a976ad5d4c3c9299e278b3c1c25a71a14a8d70ab407e6d62ee94247c41e7c7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): packages/clawhub/src/http.ts:642 \u00B7 src/lib/packageApi.ts:254 \u2014 the two spans are one implementation copied and then locally edited \u2014 74 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/http.ts"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a87388e2b9a520d1152ac6ea5bffc64e91a0f2a203e6a744bac336bd31cd629"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): scripts/github/barnacle-auto-response.mjs:816 \u00B7 scripts/github/barnacle-auto-response.mjs:832 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/github/barnacle-auto-response.mjs"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"a81dbada07f8fe999abd90b572c7ab664a0a1d909199fb7dde4bf1466f23be58"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): scripts/security/run-clawscan-diagnostic.ts:390 \u00B7 scripts/security/run-clawscan-original-diagnostic.ts:218 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/security/run-clawscan-diagnostic.ts"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"31e52bd7a08461fc5e52befc89b9ebe4e445accbf2a5df88f1b19d8b1a1f05f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): scripts/security/run-codex-scan-worker.ts:346 \u00B7 scripts/skill-cards/run-skill-card-worker.ts:104 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/security/run-codex-scan-worker.ts"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"786f55eaba5a8846be46efb70a4ef4d3dcbcf283dab930097ed03af71ea3bd81"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): scripts/skills-sh-catalog/prove-trending-test.ts:126 \u00B7 scripts/skills-sh-catalog/prove-trending-test.ts:146 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/skills-sh-catalog/prove-trending-test.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"c32b84dc4ecf59bbbe7056109487e2415dad3097be9fde449a7728180b7207cb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3 locations): src/components/Header.tsx:968 \u00B7 src/components/Header.tsx:992 \u00B7 src/components/Header.tsx:1016 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Header.tsx"},"region":{"startLine":968}}}],"partialFingerprints":{"codehealthFindingId/v1":"79c28b924b1c7044c5094d3219f19f7c61ed85f23390579eb633a79892436748"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/components/HomeAppsSection.tsx:62 \u00B7 src/components/HomeAppsSection.tsx:81 \u2014 both copies are in the same file, so extract the block into one function there 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/HomeAppsSection.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"64d5b58a70a71f9faed125606688028580042aa4eb30a286c3d2773d1c39587b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/components/PluginVersionsPanel.tsx:175 \u00B7 src/components/PluginVersionsPanel.tsx:210 \u2014 both copies are in the same file, so extract the block into one function there 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/PluginVersionsPanel.tsx"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ac1e90c2b5ff89aefe8cc90b8c7e53a386ae3c33dabb9b81dcce22ae623bf1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/components/SkillOwnershipPanel.tsx:358 \u00B7 src/components/SkillOwnershipPanel.tsx:386 \u2014 both copies are in the same file, so extract the block into one function there 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/SkillOwnershipPanel.tsx"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa264cc6a778ead4d83f24def2eb39201fd6d762e3af2eb3b70df5d3fbce174a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/lib/packageApi.ts:551 \u00B7 src/lib/packageApi.ts:573 \u2014 both copies are in the same file, so extract the block into one function there 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/lib/packageApi.ts"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ab9828df10fc96d6d2d4ed814b282949fe01781e08a45933d4f0f5d72507b60"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/routes/-management/AbusePage.tsx:1052 \u00B7 src/routes/-management/AbusePage.tsx:1068 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/-management/AbusePage.tsx"},"region":{"startLine":1052}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa192199734296647f2bd0a220c38790cf0c43538877c6d3af680b23c3e29bb8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): src/routes/-management/PromotionsPage.tsx:218 \u00B7 src/routes/-management/RecentPushesPage.tsx:14 \u2014 the two spans are one implementation copied and then locally edited \u2014 91 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/routes/-management/PromotionsPage.tsx"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dd02428a1a7f7dea968a5cf4aa66f4395326c58443f6fd5424fbb90e5a0271a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/routes/settings.tsx:866 \u00B7 src/routes/settings.tsx:1422 \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/routes/settings.tsx"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"026b6714bbdba38fbc5c1e801af56b19f071fed3f00218309c5ce2d3671c3072"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): convex/devSeed.ts:668 \u00B7 convex/devSeed.ts:702 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/devSeed.ts"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"956979f1a31e406d424c8677c6e3efc023145b07084c2ba60b18ceeaa82e89e3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): convex/devSeed.ts:1187 \u00B7 convex/devSeed.ts:1335 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/devSeed.ts"},"region":{"startLine":1187}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b75e621f2cf6533aab62f40a7b75a60574bf1fd97150d9688f68f2501e54c6c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): convex/devSeed.ts:4310 \u00B7 convex/devSeed.ts:4485 \u00B7 convex/devSeed.ts:4891 \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":"convex/devSeed.ts"},"region":{"startLine":4310}}}],"partialFingerprints":{"codehealthFindingId/v1":"11ff11b804a2e698be9a398e2c9218a7fcad75c1f291aa97bc11ddafb376c643"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): convex/httpApiV1/packagesV1.ts:3101 \u00B7 convex/httpApiV1/packagesV1.ts:3192 \u00B7 convex/httpApiV1/skillsV1.ts:3294 \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":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":3101}}}],"partialFingerprints":{"codehealthFindingId/v1":"343057d3bf1cc8c6e7ef7e21dba3e3447291c2fa15d3cd98931d06cbbb277969"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): convex/httpApiV1/packagesV1.ts:965 \u00B7 convex/lib/packageClawpackPublish.ts:80 \u2014 the two spans are one implementation copied and then locally edited \u2014 63 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":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":965}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed7258ed8829f79f53b5970b5a6e07419413c5e43cfab0debfea4a3894b509c9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): convex/httpApiV1/shared.ts:545 \u00B7 packages/clawhub/src/http.ts:721 \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":"convex/httpApiV1/shared.ts"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3fcb2e57f5d14ed55779b4aea0318cd047b40234f532145570c7d8eee759303"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): convex/httpApiV1/usersV1.ts:517 \u00B7 convex/httpApiV1/usersV1.ts:948 \u00B7 convex/httpApiV1/usersV1.ts:1001 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/usersV1.ts"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"69348e67aa2faf9de56597c07e111b6d6511c4ac46be202cd3ad44a7bb870476"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): convex/httpApiV1/usersV1.ts:599 \u00B7 convex/httpApiV1/usersV1.ts:684 \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":"convex/httpApiV1/usersV1.ts"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"d27a36750f10db86a4738990d422f6eea5e803c49a24ff2646c8d4eb2b2f20aa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): convex/lib/emails.ts:412 \u00B7 convex/lib/emails.ts:463 \u2014 the two spans are one implementation copied and then locally edited \u2014 62 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/emails.ts"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcc27eaf4d0b7d057fe46909f659432b7e33cb8c0bdc9f94250ea683c7a59de6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): convex/lib/publishAttemptOperationalRecovery.ts:43 \u00B7 convex/lib/publishAttemptOperationalRecovery.ts:69 \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":"convex/lib/publishAttemptOperationalRecovery.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd5bac696615d30cf5b205f46f997046ce3d843cd57fec0596c6e3538e97fd40"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): convex/packages.ts:1647 \u00B7 convex/packages.ts:1661 \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":"convex/packages.ts"},"region":{"startLine":1647}}}],"partialFingerprints":{"codehealthFindingId/v1":"6abe03c137e7a34257db3680313d4ca9d5fd6d290e64bce1a0093f0f61c8cdc2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): convex/packages.ts:4483 \u00B7 convex/packages.ts:4512 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/packages.ts"},"region":{"startLine":4483}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfe2519fde51bc8931a38186e905d45d89882a5324650cc9901b874604c1f42f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): convex/packages.ts:5956 \u00B7 convex/packages.ts:6043 \u00B7 convex/packages.ts:6112 \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":"convex/packages.ts"},"region":{"startLine":5956}}}],"partialFingerprints":{"codehealthFindingId/v1":"4604d677e85dd6afc56175a246f0928bf9bf1ffc3bbef956ddc864a91873988e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): convex/packages.ts:6155 \u00B7 convex/skills.ts:7288 \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":"convex/packages.ts"},"region":{"startLine":6155}}}],"partialFingerprints":{"codehealthFindingId/v1":"05e854c2ddf8e59012510264e38b959f7d4c4f55e592dc210cddf2947493527f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): convex/publisherAbuse.ts:790 \u00B7 convex/publisherAbuse.ts:837 \u00B7 convex/publisherAbuse.ts:881 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/publisherAbuse.ts"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"b45cc9ed25378e5f0c850910e114c5709ad4c4e6d756cb5dfcd162b2cbb5015d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): convex/publishers.ts:3196 \u00B7 convex/publishers.ts:3242 \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":"convex/publishers.ts"},"region":{"startLine":3196}}}],"partialFingerprints":{"codehealthFindingId/v1":"24ff2f3ae9295e630996ed9fc0afa973cb42e800a3db40c65db61d48368f698f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): convex/publishers.ts:3563 \u00B7 convex/publishers.ts:4353 \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":"convex/publishers.ts"},"region":{"startLine":3563}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb6d3c6f2e4a45927302d559cb613ca1e45f07a45a1ad4d0acee24ed430f2d16"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): convex/search.ts:1602 \u00B7 convex/search.ts:1657 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/search.ts"},"region":{"startLine":1602}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1f8b52d3e928869e624bbe7cf9d3b5002a4d19d1e19a5a2b38707931fb46f15"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): convex/skillEvaluations.ts:438 \u00B7 convex/skillEvaluations.ts:461 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skillEvaluations.ts"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"142e80f9c5f2c406305eab86951993baf37850bda5494acfd9e239b6ecc303d5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): convex/skillTransfers.ts:461 \u00B7 convex/skillTransfers.ts:479 \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":"convex/skillTransfers.ts"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd20207b243ce4a6e788f7c6a41c3ebb7d67f82908633473c66db1c71a8e271f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): convex/skills.ts:3540 \u00B7 convex/skills.ts:3689 \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":"convex/skills.ts"},"region":{"startLine":3540}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a6664dccace44750b71040bb54f949299b9f06bf7da9f093d98cf9aea7ae78"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 6 locations): convex/skills.ts:7209 \u00B7 convex/skills.ts:7277 \u00B7 convex/skills.ts:7320 \u00B7 convex/skills.ts:7358 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 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":"convex/skills.ts"},"region":{"startLine":7209}}}],"partialFingerprints":{"codehealthFindingId/v1":"1da88e10b786059e817f55e8e7e7c41bd556a6829f1bc531d2b48e166573c81f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): convex/skills.ts:2599 \u00B7 convex/telemetry.ts:36 \u2014 the two spans are one implementation copied and then locally edited \u2014 77 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":"convex/skills.ts"},"region":{"startLine":2599}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c2216d1ab41c0c38276653e662d9fe535af458e359da040cc146facc624b324"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/clawhub/src/cli.ts:362 \u00B7 packages/clawhub/src/cli.ts:386 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli.ts"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7d7a6d1639a94ce664e5b00f87bf6e34f244e72efc2c6af65461f12ff61ba0f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/clawhub/src/cli.ts:568 \u00B7 packages/clawhub/src/cli.ts:583 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli.ts"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"da6d1f4e9e5aa8f72ba7e714ce98bf1c9cb4e3caf750d503043e442e68c139fa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/clawhub/src/cli/commands/inspect.ts:761 \u00B7 packages/clawhub/src/cli/commands/packages.ts:2392 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/inspect.ts"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b872f8a5c04947c83528eaa88c72cc3443d2f43227024cc2480060aeebf556d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/clawhub/src/cli/commands/packages.ts:1721 \u00B7 packages/clawhub/src/cli/commands/packages.ts:1756 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/packages.ts"},"region":{"startLine":1721}}}],"partialFingerprints":{"codehealthFindingId/v1":"bac9b8f289d89a65034e58e73d6e4a608c4de34a3181aaa33ceab3dc8a5ab96c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/clawhub/src/cli/commands/skills.ts:460 \u00B7 packages/clawhub/src/cli/commands/skills.ts:810 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/skills.ts"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"e667878a996be27b79f069c9e2f2524e483a42dcc5507ca40ce68355eb2f3d60"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/schema/src/packageShared.ts:626 \u00B7 packages/schema/src/schemaShared.ts:502 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/packageShared.ts"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"d81f0f7e6f4fe00f1052723f32d86c199b234e26fc65f94327e766f3f641441c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): scripts/github/barnacle-auto-response.mjs:657 \u00B7 scripts/github/barnacle-auto-response.mjs:900 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/github/barnacle-auto-response.mjs"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"1278f8d7e02992ba23939af1ac8f46eb7d7a29e86ad0d86ffce82d4724369b32"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): scripts/security-dataset/export-snapshot.ts:713 \u00B7 scripts/security-dataset/merge-snapshots.ts:302 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/security-dataset/export-snapshot.ts"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"22741a754017507fced7a95fadc3e552475176bcd84fc09a1ab4354d4b889c36"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): server/convexProxy.ts:519 \u00B7 server/convexProxy.ts:570 \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":"server/convexProxy.ts"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"159610fa6984646b7c97be83d38325311b8b8ffdc3f7554ede8433d77d6ca388"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): server/routes/og/plugin.png.ts:96 \u00B7 server/routes/og/profile.png.ts:124 \u00B7 server/routes/og/skill.png.ts:99 \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":"server/routes/og/plugin.png.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f9fdc717fb068b3a76f395e7a6b516b4ce2fde8132354ccef2e619a34ce4c22"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/components/CatalogMetadataEditor.tsx:110 \u00B7 src/components/SkillOwnershipPanel.tsx:90 \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/CatalogMetadataEditor.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"435cc10114d58aca1ebbcc21428ec52c35089f3bf0583c7ad541c47a97e240bc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/components/SkillDetailPage.tsx:681 \u00B7 src/routes/user/$handle.tsx:633 \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/SkillDetailPage.tsx"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f0bf22a8e86d139d52672d96b1376b6ea1ee25cce56caf23b87839d106e16b3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/components/SkillDetailTabs.tsx:254 \u00B7 src/routes/plugins/$name.tsx:391 \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/SkillDetailTabs.tsx"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6d064cb30cb36a8ae65c22b67974bf85419cd1c61bd381b05e1b45a27c220a5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): src/routes/-management/DuplicatesPage.tsx:14 \u00B7 src/routes/-management/PromotionsPage.tsx:218 \u2014 the two spans are one implementation copied and then locally edited \u2014 71 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/routes/-management/DuplicatesPage.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"8125912a82119c19aed96b1558241b6369777255924847310ab26d67ad25bf82"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): convex/canonicalTrending.ts:203 \u00B7 convex/skillsShMirrorVisibility.ts:1092 \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":"convex/canonicalTrending.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec0f969228d3d812c82325da40f4b8e0fec2a2b0d53e9808875fb83afc409793"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): convex/httpApiV1/packagesV1.ts:1195 \u00B7 convex/httpApiV1/packagesV1.ts:3629 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":1195}}}],"partialFingerprints":{"codehealthFindingId/v1":"adada4864dfcc5d87b361f0bdf6269c8fa2bc75b16f2d34d311a2172f7c289a3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): convex/httpApiV1/packagesV1.ts:3514 \u00B7 convex/httpApiV1/skillsV1.ts:1656 \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":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":3514}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda58c2acd3d391fa777a27325dada04261293535448bf5dcb9d649c1f27dc79"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): convex/httpApiV1/packagesV1.ts:3849 \u00B7 convex/httpApiV1/packagesV1.ts:3869 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":3849}}}],"partialFingerprints":{"codehealthFindingId/v1":"abadfd9f75db8675b5e29c217550429acabd5a0daf010dba7fe39bbc4919bbdc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): convex/httpApiV1/skillsShCatalogV1.ts:269 \u00B7 convex/lib/skillEvaluationResult.ts:12 \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":"convex/httpApiV1/skillsShCatalogV1.ts"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ba460da9d99d31ee6adfbf42f8255f04db0e843128254b379aec8f032985443"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4 locations): convex/httpApiV1/skillsV1.ts:1186 \u00B7 convex/httpApiV1/skillsV1.ts:1291 \u00B7 convex/httpApiV1/skillsV1.ts:3096 \u00B7 convex/httpApiV1/skillsV1.ts:3131 \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":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":1186}}}],"partialFingerprints":{"codehealthFindingId/v1":"d706a6db37801e943aaf83379b41146970710cee03f9f124a551302362b66866"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): convex/httpApiV1/skillsV1.ts:1805 \u00B7 convex/httpApiV1/skillsV1.ts:1821 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":1805}}}],"partialFingerprints":{"codehealthFindingId/v1":"624b2c691137ec055fd62914a6be897ebb917d00dfb6c3bc7b1bd6ca110c50dd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): convex/lib/changelog.ts:198 \u00B7 convex/lib/changelog.ts:241 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/changelog.ts"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c224e1cd20850ec1193cca204d13e7fbb32b401bb6a0807e72c000dad81970f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): convex/lib/pluginCategoryClassification.ts:144 \u00B7 convex/lib/templateCategoryClassification.ts:25 \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":"convex/lib/pluginCategoryClassification.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c19e350e2abf1b94ed68cfebe00a43faa72980ae512b847763c0e89d2a6ffee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): convex/lib/publisherAbuseScoring.ts:296 \u00B7 convex/lib/publisherAbuseScoring.ts:457 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/publisherAbuseScoring.ts"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"1715024ea1b59e2748abf0f2a3c152962e56b20ce6167ac5e61a3e54ba0e1a4e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): convex/lib/skillPresentationValidator.ts:6 \u00B7 convex/skillPresentationBackfill.ts:173 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/skillPresentationValidator.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7a0265352b0e4b3a79ad98336380c515e91e77bf24a0a332963583578b12abf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): convex/maintenance.ts:2745 \u00B7 convex/maintenance.ts:2889 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/maintenance.ts"},"region":{"startLine":2745}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b6a1197b37da85b55158d97ea4f5c054812c597974c5788bba6cb9caa28c860"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): convex/packages.ts:5744 \u00B7 convex/packages.ts:11768 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/packages.ts"},"region":{"startLine":5744}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e9ad233bd0afb64846247838ccf3ab54114222cadc74a95838bf6919d3f32c2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): convex/packages.ts:9392 \u00B7 convex/packages.ts:11379 \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":"convex/packages.ts"},"region":{"startLine":9392}}}],"partialFingerprints":{"codehealthFindingId/v1":"402db6bfc8733ee0eb1ea4d065401ff02e4792f9ebb73628e19018ea96792815"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): convex/packages.ts:12065 \u00B7 convex/packages.ts:12212 \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":"convex/packages.ts"},"region":{"startLine":12065}}}],"partialFingerprints":{"codehealthFindingId/v1":"f592c286de816ec05ba0a7cd6b1ed077603fe6bc179de285a8220f01cdac5147"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): convex/publisherAbuse.ts:279 \u00B7 convex/publisherAbuse.ts:335 \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":"convex/publisherAbuse.ts"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca06b9f70c9ae15b85d7314c0e1876eff94871055c76d8f9a42c02235f64b7b0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4 locations): convex/publisherAbuseDevSeed.ts:846 \u00B7 convex/publisherAbuseDevSeed.ts:860 \u00B7 convex/publisherAbuseDevSeed.ts:874 \u00B7 convex/publisherAbuseDevSeed.ts:888 \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":"convex/publisherAbuseDevSeed.ts"},"region":{"startLine":846}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e10572bdf7312c0d29026fd276b2e596df276786e97e6930a1f8448fb59c17e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4 locations): convex/publisherAbuseTemporalScan.ts:257 \u00B7 convex/publisherAbuseTemporalScan.ts:418 \u00B7 convex/publisherAbuseTemporalScan.ts:571 \u00B7 convex/publisherAbuseTemporalScan.ts:616 \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":"convex/publisherAbuseTemporalScan.ts"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"32721178266ac80bd03ecb9981708b12a9a33960f609e387aebe52a28bbdb6c7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): convex/publishers.ts:2820 \u00B7 convex/publishers.ts:2879 \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":"convex/publishers.ts"},"region":{"startLine":2820}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ec994e926dd4a0ad30ab485cfbbb78b51247031f408ad96b13c5bc0d055e6df"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): convex/publishers.ts:3521 \u00B7 convex/publishers.ts:3842 \u00B7 convex/publishers.ts:3915 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/publishers.ts"},"region":{"startLine":3521}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9bce4bd3c8f48159d293fd33d937c5aebd953a64a3f9347947ad7ab6fd48abe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): convex/schema.ts:2570 \u00B7 convex/schema.ts:2616 \u2014 all 2 copies are in the same file, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/schema.ts"},"region":{"startLine":2570}}}],"partialFingerprints":{"codehealthFindingId/v1":"8937bb50b7383456c3734d790452ccc660ae0970adb88b8b1aaa9ca323c39a70"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): convex/schema.ts:2945 \u00B7 convex/skillsShCatalog.ts:366 \u2014 the 2 copies are spread across 2 files, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/schema.ts"},"region":{"startLine":2945}}}],"partialFingerprints":{"codehealthFindingId/v1":"85ad7d36717786305ac53bc3657c942d40a95ae87fd1127728df5f4216b89e71"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): convex/securityScan.ts:856 \u00B7 convex/securityScan.ts:1804 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/securityScan.ts"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"1306f33d94a2c5a59628adb1d839a394813322ae0c84eb7a7b0d271921f2db23"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): convex/securityScan.ts:3800 \u00B7 convex/securityScan.ts:3831 \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":"convex/securityScan.ts"},"region":{"startLine":3800}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9eea334d106f16a1c11288e8828751dc5f116d791d9a819d33be3b2a7d3ee41"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4 locations): convex/skills.ts:4860 \u00B7 convex/skills.ts:5071 \u00B7 convex/skills.ts:6345 \u00B7 convex/skills.ts:6471 \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":"convex/skills.ts"},"region":{"startLine":4860}}}],"partialFingerprints":{"codehealthFindingId/v1":"b93ee20d695b7c89bfba49d8439702568aa26d48b7b547a0dfe3660d081c67e4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): convex/skills.ts:6112 \u00B7 convex/skills.ts:6128 \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":"convex/skills.ts"},"region":{"startLine":6112}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce467bbc6d26c5c3592e2c0fa8cb234a7370ff0ed1edaf24710ccf26f934f4ff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): convex/skills.ts:6309 \u00B7 convex/skills.ts:6439 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skills.ts"},"region":{"startLine":6309}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ba1e28448920444a9ca634011d7a034eb7fb1008e09aa09d8412cb77a16bff3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): convex/skills.ts:6408 \u00B7 convex/skills.ts:6498 \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":"convex/skills.ts"},"region":{"startLine":6408}}}],"partialFingerprints":{"codehealthFindingId/v1":"934699b412f8f33b7889e2edbaf5c2f0d479f70e6c024cabbc4681c374e61d34"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): convex/skills.ts:7566 \u00B7 convex/skills.ts:7580 \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":"convex/skills.ts"},"region":{"startLine":7566}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7a22df9ef46c16e06df6eb6fc7f999f63e901bfc9b1708553b040d2b541b7b6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): convex/skills.ts:11049 \u00B7 convex/skills.ts:11336 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skills.ts"},"region":{"startLine":11049}}}],"partialFingerprints":{"codehealthFindingId/v1":"28de3dd277b09a40e814a54fa4bc4ed7506e6ecfa46e81366d0631a44e768029"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): convex/skills.ts:11371 \u00B7 convex/skills.ts:11435 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skills.ts"},"region":{"startLine":11371}}}],"partialFingerprints":{"codehealthFindingId/v1":"16b374ea487445f747da4b41da745fd9db442d3caa3c3e413235c26891ecbb4d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): convex/skillsShCatalog.ts:2321 \u00B7 convex/skillsShMirror.ts:2285 \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":"convex/skillsShCatalog.ts"},"region":{"startLine":2321}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcdd545ef6f48950b23a0b608816d7206b2c560f1b2ddbe5d68f4666835b324e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): convex/statsMaintenance.ts:27 \u00B7 convex/statsMaintenance.ts:194 \u00B7 convex/statsMaintenance.ts:236 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/statsMaintenance.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"78749c746e8265e0c4a8c508161ce08625fb472f02080e911918f7dfede8eac5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): convex/telemetry.ts:277 \u00B7 convex/telemetry.ts:298 \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":"convex/telemetry.ts"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"1982c69ae764a02d741098f3f6731c92d26b57cd594fbbd6cfa87cffadb39804"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): convex/tokens.ts:48 \u00B7 convex/tokens.ts:74 \u2014 the two spans are one implementation copied and then locally edited \u2014 79 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/tokens.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1cb62fef602f8e8c15d6043755a322e871be3e9b014534da2a5b34f25e54eac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): convex/users.ts:2010 \u00B7 convex/users.ts:2136 \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":"convex/users.ts"},"region":{"startLine":2010}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cde060bf76b681a0dfab85fc69d9e39c3f0d826d8689f72166df955ad3ba1ae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): convex/users.ts:2055 \u00B7 convex/users.ts:2164 \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":"convex/users.ts"},"region":{"startLine":2055}}}],"partialFingerprints":{"codehealthFindingId/v1":"f97e809d8bb92182bfae885253473184e244dba1bddf40913839904ccdee8142"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/clawhub-admin/src/commands/packages.ts:353 \u00B7 packages/clawhub-admin/src/commands/packages.ts:619 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/packages.ts"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e4591b2e2639d4e74dc44726974807eb02d3a779e82474ce6513f6e2403b636"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/clawhub/src/cli/commands/inspect.ts:353 \u00B7 packages/clawhub/src/cli/commands/skills.ts:1537 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/inspect.ts"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"beb20e6d9f9cd561fdd74fba2a97c1a8f8b2e48e60cda8b173cb16f10f8ac9cc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/clawhub/src/cli/commands/packages.ts:372 \u00B7 packages/clawhub/src/cli/commands/skills.ts:1246 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/packages.ts"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b5ad0952589a3d5e1257ba57cc2b3fd5c884e9a62d606338618863ffa4cf982"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/clawhub/src/cli/commands/publish.ts:331 \u00B7 packages/clawhub/src/cli/commands/skills.ts:1427 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/publish.ts"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"935548295c3859916e692c352475ac3ee23b75af3f8a14ddcf8e670caf42f3a8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/schema/src/packageShared.ts:310 \u00B7 packages/schema/src/schemaShared.ts:707 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/packageShared.ts"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"70c8a731a8848221f8ab4ea516aa3e5a965157d5f60bb60fe00558868958099d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4 locations): packages/schema/src/packageShared.ts:398 \u00B7 packages/schema/src/packageShared.ts:922 \u00B7 packages/schema/src/schemaShared.ts:371 \u00B7 packages/schema/src/schemaShared.ts:537 \u2014 the 4 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/packageShared.ts"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f36c92c41971dceafb796e9d5b0b431e750a9029faebd87f434ca3236b6d71a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): packages/schema/src/packageShared.ts:643 \u00B7 packages/schema/src/packageShared.ts:666 \u00B7 packages/schema/src/schemas.ts:175 \u2014 the 3 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/packageShared.ts"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2574242eb5d3bc6095db731ad77e3000636c82e1da39059bf4096a40accba05"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/schema/src/schemaShared.ts:105 \u00B7 packages/schema/src/schemaShared.ts:762 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/schemaShared.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a16de04eeed46b616ee689597db07b63e389f791812465dfcf1e5553f8f73e8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/schema/src/schemaShared.ts:601 \u00B7 packages/schema/src/schemaShared.ts:625 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/schemaShared.ts"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"10332af18149c3ff5f137bd6c9b87fcc079ea909d4cf0988808a9fa967da6334"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): scripts/design-audit/report.ts:150 \u00B7 scripts/design-audit/report.ts:183 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/design-audit/report.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"64c779790c26551d2c1cc664747f6317ba95945884c195b8b80b0c08831f845d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): scripts/package-inspector-nightly-scan.ts:239 \u00B7 scripts/package-inspector-nightly-scan.ts:266 \u2014 the two spans are one implementation copied and then locally edited \u2014 71 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/package-inspector-nightly-scan.ts"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"04871dd2ff91e38c7f99179e5172673fa294e998e203634be7144146a183b31f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): scripts/public-corpus/seed-public-corpus.ts:335 \u00B7 scripts/security-dataset/export-snapshot.ts:1006 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/public-corpus/seed-public-corpus.ts"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"32d7f36f73def640ebabd3bf338f16ef50a50e2a26262f16f8256f27595a3864"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): scripts/security-dataset/normalize.ts:592 \u00B7 scripts/security-dataset/normalize.ts:605 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/security-dataset/normalize.ts"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d331a28494c482f7c603fcc7423b03caf49fa6edadd515e89973ee13b356413"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): scripts/security/run-prepublication-worker.ts:1221 \u00B7 scripts/security/run-prepublication-worker.ts:1234 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/security/run-prepublication-worker.ts"},"region":{"startLine":1221}}}],"partialFingerprints":{"codehealthFindingId/v1":"59fed6c1b78caaa6add36002465c0e90cbd08e17a9aec0d34f3b1bc44dd8c6d9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/components/BrandIcons.tsx:18 \u00B7 src/routes/import.tsx:1625 \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/BrandIcons.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7272d1075656f3f70aadee6e4a2e89365b73a3a7da94b1ddc63c925afd166be"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/components/Footer.tsx:18 \u00B7 src/components/HomeBringSkillsSection.tsx:8 \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/Footer.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"81e343bca064efadfe28418212288d745cc7ae217be55748798a6d3d770a0eda"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/components/Footer.tsx:145 \u00B7 src/components/HomeBringSkillsSection.tsx:164 \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/Footer.tsx"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b8891f5c74840ba375b21d0186229086fec4357ab0a131be091a9b9add67fb9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/components/PromotionsBar.tsx:175 \u00B7 src/routes/user/$handle.tsx:1079 \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/PromotionsBar.tsx"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"3815ab239c492a559c332f2ad2264a97d921addcb161e3e4eb6e1a509cd4e25a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): src/components/ui/dialog.tsx:27 \u00B7 src/components/ui/label.tsx:8 \u00B7 src/components/ui/sheet.tsx:14 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ui/dialog.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"f54adb7f7f95ebdc8b0a3ae42d3fced46fc026eee5f79c589669eb436e5d8e75"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/components/ui/select.tsx:40 \u00B7 src/components/ui/select.tsx:54 \u2014 both copies are in the same file, so extract the block into one function there 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/ui/select.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"644ba21dc94ee5d2009e27af0a971daec195635adae5a06618b219d2c793ac86"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/lib/homeListingData.ts:172 \u00B7 src/lib/homeListingData.ts:249 \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/lib/homeListingData.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c6bbb9d21599f8bc79207c8a9840068ac3777d713fcff46a292bc405de0e881"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/routes/$owner/skills/$slug/security-audit.tsx:9 \u00B7 src/routes/$owner/skills/$slug/settings.tsx:9 \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/routes/$owner/skills/$slug/security-audit.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"aded2c382715aec8026f71931ec68dab81016effe451977f3d84c7605bbdd140"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/routes/dashboard.tsx:302 \u00B7 src/routes/dashboard.tsx:316 \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/routes/dashboard.tsx"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"debe070ad941902dd9a131a866a8812aa848ddc203338ebbabab5ee858cc99ce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/routes/settings.tsx:1543 \u00B7 src/routes/settings.tsx:1845 \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/routes/settings.tsx"},"region":{"startLine":1543}}}],"partialFingerprints":{"codehealthFindingId/v1":"829dd984a091c2a6ed5fc26fbd0bb2445bc821b4aa6d5deeab4730758de364e5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): convex/devSeed.ts:4150 \u00B7 convex/devSeed.ts:4869 \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":"convex/devSeed.ts"},"region":{"startLine":4150}}}],"partialFingerprints":{"codehealthFindingId/v1":"22309449b6064437ebd2b22b21d1cf925a8856de7e96f1d3654dae8e163bcbc2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): convex/devSeed.ts:1665 \u00B7 convex/managedMcpTestFixtures.ts:42 \u2014 the two spans are one implementation copied and then locally edited \u2014 71 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":"convex/devSeed.ts"},"region":{"startLine":1665}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7c5159086db722cbd8d6174bc265dc9c24ce4a20b2349b9f4d59fa0c81c1b15"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): convex/githubSkillSync.ts:3055 \u00B7 convex/httpApiV1/shared.ts:419 \u2014 the two spans are one implementation copied and then locally edited \u2014 58 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":"convex/githubSkillSync.ts"},"region":{"startLine":3055}}}],"partialFingerprints":{"codehealthFindingId/v1":"707d1c41baea73f10d9f5c172815d4beca8ece6e4c5ae0f44e506c213b1c3fb6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): convex/httpApiV1/skillsShCatalogV1.ts:595 \u00B7 convex/skillsShCatalog.ts:2894 \u2014 the two spans are one implementation copied and then locally edited \u2014 81 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":"convex/httpApiV1/skillsShCatalogV1.ts"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d3b96f74ec55701edc5b3c8b321ebdae1f107a66d2ac116854eaabcca1f411c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): convex/httpApiV1/skillsV1.ts:1262 \u00B7 convex/httpApiV1/skillsV1.ts:1301 \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":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":1262}}}],"partialFingerprints":{"codehealthFindingId/v1":"6881e5682e4c4d1fe666f8dc18ae43c36094761accb6981e6e8cbc22f214f172"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): convex/httpApiV1/skillsV1.ts:3238 \u00B7 convex/httpApiV1/skillsV1.ts:3297 \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":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":3238}}}],"partialFingerprints":{"codehealthFindingId/v1":"4de49d4376fd1f82ea8e241ebf6bc6c166aace37b2614a8a732a3a12ac71812f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): convex/lib/access.ts:113 \u00B7 convex/lib/access.ts:140 \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":"convex/lib/access.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"97e5f706387b57af402917f28034574959e05845b94303d9d0b2a57e4db661bd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): convex/lib/archiveManifest.ts:91 \u00B7 convex/prepublicationReports.ts:141 \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":"convex/lib/archiveManifest.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"f620bdb4c7b3d84912bf83d5a4170d9c1678eb2efe74a6e4f206cd8fb14739d0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): convex/lib/changelog.ts:100 \u00B7 convex/lib/skillSummary.ts:88 \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":"convex/lib/changelog.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"2263e0628ad20201c7461539ca937770d9ab22fd16c007f30571ec44f38d8ddb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): convex/lib/githubImport.ts:262 \u00B7 packages/clawhub/src/cli/commands/github.ts:461 \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":"convex/lib/githubImport.ts"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"96692c8c1c4eca7bbc9b6283df8ffcb9376e2875dad60926ca4e6669e1ad4155"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): convex/lib/globalStats.ts:230 \u00B7 convex/lib/globalStats.ts:243 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/globalStats.ts"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"bff7d730b6e428011afb8e6008eb339cf333c50aa69922776aaa50bc553fc1bd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): convex/lib/packageRegistry.ts:49 \u00B7 convex/lib/skills/index.ts:107 \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":"convex/lib/packageRegistry.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd25655f868a200f3bd9bfd11276ebd33d6d845f4a77b5e76cd9fe05e105eba9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): convex/lib/publishAttemptOperationalRecovery.ts:225 \u00B7 convex/lib/publishAttemptOperationalRecovery.ts:334 \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":"convex/lib/publishAttemptOperationalRecovery.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b580cc255d98cb9bd2dc52a97725f5b2e6045051ae2045660de4a8b4b273017"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): convex/lib/publishAttemptOperationalRecovery.ts:448 \u00B7 convex/lib/publishAttemptOperationalRecovery.ts:480 \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":"convex/lib/publishAttemptOperationalRecovery.ts"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a95cb39aea318142f319bc8d4caf15f3f25c1e5e67ba10af85a5f88a4fda95a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): convex/lib/publishers.ts:368 \u00B7 convex/managedMcpTestFixtures.ts:42 \u2014 the two spans are one implementation copied and then locally edited \u2014 70 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":"convex/lib/publishers.ts"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfad36e2f419025b40e87a5ea3b90a972dfbd6580f7241c5acd433ae5d21a469"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): convex/lib/skillFileReadAccess.ts:14 \u00B7 convex/skills.ts:8272 \u2014 the two spans are one implementation copied and then locally edited \u2014 65 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":"convex/lib/skillFileReadAccess.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaadef1d22c1c60f77a74ae001bb0207851c848f21e8aaf15d251beb802e2327"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): convex/lib/skillPageRead.ts:247 \u00B7 convex/skills.ts:2194 \u2014 the two spans are one implementation copied and then locally edited \u2014 95 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/skillPageRead.ts"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"445d5cedc4275e7a56f597b8c6f20cce3ae9c2dd469450fecca594716e380518"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): convex/lib/skillsShCatalogEnvironment.ts:127 \u00B7 convex/lib/skillsShCatalogEnvironment.ts:176 \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":"convex/lib/skillsShCatalogEnvironment.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"34e23b91f4d3401564ef7c07e25d1763df4d05fbfebc5291224bbef069cd4e8d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): convex/maintenance.ts:927 \u00B7 convex/maintenance.ts:946 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/maintenance.ts"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa3e4666e0bdc90d1d84473c851bc869f47261f9b985ad9526f0b7de101920b9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): convex/maintenance.ts:978 \u00B7 convex/packages.ts:7104 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/maintenance.ts"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"853eefed44cdcfc921d88405f5a787c60cdf2d557aeb368dc64fcf3e403464d0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): convex/maintenance.ts:1785 \u00B7 convex/maintenance.ts:2775 \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":"convex/maintenance.ts"},"region":{"startLine":1785}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a554182b9c60459eeb2184356afa85f835dbcfd3ac457f150d052ed9396115b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): convex/maintenance.ts:2549 \u00B7 convex/packages.ts:11183 \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":"convex/maintenance.ts"},"region":{"startLine":2549}}}],"partialFingerprints":{"codehealthFindingId/v1":"008945454657bc18fdea07ee757fa94b7da985106e06edb3455cf054fa5ce1d7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): convex/migrations.ts:1650 \u00B7 convex/migrations.ts:1696 \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":"convex/migrations.ts"},"region":{"startLine":1650}}}],"partialFingerprints":{"codehealthFindingId/v1":"8be20f6357486553271fc0b0021ef672629a14abeb4f122f46390ddbab1a196f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): convex/packages.ts:6230 \u00B7 convex/packages.ts:6285 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/packages.ts"},"region":{"startLine":6230}}}],"partialFingerprints":{"codehealthFindingId/v1":"700cae0d3dbeca6e4c6bd9541f2e036eca9295629dccec465bfd67d42479f8d4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): convex/packages.ts:10403 \u00B7 convex/packages.ts:10477 \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":"convex/packages.ts"},"region":{"startLine":10403}}}],"partialFingerprints":{"codehealthFindingId/v1":"058a3a6b13abd75f9608b09fe2113a5d826fdb06278ac13eb95ef4a689f74749"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): convex/publishers.ts:4333 \u00B7 convex/publishers.ts:4363 \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":"convex/publishers.ts"},"region":{"startLine":4333}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6c20c6d7da6c2d3030c229c34a4f9c0825c8e28c6a5e77140bd873927ce4ca4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4 locations): convex/search.ts:1376 \u00B7 convex/search.ts:1388 \u00B7 convex/search.ts:1401 \u00B7 convex/search.ts:1415 \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":"convex/search.ts"},"region":{"startLine":1376}}}],"partialFingerprints":{"codehealthFindingId/v1":"a403ed76e427a7e2322468bf871a548b65995762395eba8cfe0a91382452f63d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): convex/securityScan.ts:679 \u00B7 convex/securityScan.ts:819 \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":"convex/securityScan.ts"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"83b0ad2b0d9c6f7c2cfe5b221e261413ab1e171d6585817ac0bbb6b08e113653"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): convex/securityScan.ts:2556 \u00B7 convex/telemetry.ts:81 \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":"convex/securityScan.ts"},"region":{"startLine":2556}}}],"partialFingerprints":{"codehealthFindingId/v1":"40b95778ea3cb72d20edd44cf368011b038053b55b336954a6260d47342cdf6f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): convex/skills.ts:3076 \u00B7 convex/skills.ts:3257 \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":"convex/skills.ts"},"region":{"startLine":3076}}}],"partialFingerprints":{"codehealthFindingId/v1":"b91ffaab75d3691655d78ea88cc4fd3c26e604037e361b0f8451975ad98b6b27"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): convex/skills.ts:4082 \u00B7 convex/skills.ts:4206 \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":"convex/skills.ts"},"region":{"startLine":4082}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d7fc2ff8211cd78cec1cde2260ac41951142b22da2465ed608c89588cc7ea66"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): convex/skills.ts:5467 \u00B7 convex/skills.ts:5500 \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":"convex/skills.ts"},"region":{"startLine":5467}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd9bc873677a8590b3323a831cb39543dfc4342a802c5b97237c383fe8ed85ff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): convex/skills.ts:8687 \u00B7 convex/skills.ts:8724 \u00B7 convex/skills.ts:8757 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skills.ts"},"region":{"startLine":8687}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0aa804d169135dee9788d079f199e4209971a1215573650c52fc9e1c7a2d4b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): convex/skillsShCatalog.ts:315 \u00B7 convex/skillsShCatalog.ts:331 \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":"convex/skillsShCatalog.ts"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"b44c575c9825f25a6db8aab0012e72d7bad3385e8154f4f7374fabb8e3a2967d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): convex/skillsShCatalog.ts:1114 \u00B7 convex/skillsShCatalog.ts:1322 \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":"convex/skillsShCatalog.ts"},"region":{"startLine":1114}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac1b5081afb1a07150cc11bf58807281a9e4e62b331b742c11a45114db6652f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): convex/skillsShMirror.ts:2216 \u00B7 convex/skillsShMirror.ts:2240 \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":"convex/skillsShMirror.ts"},"region":{"startLine":2216}}}],"partialFingerprints":{"codehealthFindingId/v1":"df01a7825768c6a64846799d2d3d8272164bad9adc1fc62b598f29df21fa39e4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): convex/users.ts:1645 \u00B7 convex/users.ts:1666 \u00B7 convex/users.ts:2090 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/users.ts"},"region":{"startLine":1645}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9327828395af713e5284b39effb6aed31eec6177793b09dec6bceb8f6e03465"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 10 locations): packages/clawhub-admin/src/cli.ts:192 \u00B7 packages/clawhub-admin/src/cli.ts:206 \u00B7 packages/clawhub-admin/src/cli.ts:221 \u00B7 packages/clawhub-admin/src/cli.ts:252 \u00B7 \u002B6 more site(s) not listed \u2014 all 10 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/cli.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b303a2d1062d160fd1150b919e30e90e52a236b611cb002e7a6a0eb1270c19d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/clawhub/src/cli.ts:304 \u00B7 packages/clawhub/src/cli.ts:515 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli.ts"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cda960b8094a82571c8158cf816c56a6d5e177c5a27add8442f27dc936a8060"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/clawhub/src/cli/commands/github.ts:165 \u00B7 src/lib/pluginPublishPrefill.ts:70 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/github.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b1d93e016bd2b4f1204347d526f39312a5ecd855b0979f68b2d8f9cc99da34a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/clawhub/src/cli/commands/inspect.ts:141 \u00B7 packages/clawhub/src/cli/commands/packages.ts:404 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/inspect.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"38ab46b9185b0f743a0befd7a42ad690840da0164370c5b0ceb9e613750b9b4b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): packages/clawhub/src/cli/commands/packages.ts:1787 \u00B7 packages/clawhub/src/cli/commands/packages.ts:1941 \u00B7 packages/clawhub/src/cli/commands/packages.ts:1970 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/packages.ts"},"region":{"startLine":1787}}}],"partialFingerprints":{"codehealthFindingId/v1":"cccd7420ad3092f6f52dde3ad7cc440586642953ebb8b0a27b55a7636998864d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/clawhub/src/http.ts:219 \u00B7 packages/clawhub/src/http.ts:251 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/http.ts"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcf9ae5ad4da8c8aa576488a2fe39545ef7c7f46df4ff8c192584a16ea76f16d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/clawhub/src/schema/schemas.ts:40 \u00B7 packages/clawhub/src/schema/schemas.ts:53 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Check what actually differs between the copies before collapsing them: every one of them is an argument to a \u0060type(\u2026)\u0060 call, so where these calls are a MATRIX of cases \u2014 one per input, differing precisely in the case each one pins \u2014 the repetition is the enumeration and extracting the shared part would delete cases rather than de-duplicate anything."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/schema/schemas.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1bc31d07ed8aa27aa14e22adf95ec59f0593822c5a819a34d032ebb2774b320"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): scripts/public-corpus/validate.ts:189 \u00B7 scripts/public-corpus/validate.ts:202 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/public-corpus/validate.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"7415e7e23e517ee5f7936a14dfaee6d081a924ff13b463a6f4f1e7a39421f8d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): scripts/security/run-codex-scan-worker.ts:870 \u00B7 scripts/skill-cards/run-skill-card-worker.ts:145 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/security/run-codex-scan-worker.ts"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"52800fb4645631335f6f6eba5a73f29f93788dfa3c47bfcfbd24b0e2ce22ee5f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): scripts/security/skillSpectorReportPolicy.ts:221 \u00B7 scripts/security/skillSpectorReportPolicy.ts:313 \u2014 the two spans are one implementation copied and then locally edited \u2014 66 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/security/skillSpectorReportPolicy.ts"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f12d744fdd2654800d8992d49e3121c9bb863c35252cafcb223ca6e8d74c596"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): scripts/skills-sh-catalog/prove-500.ts:733 \u00B7 scripts/skills-sh-catalog/prove-500.ts:749 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/skills-sh-catalog/prove-500.ts"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb391b04a143f7b985e0a1712cdd6a88634ff3a1f9988a0504c97bb268c04395"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): scripts/skills-sh-catalog/prove-mirror-test.ts:721 \u00B7 scripts/skills-sh-catalog/prove-trending-test.ts:252 \u2014 the two spans are one implementation copied and then locally edited \u2014 99 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/skills-sh-catalog/prove-mirror-test.ts"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"255eff3483d2ef9e861146c972a004b3ea546967169f58af5e451b9eeadc81c2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): scripts/skills-sh-catalog/prove-mirror-test.ts:298 \u00B7 scripts/skills-sh-catalog/sync.ts:170 \u2014 the two spans are one implementation copied and then locally edited \u2014 79 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/skills-sh-catalog/prove-mirror-test.ts"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"a514dc96ca1237b027063b56a658295ecdbe6082d3883425e33d5b8b61ecc926"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): scripts/staging-seed/snapshotPolicy.ts:48 \u00B7 scripts/staging-seed/snapshotPolicy.ts:71 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/staging-seed/snapshotPolicy.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"287ab9194b33323a0686f12b01f8848b86e1391aabb2514927d600f2bfb8f8ff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/routes/ops/skills-sh/mirror-test.post.ts:515 \u00B7 server/routes/ops/skills-sh/mirror-test.post.ts:779 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/routes/ops/skills-sh/mirror-test.post.ts"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed9c36ca111fd19d7da558a41ba8dea5dc0bc8a683ccbe6e61a49f515389e16c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): server/skillsShCatalogSource.ts:1553 \u00B7 server/skillsShCatalogSource.ts:1987 \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":"server/skillsShCatalogSource.ts"},"region":{"startLine":1553}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d301876c0e5f457591b76bb14e4c846cd4c1681172e8f17aece6417094e4df5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/components/BrowseControls.tsx:145 \u00B7 src/components/BrowseControls.tsx:457 \u2014 both copies are in the same file, so extract the block into one function there 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/BrowseControls.tsx"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d0b2aafb27a6da134477e29dbbac2241f1e855842e502e2d4bccbe9a0ddbd0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/components/SkillDetailTabs.tsx:276 \u00B7 src/components/SkillDetailTabs.tsx:318 \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/SkillDetailTabs.tsx"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcad4977dc86f6beabed6f5f1be82ef44d81ecb365396198793b90140c4735b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): src/components/ui/avatar.tsx:23 \u00B7 src/components/ui/dialog.tsx:102 \u00B7 src/components/ui/sheet.tsx:83 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ui/avatar.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"938b5c600583410294437b5354c9e1b5e211df46ad12f6a360048ffb19bb2421"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/routes/plugins/publish.tsx:1107 \u00B7 src/routes/skills/publish.tsx:1385 \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/routes/plugins/publish.tsx"},"region":{"startLine":1107}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbdb9649422a7e033c88235a56d8a8b96c95910127c4ceccf8dc8008ab4f4627"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/routes/search.tsx:264 \u00B7 src/routes/search.tsx:278 \u2014 both copies are in the same file, so extract the block into one function there 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/routes/search.tsx"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"db192942445eacf93c39e1a6d42facc8916354e89b3dd31111c5e99c2939440a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): convex/canonicalTrendingTestFixtures.ts:199 \u00B7 convex/searchTestFixtures.ts:50 \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":"convex/canonicalTrendingTestFixtures.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f05894a00d3bbc86afaa8fe4ecc24d329323dabc13ef9b023cde55e1662f84f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): convex/canonicalTrendingTestFixtures.ts:546 \u00B7 convex/searchTestFixtures.ts:239 \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":"convex/canonicalTrendingTestFixtures.ts"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f97f9348037a36895adfdc5ad39e8fa3748112e9e8e6d780666c7c948d287a0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): convex/downloadMetrics.ts:104 \u00B7 convex/telemetry.ts:137 \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":"convex/downloadMetrics.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ac33036731ae3ce35faa1dbd43abf727aa3a317b9e742102764fee9790990fd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): convex/functions.ts:300 \u00B7 convex/functions.ts:314 \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":"convex/functions.ts"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"25de3e1fd4387d2cd3814d70229d188ad5a904e583ebc2d91130c0ed66f4ddc5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): convex/githubSkillSync.ts:1785 \u00B7 convex/search.ts:1291 \u2014 the two spans are one implementation copied and then locally edited \u2014 81 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":"convex/githubSkillSync.ts"},"region":{"startLine":1785}}}],"partialFingerprints":{"codehealthFindingId/v1":"e19957ad8fbbb10dab6b333c70eeee9bce4975f5663f01ed40c4e1337e3c439e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 7 locations): convex/httpApiV1/packagesV1.ts:2809 \u00B7 convex/httpApiV1/packagesV1.ts:2863 \u00B7 convex/httpApiV1/packagesV1.ts:3016 \u00B7 convex/httpApiV1/skillsV1.ts:1275 \u00B7 \u002B3 more site(s) not listed \u2014 the 7 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":2809}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4349107c360f6d7b37ee546d0bc9e36d3056d2f6b62270dbb4f015c1280e4d1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): convex/httpApiV1/packagesV1.ts:3229 \u00B7 convex/httpApiV1/packagesV1.ts:3915 \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":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":3229}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac9b1339a9cb9041b0cfa5de4f7c1de6d2c128bddd13f33559f41cb33f9e57cd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): convex/httpApiV1/packagesV1.ts:4285 \u00B7 convex/lib/templatePackageHttpRead.ts: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":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":4285}}}],"partialFingerprints":{"codehealthFindingId/v1":"58682467facc811bd11d3bb64a4e2188565477d4c1184326fe0cb7e22c2a08f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): convex/httpApiV1/skillsV1.ts:1373 \u00B7 convex/httpApiV1/skillsV1.ts:1785 \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":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":1373}}}],"partialFingerprints":{"codehealthFindingId/v1":"24a8314a36e9d5e51442dbc5e9ca0c987e4770be99d98156b7a2674c0fa771e1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): convex/httpApiV1/skillsV1.ts:2297 \u00B7 convex/httpApiV1/skillsV1.ts:2430 \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":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":2297}}}],"partialFingerprints":{"codehealthFindingId/v1":"726eb207e46a9e934c1b693e038d520fd756f0ba28f672a9a309fe6b662a11e0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): convex/httpApiV1/skillsV1.ts:3099 \u00B7 convex/httpApiV1/skillsV1.ts:3134 \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":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":3099}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d2ffecc2e28a12342124a6374ab30c176904fd16774f7871297ff35cdebbaeb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): convex/httpApiV1/skillsV1.ts:3418 \u00B7 convex/httpApiV1/skillsV1.ts:3482 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":3418}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bc7efb8677047cba035ab7cbe741730b4553c7a67c198399239f33853cec906"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): convex/httpApiV1/skillsV1.ts:3890 \u00B7 convex/httpApiV1/skillsV1.ts:3969 \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":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":3890}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb8d9924b1f6cbfab82038d1c1114406c69c660834425c2379a310cacf2625ea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): convex/lib/archiveManifest.ts:72 \u00B7 server/og/fetchImageDataUrl.ts:154 \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":"convex/lib/archiveManifest.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"b84413acae29f6a5f0d14ee4578dbe20c56a3f756a3d7e88565ce67d1b4ac60e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): convex/lib/githubImport.ts:55 \u00B7 packages/clawhub/src/cli/commands/github.ts:294 \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":"convex/lib/githubImport.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"25463b91b682b9cc41b37c46426dcc100d2fe9827318223fd77846f1aee15a19"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): convex/lib/githubSkillSync.ts:727 \u00B7 scripts/local-clawscan-dry-run.ts:425 \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":"convex/lib/githubSkillSync.ts"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7b451e9f423b99d8c8e7947794bb8235af16248fe3a0f1f4a08bf8ba1a49575"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): convex/lib/pluginInspectorReleaseScan.ts:10 \u00B7 convex/publishAttemptDispatch.ts:20 \u2014 the two spans are one implementation copied and then locally edited \u2014 50 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":"convex/lib/pluginInspectorReleaseScan.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"d560b4e723fb37b7122ebf6afc181bb647b041968cbe794b3fe009ef2c58941f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): convex/lib/publishAttemptOperationalRecovery.ts:114 \u00B7 convex/publishAttempts.ts:305 \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":"convex/lib/publishAttemptOperationalRecovery.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"614ee937be2d11160df3952513f73c6bfe1da328e215778f72650eb8075c1f90"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): convex/lib/skillsShCatalogFixtures.ts:5 \u00B7 convex/schema.ts:3056 \u2014 the 2 copies are spread across 2 files, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/skillsShCatalogFixtures.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"241cfcd14ce970eaf666c6ed907832829182a8f05316845111857a3ad3b9e469"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): convex/maintenance.ts:198 \u00B7 convex/maintenance.ts:249 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/maintenance.ts"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"38e78a875ba951e21bace7635b222abcb75083855bd3ea56e9830a9ad3791d37"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): convex/maintenance.ts:1063 \u00B7 convex/maintenance.ts:3622 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/maintenance.ts"},"region":{"startLine":1063}}}],"partialFingerprints":{"codehealthFindingId/v1":"d41733f66277c0490a2d31f568c59cca3369f9be2c26a9ec1276e931dfc53d22"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6 locations): convex/maintenance.ts:1282 \u00B7 convex/maintenance.ts:2029 \u00B7 convex/maintenance.ts:2251 \u00B7 convex/maintenance.ts:2391 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/maintenance.ts"},"region":{"startLine":1282}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d86adc34d339cfd1ccadbb922bf230028a6f87005f24581b09cc8399e699366"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): convex/maintenance.ts:1685 \u00B7 convex/migrations.ts:1544 \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":"convex/maintenance.ts"},"region":{"startLine":1685}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f179937089ad058ce4926ef60330b6f2ddc229bf99e00299ac07e04fe9bfc4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): convex/maintenance.ts:2130 \u00B7 convex/schema.ts:1218 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/maintenance.ts"},"region":{"startLine":2130}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a9eeaffae3e2ca4dd323ad6eeb6afbe81578b354a2efa23a77e9389177ef11f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): convex/maintenance.ts:3056 \u00B7 convex/maintenance.ts:3151 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/maintenance.ts"},"region":{"startLine":3056}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c3a5e2190f85fc0d8704e056b1af2f750b9216f05a3660d0a12b8cfae657e75"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): convex/maintenance.ts:3106 \u00B7 convex/maintenance.ts:3215 \u00B7 convex/maintenance.ts:3308 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/maintenance.ts"},"region":{"startLine":3106}}}],"partialFingerprints":{"codehealthFindingId/v1":"f32854d60f2cabd694f364abf8aec7b41ebc7a52a27260e81e7eaa5860488d2c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): convex/packages.ts:2683 \u00B7 convex/skills.ts:6747 \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":"convex/packages.ts"},"region":{"startLine":2683}}}],"partialFingerprints":{"codehealthFindingId/v1":"07cbbf76b7cb77195faceee0e1901763a3176c8c820c47e8af95291a33016974"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): convex/packages.ts:3623 \u00B7 convex/securityScan.ts:2384 \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":"convex/packages.ts"},"region":{"startLine":3623}}}],"partialFingerprints":{"codehealthFindingId/v1":"87b64cf5d3caa0886de06d16d407655d8889ffc326276029e2e0cf04e5e5cf7f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): convex/packages.ts:5591 \u00B7 convex/publishers.ts:3769 \u00B7 convex/skills.ts:10203 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/packages.ts"},"region":{"startLine":5591}}}],"partialFingerprints":{"codehealthFindingId/v1":"d79683d45b2f21ca40931e8cd8b9e699747ccca0210f05b900fb61ea5e593290"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): convex/packages.ts:7475 \u00B7 convex/publishers.ts:3691 \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":"convex/packages.ts"},"region":{"startLine":7475}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6855381fb4c602c20c5ff76380dee59bc0587eb6788a9c34d56d0eccaeafb38"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): convex/packages.ts:9325 \u00B7 convex/packages.ts:9339 \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":"convex/packages.ts"},"region":{"startLine":9325}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6ca72174935a2d8782db5a1c49e888b3ee54ced36ee9c31490a49f0d424188c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): convex/packages.ts:9377 \u00B7 convex/packages.ts:9682 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/packages.ts"},"region":{"startLine":9377}}}],"partialFingerprints":{"codehealthFindingId/v1":"62c1ef8337257ce6c077483e6ca4011e7ea7583ecb0c46cd7726af834d511cd2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): convex/packages.ts:9548 \u00B7 convex/skills.ts:7965 \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":"convex/packages.ts"},"region":{"startLine":9548}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b56dc25a7492462e84d8f90806c15c5cf8354abe83942c85cb00ae296b00af7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): convex/packages.ts:10155 \u00B7 convex/packages.ts:10581 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/packages.ts"},"region":{"startLine":10155}}}],"partialFingerprints":{"codehealthFindingId/v1":"5934627bc280dd4a224cd4137f4bcef786f1bdd608721566f9073155f262b6c6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): convex/packages.ts:11694 \u00B7 convex/packages.ts:11731 \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":"convex/packages.ts"},"region":{"startLine":11694}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea9e9cfb19b85d67888bd248dbffbd3569b2fffc6216c55df3755aded8c84916"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): convex/promotions.ts:318 \u00B7 convex/promotions.ts:376 \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":"convex/promotions.ts"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"918eb66b3166c44b440cc500a5760b376f4f2abe2f0072b176a3976c66adcc3c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): convex/publisherAbuseTemporalScan.ts:41 \u00B7 convex/schema.ts:3552 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/publisherAbuseTemporalScan.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"c98584a0b7e7cfc43677c0e0e788b50799a54bb0bd1d6dbd727f84bffaff08bd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): convex/publisherAbuseTemporalScan.ts:220 \u00B7 convex/publisherAbuseTemporalScan.ts:535 \u00B7 convex/publisherAbuseTemporalScan.ts:599 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/publisherAbuseTemporalScan.ts"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d45b9e9ed30eb68d4ff1ae2a177c22a65d03dde57730bfdff54f53771ed681d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): convex/publishers.ts:2087 \u00B7 convex/users.ts:316 \u00B7 convex/users.ts:331 \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":"convex/publishers.ts"},"region":{"startLine":2087}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a772e4350266cd1d92e3399b971f4b30017e6e24cf045ae3843804ca824e7f2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): convex/publishers.ts:3970 \u00B7 convex/skillPublishUploads.ts:75 \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":"convex/publishers.ts"},"region":{"startLine":3970}}}],"partialFingerprints":{"codehealthFindingId/v1":"06ffd833e1eaad677036c5c30cf2bad9b5ea39b560ddf39be21984206ecaa9ab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): convex/schema.ts:2502 \u00B7 convex/schema.ts:2683 \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":"convex/schema.ts"},"region":{"startLine":2502}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf39312bd72ba286650f4b7d49c8931f1323ee21bc77541ccca4171ceff74e31"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): convex/schema.ts:745 \u00B7 convex/securityScan.ts:228 \u2014 the two spans are one implementation copied and then locally edited \u2014 65 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":"convex/schema.ts"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"e206bd8bb4b2b4ccc70923c9101ffb829392fb41abcc01afcc9256e28fe73f0d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): convex/search.ts:1968 \u00B7 convex/search.ts:1980 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/search.ts"},"region":{"startLine":1968}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d4ea36045b8e01d7274d62ef7c7508d17e3f641a76df73fc7cc904cd931af93"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): convex/securityScan.ts:3549 \u00B7 convex/securityScan.ts:3589 \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":"convex/securityScan.ts"},"region":{"startLine":3549}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1dd6b3bc7be4ac313af6100e6e5c9192dc1bf6f5af7519e5ef6b525f6e876d0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): convex/securityScan.ts:1477 \u00B7 convex/skillsShClaims.ts:258 \u2014 the two spans are one implementation copied and then locally edited \u2014 66 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":"convex/securityScan.ts"},"region":{"startLine":1477}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2269f41de9681bdad789fcdd88a2dc957b81c18d0d1aad4d63bf192ac751ae5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): convex/skillEvaluations.ts:298 \u00B7 convex/skillEvaluations.ts:322 \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":"convex/skillEvaluations.ts"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"964d89e51467121d8bfbbfd170725527998d609d707dec7c9a434a85fcb85a73"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): convex/skills.ts:3583 \u00B7 convex/skills.ts:8925 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skills.ts"},"region":{"startLine":3583}}}],"partialFingerprints":{"codehealthFindingId/v1":"aab68c36429c17e457574ca08dcfb4ccbaae312a53dfbc61d977f82f2e3529a3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): convex/skills.ts:5091 \u00B7 convex/skills.ts:6485 \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":"convex/skills.ts"},"region":{"startLine":5091}}}],"partialFingerprints":{"codehealthFindingId/v1":"f948dd458420a71e846df88efa15e0fc9aeee6963ea3d5725bcc5afdcde03e74"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): convex/skillsShCatalog.ts:1343 \u00B7 convex/skillsShCatalog.ts:1814 \u00B7 convex/skillsShMirror.ts:1936 \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":"convex/skillsShCatalog.ts"},"region":{"startLine":1343}}}],"partialFingerprints":{"codehealthFindingId/v1":"71df991ab8e7ff3d266bf29ed4ac8f05477990f3eb1f301fb4f6452e879f8970"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): convex/skillsShCatalog.ts:1742 \u00B7 convex/skillsShCatalog.ts:2190 \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":"convex/skillsShCatalog.ts"},"region":{"startLine":1742}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f8aafac95ca24084e5cbab5146d08c3ae99ad56f706c68284113fb3f74107c6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): convex/skillsShMirror.ts:1223 \u00B7 convex/skillsShMirror.ts:1265 \u00B7 convex/skillsShMirror.ts:1332 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skillsShMirror.ts"},"region":{"startLine":1223}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a877a5c947be381c6fe2c1da437e1e763008883e2a9e5652f5249271633efc7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): convex/skillsShPublicTestFixtures.ts:104 \u00B7 convex/skillsShPublicTestFixtures.ts:129 \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":"convex/skillsShPublicTestFixtures.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"7931dca9066bb69df04d0f8f17b6b741d53a60ff0770d12f2fdc3fc44b4066e4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): convex/telemetry.ts:94 \u00B7 convex/telemetry.ts:200 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/telemetry.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"f067b11433eccf819f07d3ea83ace6fc18b631c557399e9a1050f9a2451615fe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): convex/users.ts:1755 \u00B7 convex/users.ts:1982 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/users.ts"},"region":{"startLine":1755}}}],"partialFingerprints":{"codehealthFindingId/v1":"77c5da029a5c01ebde07ebede64a0ef8c53737817698b779f07d80ba304bace2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5 locations): packages/clawhub-admin/src/cli.ts:418 \u00B7 packages/clawhub-admin/src/cli.ts:574 \u00B7 packages/clawhub-admin/src/cli.ts:595 \u00B7 packages/clawhub-admin/src/cli.ts:647 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/cli.ts"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"901e6f19857bcc8ab60f9c212cdd155b45b80d0ac289f20185375b01ed55adcf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): packages/clawhub-admin/src/cli.ts:531 \u00B7 packages/clawhub-admin/src/cli.ts:587 \u00B7 packages/clawhub-admin/src/cli.ts:868 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/cli.ts"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"1875259b214da015bc3cbabbd14cdf02e9195997730a6de1164fc4c8c4a6fd3d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/clawhub-admin/src/cli.ts:755 \u00B7 packages/clawhub-admin/src/cli.ts:922 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/cli.ts"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"99e33df9afbe97ef4fdf0e0b69b4288f8d88360cf1b5fea84fd555eb59c5663e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/clawhub-admin/src/commands/moderation.ts:58 \u00B7 packages/clawhub-admin/src/commands/packages.ts:295 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/moderation.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5675ed623ae02a2d57691373ff7d23a84d560e3d9cf1fbaeaf8be557a7833c3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/clawhub-admin/src/commands/packages.ts:466 \u00B7 packages/clawhub/src/cli/commands/packages.ts:1930 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/packages.ts"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"11421a6dc32bb017dcbeb86c73dbbe498fd3fa7d92826dc2287637fe84cd3847"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): packages/clawhub-admin/src/commands/packages.ts:487 \u00B7 packages/clawhub/src/cli/commands/ownership.ts:79 \u00B7 packages/clawhub/src/cli/commands/ownership.ts:128 \u2014 the 3 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/packages.ts"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb5ea7bfb4c535b86654fe8d6d246db6214b606cdb793060a013e4f451139d08"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/clawhub/src/cli/commands/packages.ts:1644 \u00B7 packages/clawhub/src/cli/commands/packages.ts:1696 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/packages.ts"},"region":{"startLine":1644}}}],"partialFingerprints":{"codehealthFindingId/v1":"0536a9a932068dc17e4b235c8cca004c4df817a1c6b20468174d7727c55f3acf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/clawhub/src/cli/commands/packages.ts:1700 \u00B7 packages/clawhub/src/cli/commands/packages.ts:1735 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/packages.ts"},"region":{"startLine":1700}}}],"partialFingerprints":{"codehealthFindingId/v1":"c173bb11817b1ba1da36b0cbfc1c738a64501a5caa1e19fb7a015cc9195739ab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/clawhub/src/cli/commands/packages.ts:1931 \u00B7 packages/clawhub/src/cli/commands/packages.ts:1960 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/packages.ts"},"region":{"startLine":1931}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae6d0f0881789939f94ca637279816f05d76fff9dc3e8955cbc1dd8f3034352"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/clawhub/src/http.ts:953 \u00B7 packages/clawhub/src/http.ts:989 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/http.ts"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b684fbf90c416892d93a0a01499e9ed72801ae35ff50a6839da11e4affd3338"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/clawhub/src/schema/packages.ts:177 \u00B7 packages/schema/src/packages.ts:267 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/schema/packages.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"f473f67d0ac2a987af6a395ffd748349c4b6f66bb72eecad565793e8b0c40481"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/clawhub/src/schema/schemas.ts:342 \u00B7 packages/schema/src/packageShared.ts:131 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/schema/schemas.ts"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ce05d2ddefcc3ce6a405c41d7c1dc164be88dfcd1be94c43af322ee7781ac06"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 8 locations): packages/schema/src/packageShared.ts:19 \u00B7 packages/schema/src/packageShared.ts:216 \u00B7 packages/schema/src/packageShared.ts:624 \u00B7 packages/schema/src/packageShared.ts:700 \u00B7 \u002B4 more site(s) not listed \u2014 the 8 copies are spread across 3 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/packageShared.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc1cbc7aba1b680cf02cf21ee18ea05db21374437e3eeb258e5759b48d72e600"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/schema/src/schemaShared.ts:406 \u00B7 packages/schema/src/schemaShared.ts:442 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/schemaShared.ts"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a6579defde6c5d67590a7e8810ca4b152d8ecdd3259122d6a694121186bf6c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): packages/schema/src/templatePaths.ts:27 \u00B7 packages/schema/src/templates.ts:316 \u2014 the two spans are one implementation copied and then locally edited \u2014 51 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/templatePaths.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef67c9cdb51959f039b2dbbf36a824ce7f047211d883fafa1fdfff50539ba4a3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): scripts/dev-worktree.ts:431 \u00B7 scripts/run-playwright-local-auth.ts:470 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/dev-worktree.ts"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd45593cc3e590b5ced128bf3d364ecbb375f43656b7a00db41e0b5eb46d77ff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): scripts/public-corpus/seed-public-corpus.ts:104 \u00B7 scripts/seed.ts:22 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/public-corpus/seed-public-corpus.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"39a1daab06b81f240a938d0c083a504a43473cb94ff1ac56ee4bbfa174473efb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): scripts/security/clawscan-decisions.ts:133 \u00B7 scripts/security/clawscan-exposure.ts:134 \u2014 the two spans are one implementation copied and then locally edited \u2014 85 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/security/clawscan-decisions.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"6adbf8f38c1aed8935983b293756657a75a9222d391b3b4bcc13dfbe9f1befb1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): scripts/security/clawscan-diagnostic-fixed038.ts:76 \u00B7 scripts/security/clawscan-diagnostic-fixed079.ts:55 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/security/clawscan-diagnostic-fixed038.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"5201ec4acf841faa25a717706d43f6db4cda3fadc4cb20d9cd14baff3d599a16"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): scripts/security/clawscan-diagnostic-input.ts:229 \u00B7 scripts/security/clawscan-diagnostic-original.ts:50 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/security/clawscan-diagnostic-input.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2b7841daa25b55815ef0b50e643bba4c7bc614bfba419e4990b1b53e1d1c80a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): scripts/security/run-codex-scan-worker.ts:399 \u00B7 scripts/security/run-codex-scan-worker.ts:516 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/security/run-codex-scan-worker.ts"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"5722d7e4c57564b090d2abb33c091826f9de3a935cb76d243888f0c113e47485"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): scripts/security/run-codex-scan-worker.ts:1513 \u00B7 server/skillsShCatalogSource.ts:1067 \u2014 the two spans are one implementation copied and then locally edited \u2014 58 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/security/run-codex-scan-worker.ts"},"region":{"startLine":1513}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5c832b068423addcea9f5cf49d1386ae0c34ee757163205ad8e1f7b55c929a5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): scripts/skills-sh-catalog/prove-500.ts:311 \u00B7 scripts/skills-sh-catalog/prove-500.ts:684 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/skills-sh-catalog/prove-500.ts"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"d834ecaac4a80278a57830ebc729ba19c33edd1f248bf10cc21cf9a6b0440e52"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): scripts/skills-sh-catalog/prove-mirror-request.ts:11 \u00B7 scripts/skills-sh-catalog/sync.ts:215 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/skills-sh-catalog/prove-mirror-request.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3ced3be450f94abc8db83655a482241839787c297aa50b8f9bde7e4a377aae5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/components/BrowseControls.tsx:167 \u00B7 src/components/BrowseControls.tsx:532 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/BrowseControls.tsx"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"d93f30e031a153c6c37393e76e7d4425aa1f66420325bbe8d5023cc6dbbf203d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/components/HomeListingSection.tsx:723 \u00B7 src/components/HomeListingSection.tsx:746 \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/HomeListingSection.tsx"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"91754ed7e9612edbe2f45aaf91aad51db533702a83a31ffbc38197a3424080b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): src/lib/browseTopicSearch.ts:9 \u00B7 src/lib/browseTopicSearch.ts:32 \u2014 the two spans are one implementation copied and then locally edited \u2014 60 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/browseTopicSearch.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"9329d93e04ff76fcfabf41046119f54e79de769613897dacb4336dcd7fe59b5b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): src/lib/homeListingData.ts:412 \u00B7 src/lib/homeListingData.ts:453 \u00B7 src/lib/homeListingData.ts:485 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/homeListingData.ts"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"5da7fd3d3c8960c0ce0561f8b39bbd3dd65ab96951127e8dcdcb9adc0bd81456"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/lib/packageApi.ts:321 \u00B7 src/lib/packageApi.ts:425 \u2014 both copies are in the same file, so extract the block into one function there 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/lib/packageApi.ts"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"463a71b399232ba4a1fbc21b597dee2b511b013e1a76dd48c346ccc50d5ea9a8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/lib/useUnifiedSearch.ts:241 \u00B7 src/lib/useUnifiedSearch.ts:434 \u2014 both copies are in the same file, so extract the block into one function there 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/lib/useUnifiedSearch.ts"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b837f1c674eca1b704633ccfdb1f43a4d9fbb9641e4f80910d7b8e3386e5972"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/routes/-management/FeaturedRecommendations.tsx:177 \u00B7 src/routes/-management/FeaturedRecommendations.tsx:203 \u2014 both copies are in the same file, so extract the block into one function there 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/routes/-management/FeaturedRecommendations.tsx"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"d319bd2fb0b3b21bb78dabb6f763258433d0472647953e37aba903f694602163"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): convex/catalogTopics.ts:53 \u00B7 convex/skills.ts:5135 \u2014 the two spans are one implementation copied and then locally edited \u2014 62 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":"convex/catalogTopics.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"17945672498984c800469302f6187b155a3d75dc0e862509556451c91eb2fc4f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): convex/cliDeviceAuth.ts:132 \u00B7 convex/cliDeviceAuth.ts:160 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/cliDeviceAuth.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"616800d7fd900fb9e60d57dc5d1fd295faeeae9797217aa79552983e8199fa84"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): convex/devSeed.ts:947 \u00B7 convex/searchInsights.ts:407 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/devSeed.ts"},"region":{"startLine":947}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c4623d55db2e14f5e8c076f62e5dac2c473c86664e775f2a5ee1ded8e631e9f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): convex/devSeed.ts:2241 \u00B7 convex/devSeed.ts:2282 \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":"convex/devSeed.ts"},"region":{"startLine":2241}}}],"partialFingerprints":{"codehealthFindingId/v1":"d86e99d1552a131f82262701ae0b92fca66c960a3431c7415c7a32fba301b465"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): convex/devSeed.ts:2352 \u00B7 convex/devSeed.ts:5182 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/devSeed.ts"},"region":{"startLine":2352}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ad5f39ccefeebac7cd753f0fc67108f3d97371ad89d7ffe791908b03a8b83b9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6 locations): convex/devSeed.ts:4879 \u00B7 convex/skillsShCatalog.ts:536 \u00B7 convex/skillsShCatalog.ts:578 \u00B7 convex/skillsShMirrorVisibility.ts:394 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 3 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/devSeed.ts"},"region":{"startLine":4879}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d66da0ab31dfe743e6305b5e1a42f8274d02d7b2157ec8fea6671c23b66b99d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): convex/downloads.ts:194 \u00B7 convex/downloads.ts:251 \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":"convex/downloads.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3a5cb229e34a82476db48d103802f483aed0f79088f05551b01600691d3dcb7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): convex/emailsNode.ts:75 \u00B7 convex/skills.ts:11445 \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":"convex/emailsNode.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"900eb19fcb52ae7492b313f8e2b069964c67cc055d862fe7d40cb68f38f32c42"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): convex/githubImport.ts:157 \u00B7 convex/githubImport.ts:243 \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":"convex/githubImport.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7d676afb12f46ab5f97252edb858aa72130fba5067e96a2b3b24ccc7d983dc9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): convex/githubImport.ts:817 \u00B7 convex/lib/githubImport.ts:303 \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":"convex/githubImport.ts"},"region":{"startLine":817}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1bc65fa621b6f9e6cef70255f63f4f8066d113bdbf1a029a59c6332fd4ec174"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): convex/githubSkillSync.ts:1157 \u00B7 convex/lib/publisherStats.ts:138 \u00B7 convex/publishers.ts:373 \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":"convex/githubSkillSync.ts"},"region":{"startLine":1157}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e678fe24e03253134c0cec5589c9d98d49b5e3b9043d8a43f51ad231088588c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4 locations): convex/httpApiV1/packagesV1.ts:2660 \u00B7 convex/httpApiV1/packagesV1.ts:2827 \u00B7 convex/httpApiV1/packagesV1.ts:2852 \u00B7 convex/httpApiV1/packagesV1.ts:3138 \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":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":2660}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e8cb35dbbaec5b8e16a63d78c7359dccb27e252e63b9c7f33f68c8c97eae6b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): convex/httpApiV1/packagesV1.ts:2822 \u00B7 convex/httpApiV1/skillsV1.ts:3159 \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":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":2822}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce4161a940ee7cce58b89b62dc4c6dd1bd3a53d95cd3f8ad45432505ce244d9e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): convex/httpApiV1/packagesV1.ts:3562 \u00B7 convex/httpApiV1/skillsV1.ts:1750 \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":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":3562}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc47426403a64bc1a506e49ee9e7658859e392eda1a782f31e2e48d53c8a42fa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): convex/httpApiV1/shared.ts:395 \u00B7 convex/httpApiV1/usersV1.ts:848 \u2014 the two spans are one implementation copied and then locally edited \u2014 60 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":"convex/httpApiV1/shared.ts"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"00ec093ed8059ec0cbfe151c39d24328b45fd4aedbf67e280946889a3b7fdbac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): convex/httpApiV1/skillsV1.ts:2268 \u00B7 convex/httpApiV1/skillsV1.ts:2417 \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":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":2268}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e49c95594f30700930ebed00402952e4d9cf197b86c953575393e04a710be20"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): convex/httpApiV1/skillsV1.ts:3137 \u00B7 convex/httpApiV1/skillsV1.ts:3241 \u00B7 convex/httpApiV1/skillsV1.ts:3300 \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":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":3137}}}],"partialFingerprints":{"codehealthFindingId/v1":"21b84995493e68928bf6d11906735597ec4812c61b3af5b0a2425f4c6ccb1868"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 7 locations): convex/httpApiV1/usersV1.ts:243 \u00B7 convex/httpApiV1/usersV1.ts:273 \u00B7 convex/httpApiV1/usersV1.ts:316 \u00B7 convex/httpApiV1/usersV1.ts:555 \u00B7 \u002B3 more site(s) not listed \u2014 all 7 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/usersV1.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"d82ca336751329e2af14e1f3476e49f224d223bdfe87e0e44c8e5ba9eeb2c12c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): convex/httpApiV1/usersV1.ts:298 \u00B7 convex/httpApiV1/usersV1.ts:790 \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":"convex/httpApiV1/usersV1.ts"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7be917452c5404713655a823ceb32c1d277a195db96c3a6fbc14e250f7e01ea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): convex/lib/catalogClassifier.mjs:1468 \u00B7 convex/lib/catalogClassifier.mjs:1920 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/catalogClassifier.mjs"},"region":{"startLine":1468}}}],"partialFingerprints":{"codehealthFindingId/v1":"807289e3ddc5a1561bb2d14918073ad5fc779e89afc0510c06ec7e602a18bd69"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): convex/lib/changelog.ts:268 \u00B7 convex/lib/changelog.ts:279 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/changelog.ts"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"08734ca76f3750e43529428818fa30db627bb7a516a168fad0864b72ea8fe3c3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): convex/lib/githubAuth.ts:260 \u00B7 packages/clawhub/src/clawpack.ts:82 \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":"convex/lib/githubAuth.ts"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5720c60c8f8eb945f03cffe173c86e14c1373cf88c41376b7ef6ce57e6e3259"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): convex/lib/githubSkillSync.ts:371 \u00B7 convex/skillPresentationBackfill.ts:106 \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":"convex/lib/githubSkillSync.ts"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc93b1cc846c8afbcc75232428ec1051a72b126cc9962116a6e67bfa949a065d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): convex/lib/githubSkillSync.ts:721 \u00B7 convex/lib/publisherCatalogDisplay.ts:49 \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":"convex/lib/githubSkillSync.ts"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e1c761fa4e062b2bc882389fff51d0628f29e662b74e2fef137d02f5d9c208"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): convex/lib/packageRecommendationRead.ts:14 \u00B7 convex/lib/packageRecommendationRead.ts:25 \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":"convex/lib/packageRecommendationRead.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0a82578fb41f35522c1751ef9ded6923236380f89d9ec1780f5df2a3add41e2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): convex/lib/publishAttemptOperationalRecovery.ts:179 \u00B7 convex/lib/publishAttemptOperationalRecovery.ts:395 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/publishAttemptOperationalRecovery.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7589e51e6b65ed393170289d4820c80bc71d3c4c80f8c27bb145c0619bcad40"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): convex/lib/publishers.ts:547 \u00B7 convex/publishers.ts:214 \u2014 the two spans are one implementation copied and then locally edited \u2014 62 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":"convex/lib/publishers.ts"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c5b26f00cbb205fc3f5e473c1e121b80b8b1dbc002d85c9482fd3a071382024"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): convex/lib/securityAnalysisValidators.ts:81 \u00B7 convex/schema.ts:904 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/securityAnalysisValidators.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e05eeaccd3314590f49d334eafb1b03ce41f32c32b57845caf921381206d71"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): convex/lib/skillCardClaims.ts:113 \u00B7 convex/lib/skillCardClaims.ts:134 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/skillCardClaims.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e308d37c44f6c31b0f17ae7c20176cf5b0f35f981160c0ab6371d03e762731"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): convex/lib/skillCardClaims.ts:23 \u00B7 convex/lib/skillCardClaims.ts:84 \u2014 the two spans are one implementation copied and then locally edited \u2014 65 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/skillCardClaims.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e83ebe42c74daa648a8835e55d18f1b25667fd5d61e6b44f9430bbeb59efefe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): convex/maintenance.ts:956 \u00B7 convex/packages.ts:12283 \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":"convex/maintenance.ts"},"region":{"startLine":956}}}],"partialFingerprints":{"codehealthFindingId/v1":"e61dcd416ba400cbff08607b927ecb40aad9b907e2f02b458b21840476170180"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): convex/packages.ts:1435 \u00B7 convex/skills.ts:5814 \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":"convex/packages.ts"},"region":{"startLine":1435}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b5fd95ab24a08e52b13b51f7030b3c55c8d39d96e6f0de50b883ad34af25092"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): convex/packages.ts:2295 \u00B7 convex/packages.ts:5256 \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":"convex/packages.ts"},"region":{"startLine":2295}}}],"partialFingerprints":{"codehealthFindingId/v1":"952b4248e805605fa856a8512871ff522696d9ab89f708fdc0e1025a615033ae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): convex/packages.ts:2738 \u00B7 convex/packages.ts:2950 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/packages.ts"},"region":{"startLine":2738}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed421369eb9487485e4b09573a0d11b5aae566cbc5485f78d6c43ee476a5eef4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): convex/packages.ts:5288 \u00B7 convex/skills.ts:9952 \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":"convex/packages.ts"},"region":{"startLine":5288}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0863f517841cafc2ed6684eeca13bb65891c296fac4ae777bf1b482d9a735c4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): convex/packages.ts:6039 \u00B7 convex/packages.ts:6108 \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":"convex/packages.ts"},"region":{"startLine":6039}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa85b466800dd9d1178113ae6f27640565177620d2e39874cb0152eea4b6f3a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): convex/packages.ts:6719 \u00B7 convex/skills.ts:3956 \u00B7 convex/skills.ts:8912 \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":"convex/packages.ts"},"region":{"startLine":6719}}}],"partialFingerprints":{"codehealthFindingId/v1":"9af3dac7ae457f790c8a8056920c55592d76c8d8c2efd9f065ac3d6f916d3772"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): convex/packages.ts:9184 \u00B7 convex/publishAttempts.ts:1778 \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":"convex/packages.ts"},"region":{"startLine":9184}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cfb9be565f2d9e1517afa3332d1ad51f5e7229a87d4a240dd068cb4e5f1db4b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): convex/packages.ts:9652 \u00B7 convex/publishers.ts:3149 \u00B7 convex/skills.ts:9025 \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":"convex/packages.ts"},"region":{"startLine":9652}}}],"partialFingerprints":{"codehealthFindingId/v1":"adc29cbd5b3aa5b82129c22b46b348e8c4c31edb4463cbf5d7ef6bc3be7e15ab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5 locations): convex/packages.ts:9710 \u00B7 convex/publishers.ts:3419 \u00B7 convex/publishers.ts:4402 \u00B7 convex/users.ts:774 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 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":"convex/packages.ts"},"region":{"startLine":9710}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcf4762fc4e5e5bedba79bc9a520bfa60fe3a969a9faa92ec927a45f3b020bde"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): convex/packages.ts:10104 \u00B7 convex/packages.ts:10317 \u00B7 convex/publishers.ts:2766 \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":"convex/packages.ts"},"region":{"startLine":10104}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac4f16febe2512bcd5cced5f6c7affa1cc0c31a123ce64afb5d0462c732c0f30"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): convex/packages.ts:10199 \u00B7 convex/packages.ts:10555 \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":"convex/packages.ts"},"region":{"startLine":10199}}}],"partialFingerprints":{"codehealthFindingId/v1":"f91b0a083a7a5b987c513ff28e891aaa75082868571b4d959892c22a609665de"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): convex/packages.ts:11187 \u00B7 convex/users.ts:1601 \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":"convex/packages.ts"},"region":{"startLine":11187}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc29f5f22602133aab99ad5560f7856e04a2b9c3d5f3828f886f03387ec0c032"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): convex/publishAttempts.ts:680 \u00B7 convex/publishAttempts.ts:1731 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/publishAttempts.ts"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5640224fc6128e81fbf5ab7b8c8147a6d4c8a6d59ce02535a7194cb5fb6d166"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): convex/publishAttempts.ts:931 \u00B7 convex/publishAttempts.ts:1581 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/publishAttempts.ts"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca5cd8023ed7b062ec755d81f8f9d8feb3b0bb9e9233754d523c118e47223be"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): convex/publisherAbuseDevSeed.ts:747 \u00B7 convex/publisherAbuseDevSeed.ts:760 \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":"convex/publisherAbuseDevSeed.ts"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddf5bbbbc2902626d7c3fd26cccea99c2fcf1c34b52d78cc9c3ee619387a2c19"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): convex/schema.ts:1056 \u00B7 convex/schema.ts:1666 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/schema.ts"},"region":{"startLine":1056}}}],"partialFingerprints":{"codehealthFindingId/v1":"450ea665f0a273204e0a1baac8da1e63e5456e1572bbe268a7c9f6929948d7bc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): convex/schema.ts:2065 \u00B7 convex/schema.ts:2471 \u2014 all 2 copies are in the same file, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/schema.ts"},"region":{"startLine":2065}}}],"partialFingerprints":{"codehealthFindingId/v1":"daed405f922949676a679aa3f7c2a3abcff182b8eac3c09f60e1bf809b6e3205"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): convex/schema.ts:3246 \u00B7 convex/skillsShMirror.ts:1075 \u2014 the 2 copies are spread across 2 files, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/schema.ts"},"region":{"startLine":3246}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0d039452e8b0f5f7138a3ed4675b0e9c902f1b04c3230124204964af57a76a4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): convex/securityScan.ts:555 \u00B7 convex/securityScan.ts:721 \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":"convex/securityScan.ts"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e2ead66e7d0f97f1362f8c7ce2f1e844f37ec9ff4e1a589ad175275ef02113a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): convex/securityScan.ts:1110 \u00B7 convex/skills.ts:8678 \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":"convex/securityScan.ts"},"region":{"startLine":1110}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ba4167f89a1a8b3183af78840571e15166dff662b412def05ec3c9b52637678"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): convex/securityScan.ts:1580 \u00B7 convex/securityScan.ts:2321 \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":"convex/securityScan.ts"},"region":{"startLine":1580}}}],"partialFingerprints":{"codehealthFindingId/v1":"539120e0a2b3ec38f83c5a7cd617579d7401a558e9fd3e14bd72a0a3e8f6954a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): convex/securityScan.ts:1749 \u00B7 convex/securityScan.ts:1841 \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":"convex/securityScan.ts"},"region":{"startLine":1749}}}],"partialFingerprints":{"codehealthFindingId/v1":"913930d52b9331ab9e2fbe257d199dfb47e68e3cee2f056d18af922bd4ce7877"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): convex/securityScan.ts:1775 \u00B7 convex/securityScan.ts:1871 \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":"convex/securityScan.ts"},"region":{"startLine":1775}}}],"partialFingerprints":{"codehealthFindingId/v1":"b16500183407897613cd36b8435ef9603d4339cde1a761b90e4b9ded3f19356b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4 locations): convex/skillReadme.ts:12 \u00B7 convex/skills.ts:8355 \u00B7 convex/skills.ts:8388 \u00B7 convex/skills.ts:8414 \u2014 the 4 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skillReadme.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"91117a807889b96abc9b72425b40ef4420e3b815949b4841e7fd5a8f13450db4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): convex/skillTransfers.ts:210 \u00B7 convex/skillTransfers.ts:309 \u00B7 convex/skillTransfers.ts:339 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skillTransfers.ts"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9f0395c7d228fa224809edce9e1fb6e09998d6354a69e73a15824f5a9d9dfc6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): convex/skills.ts:1969 \u00B7 convex/skills.ts:3392 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skills.ts"},"region":{"startLine":1969}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7b816c4e4ca63ba8f3b52803afb9ca1118f6da554e7eed3f95de14267345a8b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): convex/skills.ts:2854 \u00B7 convex/skills.ts:2876 \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":"convex/skills.ts"},"region":{"startLine":2854}}}],"partialFingerprints":{"codehealthFindingId/v1":"0836161c17af083344661b2891f69e390f622c1ce15bdbbe0fac4d82d63347f5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): convex/skills.ts:6044 \u00B7 convex/skills.ts:6087 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skills.ts"},"region":{"startLine":6044}}}],"partialFingerprints":{"codehealthFindingId/v1":"50b129458631454e4db37de77db345bf2456a4e334091bef4ab872e3d322ae53"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): convex/skills.ts:6220 \u00B7 convex/skills.ts:6231 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skills.ts"},"region":{"startLine":6220}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7bd4578da2bd810ba8fc4ae26e6d8f50c01f01f010a47381d2f142393dcb61c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): convex/skills.ts:7381 \u00B7 convex/skills.ts:7465 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skills.ts"},"region":{"startLine":7381}}}],"partialFingerprints":{"codehealthFindingId/v1":"46348f0431a8e4c0355c933625d14e3a908fc6a4d23a2bc2e5ca7557aaa626d2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): convex/skills.ts:7413 \u00B7 convex/skills.ts:7523 \u00B7 convex/skills.ts:7690 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skills.ts"},"region":{"startLine":7413}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec7b3f3c4010a0e6767fb204fee3c70274cb31612ec34a85324e30f09aeed72d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): convex/skillsShCatalog.ts:497 \u00B7 convex/skillsShMirror.ts:1188 \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":"convex/skillsShCatalog.ts"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"567adb34065bbf86bea73ead287c44e4ac0ae84a51548abed0f516c6c8c50672"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4 locations): convex/skillsShCatalog.ts:1130 \u00B7 convex/skillsShCatalog.ts:1338 \u00B7 convex/skillsShMirror.ts:1611 \u00B7 convex/skillsShMirror.ts:1786 \u2014 the 4 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skillsShCatalog.ts"},"region":{"startLine":1130}}}],"partialFingerprints":{"codehealthFindingId/v1":"d572b97cf665eb30fa3ab1d68e7f14bf411d1e5ae31c20e179ee92e2d4be06f5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): convex/skillsShMirror.ts:993 \u00B7 convex/skillsShMirrorVisibility.ts:392 \u00B7 convex/skillsShMirrorVisibility.ts:443 \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":"convex/skillsShMirror.ts"},"region":{"startLine":993}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9b8dea0057f94f5c5136e628bbcf11e933d30cc4b9b6221c16b8908b848bfc8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4 locations): convex/skillsShMirror.ts:1180 \u00B7 convex/skillsShMirror.ts:1364 \u00B7 convex/skillsShMirror.ts:1676 \u00B7 convex/skillsShMirror.ts:1791 \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":"convex/skillsShMirror.ts"},"region":{"startLine":1180}}}],"partialFingerprints":{"codehealthFindingId/v1":"d738e6060e30e7780595924318f15c1534f7c938768cb91e679668d5fc3ef007"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): convex/skillsShMirror.ts:1264 \u00B7 convex/skillsShMirror.ts:1790 \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":"convex/skillsShMirror.ts"},"region":{"startLine":1264}}}],"partialFingerprints":{"codehealthFindingId/v1":"30a85a14185c988c790a9bf962661c6f987c83267cdf0be2daa73c38f4e8b20c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): convex/statsMaintenance.ts:692 \u00B7 convex/statsMaintenance.ts:717 \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":"convex/statsMaintenance.ts"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"941d20c6de42707aa09705dd48401b0ba3ebf7082ea6168868033f5a129d605a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): convex/users.ts:1614 \u00B7 convex/users.ts:2102 \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":"convex/users.ts"},"region":{"startLine":1614}}}],"partialFingerprints":{"codehealthFindingId/v1":"460540011e05143957d03bc9df3d8972aea91357b89f81d6f5f12733fac93521"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): convex/users.ts:1848 \u00B7 convex/users.ts:2548 \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":"convex/users.ts"},"region":{"startLine":1848}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae3ded70705b0371a68c92c36f8db689770c673f0dc4d7968cd4a6da7763d31d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): convex/users.ts:2033 \u00B7 convex/users.ts:2150 \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":"convex/users.ts"},"region":{"startLine":2033}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0b3d502a1b6a99a8feb41971cb0bb6119c20abcdb6713e695c946aa805c7fe4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): convex/users.ts:2440 \u00B7 convex/users.ts:2461 \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":"convex/users.ts"},"region":{"startLine":2440}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba4924dd7cd6401696015a8b12be9d512c70e9b0ebc76193ea1c19e4212d632f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 14 locations): packages/clawhub-admin/src/cli.ts:215 \u00B7 packages/clawhub-admin/src/cli.ts:244 \u00B7 packages/clawhub-admin/src/cli.ts:261 \u00B7 packages/clawhub-admin/src/cli.ts:464 \u00B7 \u002B10 more site(s) not listed \u2014 all 14 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/cli.ts"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd87d8de5308249674dd8b1ad4924c9fd28d81dfc01eef5189a801005f7ec33a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 7 locations): packages/clawhub-admin/src/cli.ts:598 \u00B7 packages/clawhub-admin/src/cli.ts:650 \u00B7 packages/clawhub-admin/src/cli.ts:662 \u00B7 packages/clawhub-admin/src/cli.ts:687 \u00B7 \u002B3 more site(s) not listed \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/cli.ts"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"895bd03972b8e606a3a72c4f5905cd75a244143dec30c4fdc325a44de8ecf58d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): packages/clawhub-admin/src/cli.ts:683 \u00B7 packages/clawhub-admin/src/cli.ts:760 \u00B7 packages/clawhub-admin/src/cli.ts:927 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/cli.ts"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eb0bb9602b17fb4ed27217a22a57801a121d7c3d19a6979bbb8ab58267d96f2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/clawhub-admin/src/commands/email.ts:167 \u00B7 packages/clawhub-admin/src/commands/orgs.ts:349 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/email.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"8461e8bbed9292bb3aa00d9cbf3276c98c1db89bb3b221e45d7a11bfacdec233"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/clawhub-admin/src/commands/managedMcp.ts:81 \u00B7 packages/clawhub-admin/src/commands/managedMcp.ts:97 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/managedMcp.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"37e48605d42ec17c7172b2ec3100af53d2d726dfbc90488dfdd19b37d12de6ac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): packages/clawhub-admin/src/commands/orgs.ts:138 \u00B7 packages/clawhub-admin/src/commands/orgs.ts:241 \u00B7 packages/clawhub-admin/src/commands/packages.ts:639 \u2014 the 3 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/orgs.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"3255d3bc210bff0d8ac513b0019f2a38717ea9d1838a8e9d16254be12f44e820"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4 locations): packages/clawhub-admin/src/commands/packages.ts:256 \u00B7 packages/clawhub/src/cli/commands/packages.ts:507 \u00B7 packages/clawhub/src/cli/commands/packages.ts:567 \u00B7 packages/clawhub/src/cli/commands/packages.ts:1778 \u2014 the 4 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/packages.ts"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"070e1bafeae5d4b2c6a0f5d1ec73088bbecc77d1e6adf741533526d00a1918a3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/clawhub-admin/src/commands/packages.ts:529 \u00B7 packages/clawhub-admin/src/commands/packages.ts:686 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/packages.ts"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ac8a6c8931158bd74356394ba39d6bc83e234d663fefb2286eb2fb030a68a0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): packages/clawhub/src/cli.ts:237 \u00B7 packages/clawhub/src/cli.ts:376 \u00B7 packages/clawhub/src/cli.ts:402 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli.ts"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"42d8a2d82a7b577da7c897f48a419f73d9f047498004a4b2ba0d274188662766"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/clawhub/src/cli/commands/inspect.ts:694 \u00B7 packages/clawhub/src/cli/commands/inspect.ts:812 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/inspect.ts"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"babff3728961f41a054b639605b65fed74e4e0fac42ce2aa6b814779b1dce32f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/clawhub/src/cli/commands/packages.ts:543 \u00B7 packages/clawhub/src/cli/commands/packages.ts:576 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/packages.ts"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8d5dc348f58d78a0d486909ffa7cb35497cbf80a8bed6930af3212a22e31c42"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/clawhub/src/cli/commands/skills.ts:216 \u00B7 packages/clawhub/src/cli/commands/transfer.ts:72 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/skills.ts"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"5976b0eeb3407c1f273ce81229fb8feb74d8cdeb4098cefb9e6436bc0f5359e6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/clawhub/src/http.ts:392 \u00B7 packages/clawhub/src/http.ts:409 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/http.ts"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba48f10c3057f2b25670ab6f72f92c58203150e5c13fbcb6ef4d024e9bd7f492"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 8 locations): packages/schema/src/packageShared.ts:66 \u00B7 packages/schema/src/packageShared.ts:213 \u00B7 packages/schema/src/packageShared.ts:553 \u00B7 packages/schema/src/packageShared.ts:621 \u00B7 \u002B4 more site(s) not listed \u2014 the 8 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/packageShared.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dba661f649a15ac9fc3cc16e9e9d491c86ff46376ca07af36c230bb29d76505"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/schema/src/packageShared.ts:187 \u00B7 packages/schema/src/packageShared.ts:922 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/packageShared.ts"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"af4524995149902c314eac9412878cdaaa6966b2bf2f8374a3acdf4d0709429e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): scripts/public-corpus/seed-catalog-presentation.ts:87 \u00B7 scripts/vercel-build-frontend.ts:51 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/public-corpus/seed-catalog-presentation.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa9e51d4b5185df52d9601a88d505563e50e574de218cf633a21ba070f81cce9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): scripts/security-dataset/convexExport.ts:83 \u00B7 scripts/security-dataset/convexExport.ts:98 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/security-dataset/convexExport.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"387b33e48f26ad18c5e4f690ef4dccf1e6479a0d92ea9932025785d58435a4ba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): scripts/security-dataset/export-snapshot.ts:903 \u00B7 scripts/security-dataset/merge-snapshots.ts:340 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/security-dataset/export-snapshot.ts"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"acea4f8baab20022369e095f68b67658e1e6a2552ed9653af20e594e7524bd4c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): scripts/seed.ts:144 \u00B7 scripts/setup-worktree.ts:350 \u2014 the two spans are one implementation copied and then locally edited \u2014 59 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/seed.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"20141e2e35d5ad31f136dbd47cd02256e564b2709aec4cf5e9828058d06ae1ac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 7 locations): scripts/skills-sh-catalog/prove-500.ts:374 \u00B7 scripts/skills-sh-catalog/prove-500.ts:473 \u00B7 scripts/skills-sh-catalog/prove-500.ts:511 \u00B7 scripts/skills-sh-catalog/prove-500.ts:528 \u00B7 \u002B3 more site(s) not listed \u2014 all 7 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/skills-sh-catalog/prove-500.ts"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"20c9a435ccdecc853bf3b9efe8e0b3517e846e63146fcacdda402804536fb1e5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): scripts/skills-sh-catalog/prove-500.ts:470 \u00B7 scripts/skills-sh-catalog/prove-500.ts:525 \u00B7 scripts/skills-sh-catalog/prove-500.ts:639 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/skills-sh-catalog/prove-500.ts"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"c26f5eaf4889ebc63866862b2f2f8210f706ac0b969e97e8522a7b51e2f20eac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): server/routes/dev-auth/secret.ts:30 \u00B7 server/routes/dev-auth/secret.ts:40 \u2014 the two spans are one implementation copied and then locally edited \u2014 51 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/routes/dev-auth/secret.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"e51c2db5c1f5922450351cb9d2483458cbbddf97b9c2ec34c67031fbd2a61e92"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/components/AppProviders.tsx:99 \u00B7 src/components/AppProviders.tsx:114 \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/AppProviders.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2430cb70cef58f89bf1657537ab38dbe42a91adb2692461b4e69168dca0b8f0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/components/CodeWrapToggle.tsx:25 \u00B7 src/routes/user/$handle.tsx:211 \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/CodeWrapToggle.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"def7dd989e36ca1162dc5ba80404df57a84db684dee65287bb7c6caa0a75b3e5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/components/SkillInstallCard.tsx:283 \u00B7 src/components/SkillInstallCard.tsx:294 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/SkillInstallCard.tsx"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc9a816854e4bf240b5d13fcb9745605000449103f5fe8623c287f543cc8909d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/components/SkillVersionsPanel.tsx:110 \u00B7 src/components/SkillVersionsPanel.tsx:134 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/SkillVersionsPanel.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ae4a8090e9b3d45fea335547f3c9228c41be61ea9aa10a50f65aaf87a42cdfb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/components/SkillVersionsPanel.tsx:125 \u00B7 src/components/SkillVersionsPanel.tsx:149 \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/SkillVersionsPanel.tsx"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"f24335176a30edfa506b7d729dba1c8f75ba676250ecbb06325a7ec650547cdd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/components/dashboard/DashboardCatalogView.tsx:186 \u00B7 src/components/dashboard/DashboardCatalogView.tsx:344 \u2014 both copies are in the same file, so extract the block into one function there 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/dashboard/DashboardCatalogView.tsx"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c5a9f44561f0b2977b5fb58209b80d720793bcd2c42f5440c362188930b187"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/lib/homeListingData.ts:348 \u00B7 src/lib/homeListingData.ts:491 \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/lib/homeListingData.ts"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"f614ee88171a0ddae0fdba2e539d673e5ceebf5636f8137901adb14883dc418c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): src/routes/$owner/skills/$slug.tsx:12 \u00B7 src/routes/$owner/skills/$slug/security-audit.tsx:10 \u00B7 src/routes/$owner/skills/$slug/settings.tsx:10 \u2014 the 3 copies are spread across 3 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/routes/$owner/skills/$slug.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"099f15bb079fb5a483c03940ba16f0b9fb82f98f6954d6e46b74338057ce3558"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/routes/-management/ReportsPage.tsx:55 \u00B7 src/routes/-management/SkillsPage.tsx:151 \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/routes/-management/ReportsPage.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"f31a011f6309189be5a01d0bccb118bccc12d504357e0c3c93a06ec4b3158e22"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): src/routes/dashboard.tsx:337 \u00B7 src/routes/skills/-SkillsResults.tsx:144 \u2014 the two spans are one implementation copied and then locally edited \u2014 60 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/routes/dashboard.tsx"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"6197bc232dad78784e2c53e9fee84bf4e100674cc29dc810ea8c85acfe9c4ede"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/routes/management.tsx:627 \u00B7 src/routes/management.tsx:672 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/management.tsx"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0a3e3c87292616e60fb3128647b77f5b955e3f2fdbe837c59fe64a9442e7d99"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/routes/plugins/$name.tsx:571 \u00B7 src/routes/plugins/$name.tsx:638 \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/routes/plugins/$name.tsx"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f49e0114a1d00f301b4cf01bfb7e719d633cdfacab28997981cfc3b12317769"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/routes/plugins/publish.tsx:248 \u00B7 src/routes/skills/publish.tsx:231 \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/routes/plugins/publish.tsx"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"accb5715da341e930244bf33229904ae11585cba6271ea7fd1eed45b39d6c183"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/routes/skills/-SkillsResults.tsx:41 \u00B7 src/routes/skills/-SkillsResults.tsx:89 \u2014 both copies are in the same file, so extract the block into one function there 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/routes/skills/-SkillsResults.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b7115007600fa61a8cd79e68a3cf8f77feae53ac35b833757c7d17309c44e42"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): convex/agentSkillsHttp.ts:111 \u00B7 convex/httpApiV1/skillsShCatalogV1.ts:1154 \u2014 the two spans are one implementation copied and then locally edited \u2014 60 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":"convex/agentSkillsHttp.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"9898d4ee825a67de1caf3fa2d375c29c6178db6818b57b360237ca737f0af757"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): convex/canonicalTrending.ts:626 \u00B7 convex/canonicalTrending.ts:635 \u00B7 convex/canonicalTrending.ts:644 \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":"convex/canonicalTrending.ts"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"03491519564cd2a2795fe54c9d2ad1c3fba62ba269f73357dbb8a86978c2236c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): convex/dashboard.ts:84 \u00B7 convex/skills.ts:6013 \u00B7 convex/skills.ts:6061 \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":"convex/dashboard.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"81056e6e60936e5ca8a6cdf017bfef8de3a1a661b573ded203fab6e317f8ba19"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): convex/devSeed.ts:2127 \u00B7 convex/devSeed.ts:2139 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/devSeed.ts"},"region":{"startLine":2127}}}],"partialFingerprints":{"codehealthFindingId/v1":"815a117940c671e95042ea8139f58fe7451bf85ea41140980f4cdea416fc2a2c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): convex/devSeed.ts:2404 \u00B7 convex/skills.ts:2080 \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":"convex/devSeed.ts"},"region":{"startLine":2404}}}],"partialFingerprints":{"codehealthFindingId/v1":"48187f558e3d008620ceef21ac689e6560a6bf7b1ddcda940605a36d2c30f263"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): convex/devSeed.ts:816 \u00B7 convex/devSeedPackageTrending.ts:27 \u2014 the two spans are one implementation copied and then locally edited \u2014 56 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":"convex/devSeed.ts"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e3b7cd8b4fc95054e465e9e0266c78084fb1b32f51d3d4d27f85afcaade7c2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): convex/featuredSkills.ts:79 \u00B7 convex/securityScan.ts:1718 \u2014 the two spans are one implementation copied and then locally edited \u2014 73 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":"convex/featuredSkills.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebeed5de4a832671f6a401962569a16be1a22b6155f1d199aabdaaf191e3610b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): convex/functions.ts:382 \u00B7 convex/functions.ts:412 \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":"convex/functions.ts"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"a36299172867d75413b97e4cb7b097f1a00245bbf114bed634fd362c61eafa50"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5 locations): convex/githubAccountAgeBackfill.ts:114 \u00B7 convex/packages.ts:7477 \u00B7 convex/publishers.ts:3597 \u00B7 convex/publishers.ts:3693 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 4 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":"convex/githubAccountAgeBackfill.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"e759c1e8b5bac9ab888f3799a44fdc20ad55817a266a4605b853c07511326ea4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): convex/githubImport.ts:473 \u00B7 src/routes/import.tsx:218 \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":"convex/githubImport.ts"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ba8394eca540952d23e3a69a9fbb3f46a3d40f7de6feff441db6035ade13343"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): convex/githubSkillSources.ts:158 \u00B7 convex/githubSkillSources.ts:204 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/githubSkillSources.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcdb89a1d9f9b3b74617e7f19642e17a31980cf62e37a1f6cfef2bbad5b36881"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): convex/githubSkillSync.ts:335 \u00B7 convex/publisherAbuse.ts:1334 \u00B7 convex/publisherAbuseTemporalScan.ts:520 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/githubSkillSync.ts"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"2abf969b39f476087462bba730be3f20ce5264d9096ded2979d751f577e35114"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): convex/githubSkillSync.ts:1333 \u00B7 convex/githubSkillSync.ts:1416 \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":"convex/githubSkillSync.ts"},"region":{"startLine":1333}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c3e57a83f26c02eff10b24cac6acd42f672c350039938b7dba658b9b9950bb2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): convex/githubSkillSync.ts:1707 \u00B7 convex/skillTransfers.ts:58 \u00B7 convex/skillTransfers.ts:70 \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":"convex/githubSkillSync.ts"},"region":{"startLine":1707}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ec28f852fcf8e9f26cbb9c3afe5d360a23069ce54cdc08cb0829bccee5ca39a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): convex/githubSkillSync.ts:2062 \u00B7 convex/publisherAbuse.ts:1334 \u00B7 convex/publisherAbuseTemporalScan.ts:520 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/githubSkillSync.ts"},"region":{"startLine":2062}}}],"partialFingerprints":{"codehealthFindingId/v1":"58add73b6ffa2a73abaab1a720463d39666d4a02158c5a4d2438d06bed8242f1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 17 locations): convex/http.ts:21 \u00B7 convex/http.ts:41 \u00B7 convex/http.ts:50 \u00B7 convex/http.ts:59 \u00B7 \u002B13 more site(s) not listed \u2014 all 17 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":"convex/http.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a97e4841ab2698d39ef7169200c0a61e380d3af26c1ecff31835f55b9e77a87"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): convex/httpApi.ts:264 \u00B7 convex/httpApi.ts:308 \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":"convex/httpApi.ts"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"5afbebcf3a93b0662b445ffa5e563318457ed32bfebdad7c002c15d1bd1f18ab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): convex/httpApi.ts:292 \u00B7 convex/httpApi.ts:362 \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":"convex/httpApi.ts"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"03ed8dfccacc893e1779090fd5069c4d71d7ae9edcbb94b3f700d474f2c75ca7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): convex/httpApiV1/packagesV1.ts:3550 \u00B7 convex/httpApiV1/skillsV1.ts:1734 \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":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":3550}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdae13df91a3bde81292303bbe35e7637a6117d8486860f83621c53ce8ec83e2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): convex/httpApiV1/packagesV1.ts:3692 \u00B7 convex/httpApiV1/packagesV1.ts:3744 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":3692}}}],"partialFingerprints":{"codehealthFindingId/v1":"4246453ae31ce45164b4e8b442dd2cbb3241c2cedfcd516d66bfa32b539b99f0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): convex/httpApiV1/publishersV1.ts:16 \u00B7 convex/httpApiV1/usersV1.ts:123 \u2014 the two spans are one implementation copied and then locally edited \u2014 69 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":"convex/httpApiV1/publishersV1.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e2aab6e8ab192a68e2c9d7a206907922b6344868d5b5dfb8987721f26686b96"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): convex/httpApiV1/skillsV1.ts:740 \u00B7 convex/lib/skillCards.ts:64 \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":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ccd0b3e3fd740211c7c2039c0719835a05afe2cd132b475655d3a4944d5144"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): convex/httpApiV1/skillsV1.ts:1904 \u00B7 convex/httpApiV1/skillsV1.ts:2299 \u00B7 convex/httpApiV1/skillsV1.ts:2432 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":1904}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b99b159070e6364d77a43c4fdcd932bd90c6b24628241eb771ff06b73835f0e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): convex/httpApiV1/skillsV1.ts:2678 \u00B7 convex/httpApiV1/skillsV1.ts:2692 \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":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":2678}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c914b156b04cd2657965f4f14fb57bb3da584fd842495ad282beb7f27036aa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): convex/httpApiV1/skillsV1.ts:3263 \u00B7 convex/httpApiV1/skillsV1.ts:3315 \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":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":3263}}}],"partialFingerprints":{"codehealthFindingId/v1":"9763d048d7c526d3a2f2b81027397641cd8a2334714811a11747b7c3f2f2b3fb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): convex/httpApiV1/skillsV1.ts:3653 \u00B7 convex/httpApiV1/skillsV1.ts:4021 \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":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":3653}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ceff7e1f143b6668bc80d8edd0664bcb0b7cbafb6667c5dbbc4400ea0193aca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): convex/lib/githubAccount.ts:56 \u00B7 convex/lib/githubAccount.ts:100 \u2014 the two spans are one implementation copied and then locally edited \u2014 77 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/githubAccount.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"075f500190a59317eb6d2a7c3699d2efbb1b5b805884f6527f5eb9bc6964378c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): convex/lib/globalStats.ts:30 \u00B7 convex/lib/globalStats.ts:50 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/globalStats.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"0435390473a1a4fd6d6f5674678a0da4a2cbc28385550c933f3f6371bfc9ee87"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): convex/lib/globalStats.ts:144 \u00B7 convex/skillsShMirrorVisibility.ts:369 \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":"convex/lib/globalStats.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7b5c01e92c43cd7fae7fb2a85ec2e470d24ec27b29e92d74aff29d8b0a65bd0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): convex/lib/packageArchiveHttp.ts:62 \u00B7 convex/packageInspectorHttp.ts:167 \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":"convex/lib/packageArchiveHttp.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc4e23a5bc46fdeab8e78886c92daf8e6d8a2a2d7595388d0115c2024cd2a1ac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 11 locations): convex/lib/packageSdkUsageContract.ts:38 \u00B7 convex/packages.ts:325 \u00B7 convex/schema.ts:534 \u00B7 convex/schema.ts:1108 \u00B7 \u002B7 more site(s) not listed \u2014 the 4 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":"convex/lib/packageSdkUsageContract.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dfe5eeef0bc87bd7851debaa27f013eda937c51e676d1b4879c7988e4617344"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): convex/lib/securityDatasetContent.ts:12 \u00B7 convex/lib/securityDatasetContent.ts:46 \u2014 the two spans are one implementation copied and then locally edited \u2014 62 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/securityDatasetContent.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"063b70cc5b9bf64bb0ad90e42533e366ad70b137a7b96f256a3dd4f96dcb7923"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): convex/lib/skillPageRead.ts:65 \u00B7 convex/skills.ts:479 \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":"convex/lib/skillPageRead.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"271019e00b90ae9976f6442951c1c8ed4f1c7ce37eb3194d53c1ef71d1c5c936"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): convex/lib/skillPublish.ts:387 \u00B7 convex/skills.ts:8770 \u2014 the two spans are one implementation copied and then locally edited \u2014 61 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":"convex/lib/skillPublish.ts"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b7e626e86883f6c371ce331374e81898eb2884f54c2a76038dfa06d72774df5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 12 locations): convex/maintenance.ts:918 \u00B7 convex/maintenance.ts:937 \u00B7 convex/maintenance.ts:2062 \u00B7 convex/maintenance.ts:2918 \u00B7 \u002B8 more site(s) not listed \u2014 the 12 copies are spread across 6 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":"convex/maintenance.ts"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"792e670e08c34c078c64afe85b2c270de670eaa00e128b8795b7cfcc2c0a6aa1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): convex/maintenance.ts:1219 \u00B7 convex/maintenance.ts:1952 \u00B7 convex/maintenance.ts:2189 \u00B7 convex/maintenance.ts:2293 \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":"convex/maintenance.ts"},"region":{"startLine":1219}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc01a191fcaa09a2d4b06588eb62883238868d84648b791236c7c6882f3d626b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 8 locations): convex/maintenance.ts:1263 \u00B7 convex/maintenance.ts:1273 \u00B7 convex/maintenance.ts:1527 \u00B7 convex/maintenance.ts:3721 \u00B7 \u002B4 more site(s) not listed \u2014 the 8 copies are spread across 3 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/maintenance.ts"},"region":{"startLine":1263}}}],"partialFingerprints":{"codehealthFindingId/v1":"6637d3d8984b5bdb1a31f5793a4c5ab775d0d8085ed8fdd1fe56f5024e7d17de"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): convex/maintenance.ts:1450 \u00B7 convex/maintenance.ts:3915 \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":"convex/maintenance.ts"},"region":{"startLine":1450}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce88669b8fb9f09ff319c3c0f7a47b3c41d58aa71acc67a77d5727985956dc0b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): convex/maintenance.ts:2714 \u00B7 convex/maintenance.ts:2855 \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":"convex/maintenance.ts"},"region":{"startLine":2714}}}],"partialFingerprints":{"codehealthFindingId/v1":"e16058f6c0d73d886e94628a463e2958b89a85cd9178ba473f9d6b51d8e03042"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): convex/maintenance.ts:3316 \u00B7 convex/migrations.ts:1595 \u00B7 convex/migrations.ts:1792 \u2014 the 3 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/maintenance.ts"},"region":{"startLine":3316}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2ae9054f60c0d2d9b1b951112704df43a4e32865a197ff0cd031f053f7a496a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): convex/migrations.ts:70 \u00B7 convex/schema.ts:959 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/migrations.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cec47a8ec74ac1f308cce810b86997ef52587ff39ba79a7e305868ba1318621"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6 locations): convex/migrations.ts:591 \u00B7 convex/searchWeeklyDigest.ts:257 \u00B7 convex/skillStatEvents.ts:1127 \u00B7 convex/skillStatEvents.ts:1141 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 4 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":"convex/migrations.ts"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a35a89f28d99df3eac2d4c69ec81a1c1c3a1d9f2aa2f137a8db35525c29ef87"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): convex/packageInspectorHttp.ts:196 \u00B7 convex/packageInspectorHttp.ts:251 \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":"convex/packageInspectorHttp.ts"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea0afdf4672ac6152d1157b5d3ad610421e31b195691b53493418007e2cfe30d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): convex/packages.ts:1351 \u00B7 convex/skills.ts:3150 \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":"convex/packages.ts"},"region":{"startLine":1351}}}],"partialFingerprints":{"codehealthFindingId/v1":"27609fcb83c59ce87bc2bba1062d946fba147eee52e720ab25020dae3f7c1aa3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): convex/packages.ts:1769 \u00B7 convex/packages.ts:1856 \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":"convex/packages.ts"},"region":{"startLine":1769}}}],"partialFingerprints":{"codehealthFindingId/v1":"3efd68ac043a32baef7e0c5154c489089a0f3978f5b49bbaa39928a78f50c089"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): convex/packages.ts:2815 \u00B7 convex/packages.ts:2963 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/packages.ts"},"region":{"startLine":2815}}}],"partialFingerprints":{"codehealthFindingId/v1":"e981e4083e1ec7cbb193c7bf09587e3ea27a7fd6ffc2eac0a5497dd1abce4ce8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): convex/packages.ts:3969 \u00B7 convex/packages.ts:4600 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/packages.ts"},"region":{"startLine":3969}}}],"partialFingerprints":{"codehealthFindingId/v1":"a69ac4b83455e802b571cf95c8af1018127ef824d2fba080284c4dea0c790101"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): convex/packages.ts:4508 \u00B7 convex/skills.ts:6124 \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":"convex/packages.ts"},"region":{"startLine":4508}}}],"partialFingerprints":{"codehealthFindingId/v1":"a293f91a7ba73f524aa3bd54618779b534e97bec6c85ebe74148331f55290988"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): convex/packages.ts:4862 \u00B7 convex/publisherAbuse.ts:392 \u00B7 convex/skills.ts:1951 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/packages.ts"},"region":{"startLine":4862}}}],"partialFingerprints":{"codehealthFindingId/v1":"f42dead48031aa225e73afccc218e51d361d01d861185909b63a6be244afdde2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): convex/packages.ts:5427 \u00B7 convex/packages.ts:5469 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/packages.ts"},"region":{"startLine":5427}}}],"partialFingerprints":{"codehealthFindingId/v1":"424a02ad77089d3d337110abf0cc002bbbcba8ece9cf15d83d69a6151de0aaa7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5 locations): convex/packages.ts:5928 \u00B7 convex/packages.ts:9666 \u00B7 convex/skills.ts:9825 \u00B7 convex/skills.ts:9955 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 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":"convex/packages.ts"},"region":{"startLine":5928}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4f59c73c58f08864a69d751252df5099a1a2d4fa8ac91c6a7c9181983efb3dc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): convex/packages.ts:6088 \u00B7 convex/securityScan.ts:1778 \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":"convex/packages.ts"},"region":{"startLine":6088}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc65301763f8672f2d059f74746a02e18192f2c45c9d9fe565aeadfda89967e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 7 locations): convex/packages.ts:6178 \u00B7 convex/skills.ts:7154 \u00B7 convex/skills.ts:7241 \u00B7 convex/skills.ts:7305 \u00B7 \u002B3 more site(s) not listed \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":"convex/packages.ts"},"region":{"startLine":6178}}}],"partialFingerprints":{"codehealthFindingId/v1":"8add7f0d3feb41260af7fe01012adcefbf3c29bd75474bc458aa5d9efd0d8555"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): convex/packages.ts:6252 \u00B7 convex/packages.ts:6268 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/packages.ts"},"region":{"startLine":6252}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a077e4f901f0fe09f03d1343a0a18be8f61a29f6713e511d0404ae17031e965"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): convex/packages.ts:10381 \u00B7 convex/packages.ts:10399 \u2014 all 2 copies are in the same file, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/packages.ts"},"region":{"startLine":10381}}}],"partialFingerprints":{"codehealthFindingId/v1":"a34abf34b9571d5d30ce06d872c88774c58974355ec3d04ca16023ae2d97d795"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): convex/packages.ts:10507 \u00B7 convex/packages.ts:10521 \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":"convex/packages.ts"},"region":{"startLine":10507}}}],"partialFingerprints":{"codehealthFindingId/v1":"d229b87f63dc145f8be3c179cfab34d8c4046cd1f6f82adf9ec10527df0f0cdb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): convex/packages.ts:10954 \u00B7 convex/skills.ts:11142 \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":"convex/packages.ts"},"region":{"startLine":10954}}}],"partialFingerprints":{"codehealthFindingId/v1":"a65b31aa733f30d47ec861b468b299c5317930713004e6de2455f0dd16b17dff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): convex/packages.ts:12084 \u00B7 convex/packages.ts:12142 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/packages.ts"},"region":{"startLine":12084}}}],"partialFingerprints":{"codehealthFindingId/v1":"09582e2ff4391bf57dd1ad6cf64424fbd49043e463d5aaeb28bb52f2af2d71e1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): convex/pluginCategoryRefresh.ts:458 \u00B7 convex/skillsShCatalog.ts:2477 \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":"convex/pluginCategoryRefresh.ts"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"d986f7ca564b2942b7af59ebc8911c6359953271509a16b760c9c80a44ab00b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): convex/promotions.ts:481 \u00B7 convex/users.ts:1545 \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":"convex/promotions.ts"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"c82713a1c16611697580353a09b70831131d90ca504de72eebb3c295c2ee3c62"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): convex/publisherAbuse.ts:2342 \u00B7 convex/publisherAbuse.ts:2352 \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":"convex/publisherAbuse.ts"},"region":{"startLine":2342}}}],"partialFingerprints":{"codehealthFindingId/v1":"137a24c62d70fd324f915bdd3d6d1cf8e65f7b525b8203630ee39fb6b4b0ae86"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): convex/publisherAbuse.ts:3107 \u00B7 convex/publisherAbuse.ts:3130 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/publisherAbuse.ts"},"region":{"startLine":3107}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7683ee385358c98fab0da4ab7736cd81407c17739313cea272a80cecf9157be"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): convex/publisherAbuseOwnerSynchrony.ts:57 \u00B7 convex/publisherAbuseTemporalScan.ts:42 \u00B7 convex/schema.ts:3553 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/publisherAbuseOwnerSynchrony.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdaf9e45d1008fef4936108e0f0910678d262f977a6ece86a2e121a9bdd42296"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): convex/publisherAbuseTemporalScan.ts:125 \u00B7 convex/publisherAbuseTemporalScan.ts:775 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/publisherAbuseTemporalScan.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"9175c379bf4654e2b09a931eb58822c98aa060d60e9b829fa7c85378185090c3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): convex/publishers.ts:2780 \u00B7 convex/publishers.ts:2837 \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":"convex/publishers.ts"},"region":{"startLine":2780}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a30106859d4c837541e0d6659ac557157bd34bcedd6d67670eb9a9c66e9d378"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): convex/publishers.ts:3444 \u00B7 convex/publishers.ts:3530 \u00B7 convex/publishers.ts:3607 \u00B7 convex/publishers.ts:3704 \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":"convex/publishers.ts"},"region":{"startLine":3444}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9e31b094498995bd6ac2bda8cddbd4246c04e47f001feafba5afe25fc2bd6cf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): convex/rateLimits.ts:40 \u00B7 convex/securityScan.ts:405 \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":"convex/rateLimits.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b88f1b45e7495ebe24d762b8e2e74001ac18d18afa8761779ef17668d5cdca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): convex/retention.ts:20 \u00B7 convex/securityScan.ts:2393 \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":"convex/retention.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c9535920b2f411275c6af6bed4943c96c9b35eb06618299e9b762363eb1e5e4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): convex/search.ts:1233 \u00B7 convex/search.ts:1280 \u00B7 convex/search.ts:1537 \u00B7 convex/search.ts:1846 \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":"convex/search.ts"},"region":{"startLine":1233}}}],"partialFingerprints":{"codehealthFindingId/v1":"72f4755c0b3aa1c081710e19845e3e77ee9540411db2b4e567b141d6dccee1a7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): convex/searchInsights.ts:379 \u00B7 convex/searchInsights.ts:394 \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":"convex/searchInsights.ts"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"45f1831a56fa47350ff791f7f3a0c5df4c9a717f0515b4eba6b5859f08d5f93a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): convex/searchWeeklyDigest.ts:77 \u00B7 convex/searchWeeklyDigest.ts:229 \u2014 the two spans are one implementation copied and then locally edited \u2014 75 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/searchWeeklyDigest.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"7994c2ea049bcc051db00807e6e02ed5a0fe8385f1f6b0e179877dbad0148534"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): convex/securityDataset.ts:348 \u00B7 scripts/security-dataset/convexExport.ts:514 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/securityDataset.ts"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"df4c58cb245a0b506c57e2cab9bd0700bffea5464479b3ed30e6c3282e0c85f3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): convex/securityScan.ts:3744 \u00B7 convex/skillEvaluations.ts:354 \u2014 the 2 copies are spread across 2 files, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/securityScan.ts"},"region":{"startLine":3744}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed2b01fb35c0b82c45989d430720b5cbc19744d09216251fa5c01c4e8059cc05"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): convex/skillTransfers.ts:61 \u00B7 convex/skillTransfers.ts:73 \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":"convex/skillTransfers.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d6f1644aeb31ead6e673c22a97e07326470fd269ee872804913a2fa578bdec1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): convex/skills.ts:2057 \u00B7 convex/skills.ts:6587 \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":"convex/skills.ts"},"region":{"startLine":2057}}}],"partialFingerprints":{"codehealthFindingId/v1":"602d57b0e782a0fa34622da6b707498500472874d3e5aa3b7d5219c377e83ca8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): convex/skills.ts:2254 \u00B7 convex/skills.ts:2794 \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":"convex/skills.ts"},"region":{"startLine":2254}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1443dbbfd10f4cae6f697459abe242e91038753da4b7002cccdb0b165285766"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): convex/skills.ts:3341 \u00B7 convex/skills.ts:3373 \u00B7 convex/skills.ts:3421 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skills.ts"},"region":{"startLine":3341}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c487a91bede701c9a93d5c06ec8af89a6f619f4b60e21c71e6b86c0f8784ffc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): convex/skills.ts:5213 \u00B7 convex/skills.ts:5231 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skills.ts"},"region":{"startLine":5213}}}],"partialFingerprints":{"codehealthFindingId/v1":"25c379a1b3ca14c847fa8ba5cb956288c9a9ca4bd476d1e039f847fa12717911"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5 locations): convex/skills.ts:7156 \u00B7 convex/skills.ts:7243 \u00B7 convex/skills.ts:7345 \u00B7 convex/skills.ts:7389 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skills.ts"},"region":{"startLine":7156}}}],"partialFingerprints":{"codehealthFindingId/v1":"31dd661ed41f340de6d7ccc0cd0bbbfc2b2f0bcc2ec597dba5f1191f827b1290"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): convex/skills.ts:8044 \u00B7 convex/skills.ts:8657 \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":"convex/skills.ts"},"region":{"startLine":8044}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd05839d8108e5c9dacd9eda64df6c78d1573f1d33fda433ae1b4644a9ba9760"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): convex/skills.ts:8192 \u00B7 convex/skills.ts:10365 \u2014 all 2 copies are in the same file, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skills.ts"},"region":{"startLine":8192}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d32ec06074609bceae4b68a89a75466dbe38a53cea131d71f006fac9030a800"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): convex/skills.ts:9959 \u00B7 convex/users.ts:1550 \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":"convex/skills.ts"},"region":{"startLine":9959}}}],"partialFingerprints":{"codehealthFindingId/v1":"d666f852d09cd55426713bb5553724dce4d130a8f451be5888f93ed7521eb7a8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): convex/skills.ts:11400 \u00B7 convex/skills.ts:11422 \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":"convex/skills.ts"},"region":{"startLine":11400}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2391578bdc3afe26208d961b9fd5f235b56b66e2ca1798d4fd7d90261edfdeb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): convex/skillsShCatalog.ts:265 \u00B7 convex/skillsShMirror.ts:148 \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":"convex/skillsShCatalog.ts"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"74fb90a8b6ffc0262e527a3811a3efbb63ce73d588c0d469616ed6ba6e59dfeb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): convex/skillsShCatalog.ts:300 \u00B7 server/skillsShCatalogSource.ts:1324 \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":"convex/skillsShCatalog.ts"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8025dcfda07250b0927e6a68ada985d134eaddf9221aaef4a8844afde2c2f4e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): convex/skillsShCatalog.ts:541 \u00B7 convex/skillsShCatalog.ts:583 \u00B7 convex/skillsShCatalog.ts:2700 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skillsShCatalog.ts"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f246ade0ec01aef904a158bf8259fd3613c8d401a565b8eee25ab9fa75c85e9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): convex/statsMaintenance.ts:600 \u00B7 convex/statsMaintenance.ts:625 \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":"convex/statsMaintenance.ts"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"fecf058601f715a641053f43f2433d92929ec734e9e3d9a02ee1342b73f89d95"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): convex/users.ts:321 \u00B7 convex/users.ts:336 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/users.ts"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"710b9ccf55fbb2251bdb5ba121942530aa11aa36ed02f142853b08d784a20c4b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): convex/users.ts:1900 \u00B7 convex/users.ts:1991 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/users.ts"},"region":{"startLine":1900}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d51456dc46cb631649c2e5419d064adfc2edbe3503ab553ef1fb4e91615d61d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): convex/users.ts:2754 \u00B7 convex/users.ts:2786 \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":"convex/users.ts"},"region":{"startLine":2754}}}],"partialFingerprints":{"codehealthFindingId/v1":"657c64675262f428d2ed56b25a180e3d2875a484cac7d9ff47cb3bc17fd91c2f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/clawhub-admin/src/cli.ts:95 \u00B7 packages/clawhub/src/cli.ts:72 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/cli.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"f39da131fba9cb70ee065c05ead4aab7cbcba590e3c31c222295a3e30a85a5ed"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/clawhub-admin/src/cli.ts:771 \u00B7 packages/clawhub-admin/src/cli.ts:938 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/cli.ts"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba15c8ca90a24cd877387db94d65f2a7bace1c1501451be8fed13612d1d6f060"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): packages/clawhub-admin/src/commands/contentRights.ts:49 \u00B7 packages/clawhub/src/cli/commands/packages.ts:1783 \u00B7 packages/clawhub/src/cli/commands/packages.ts:1937 \u00B7 packages/clawhub/src/cli/commands/packages.ts:1966 \u2014 the 4 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/contentRights.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"83cd27503bd7f11f012c9373a86b3328d3abed6d6cf952d8a9fec41a2a99171c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): packages/clawhub-admin/src/commands/promotions.ts:151 \u00B7 packages/clawhub/src/cli/commands/delete.ts:126 \u2014 the two spans are one implementation copied and then locally edited \u2014 56 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/promotions.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf63a7feabfa923cefa89421bd87970acfc1cf7739d2bb6527f637e40b1affb6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): packages/clawhub/src/cli.ts:593 \u00B7 packages/clawhub/src/cli.ts:781 \u00B7 packages/clawhub/src/cli.ts:791 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli.ts"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"5054cfe85f7b301c6a553d0c64d13531f47ce57d1a2fe31e9de0c9400e1f80b2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): packages/clawhub/src/cli.ts:776 \u00B7 packages/clawhub/src/cli.ts:786 \u00B7 packages/clawhub/src/cli.ts:796 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli.ts"},"region":{"startLine":776}}}],"partialFingerprints":{"codehealthFindingId/v1":"785281c9c512a04eb8096f6debcaf3ca4d3adb272667d3570a62525e2f4fdcaa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/clawhub/src/cli/commands/inspect.ts:234 \u00B7 packages/clawhub/src/cli/commands/packages.ts:453 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/inspect.ts"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"84d35833fad48094a3d1ccfc4771c94a01a4eaefc1e296796f43a06d5a34fddb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/clawhub/src/cli/commands/inspect.ts:862 \u00B7 src/lib/uploadUtils.ts:30 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/inspect.ts"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"eba63b4312988b297fa4ee7c2fba88931e4997415420f5a1250f18cc121e4d28"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/clawhub/src/cli/commands/publish.ts:488 \u00B7 packages/clawhub/src/cli/commands/sync.ts:443 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/publish.ts"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6410ca03cb21255ba1aeea6b1cfd35ed64826ff0d904a72b22b506f8d98a555"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/clawhub/src/cli/commands/skills.ts:581 \u00B7 packages/clawhub/src/cli/commands/skills.ts:1082 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/skills.ts"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"96ecf5289537ba6d83efa17641ef9ba31d5ab792eb320fb401bfd6fa8fd9d1c5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): packages/clawhub/src/discovery.ts:33 \u00B7 packages/clawhub/src/http.ts:504 \u2014 the two spans are one implementation copied and then locally edited \u2014 76 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/discovery.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"a17c39f486304155ba7f60dbbd098a821a118f5bc42ab5eeb5c374908e6031e9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): scripts/design-audit/run-codex.ts:19 \u00B7 scripts/skill-cards/run-skill-card-worker.ts:206 \u2014 the two spans are one implementation copied and then locally edited \u2014 54 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/design-audit/run-codex.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"00c75793fae14cf4db69e918d934e06e6ed40972dd9c364753da844343a55c17"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/dev-worktree.ts:117 \u00B7 scripts/run-playwright-local-auth.ts:156 \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":"scripts/dev-worktree.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"c612e87e8234bfd1cfa1be2b309974b7203beab441906be203975813042fcfc4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): scripts/docs-list.ts:34 \u00B7 scripts/local-clawscan-dry-run.ts:366 \u2014 the two spans are one implementation copied and then locally edited \u2014 62 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/docs-list.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ee5b1885ddeae7ad505cc1a839679fb05cb55811d3a55dd58b9d3b3daf8a4b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): scripts/security/clawscan-diagnostic-fixed079.ts:59 \u00B7 scripts/security/clawscan-diagnostic-input.ts:229 \u00B7 scripts/security/clawscan-diagnostic-original.ts:50 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/security/clawscan-diagnostic-fixed079.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"074bbea3cf2e79dccf989fe98cd151b31e7e284e8d21e080a350a4dafe601bb3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/skills-sh-catalog/prove-500.ts:203 \u00B7 scripts/skills-sh-catalog/prove-500.ts:271 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/skills-sh-catalog/prove-500.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"904d5610fbcabd27356fe677961115c83de41e3bfcd43bf0c00507dd2329c7c6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/skills-sh-catalog/prove-mirror-request.ts:197 \u00B7 scripts/skills-sh-catalog/prove-mirror-request.ts:251 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/skills-sh-catalog/prove-mirror-request.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"e68bd4c8234d0fabd70663627b9284db868624344b621bc6e3894e4304a90cac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): server/og/fetchPluginOgMeta.ts:23 \u00B7 server/og/fetchSkillOgMeta.ts:46 \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":"server/og/fetchPluginOgMeta.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"32bcf2e6e26c261b2f948f19a2cae44d038c59b45a31d9d3611722491aa7bbc0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/components/BrowseControls.tsx:51 \u00B7 src/components/BrowseControls.tsx:80 \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/BrowseControls.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"567b76866fbef7edc9c5e6b7b326eacde3c03d2ed91047ff2800113e2c65f4a7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/components/BrowseControls.tsx:710 \u00B7 src/components/BrowseControls.tsx:719 \u2014 both copies are in the same file, so extract the block into one function there 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/BrowseControls.tsx"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d79544755796f25689774bc1f6f98e52b5a5f1fa1cc246b8685ed5c405320b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/components/PublisherOwnerSelect.tsx:54 \u00B7 src/routes/settings.tsx:1120 \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/PublisherOwnerSelect.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e2183fcca7ae301cabb1491a2681654cbe4db28ea499264d3dc49a72cb22a95"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 7 locations): src/components/ui/avatar.tsx:16 \u00B7 src/components/ui/avatar.tsx:28 \u00B7 src/components/ui/dialog.tsx:107 \u00B7 src/components/ui/dropdown-menu.tsx:72 \u00B7 \u002B3 more site(s) not listed \u2014 the 7 copies are spread across 5 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/ui/avatar.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"360d9ae88e9f6bd69ebcd19baf0ab78089d5abab2fb39c3514ea195c16aec4b9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/lib/skillReadmeLinks.ts:50 \u00B7 src/lib/skillReadmeLinks.ts:86 \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/lib/skillReadmeLinks.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"32254fe8cf5b355afdc4374e98672157ae40e7829452b7c5c638f73ee034beea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): src/routes/$owner/$slug/security-audit.tsx:21 \u00B7 src/routes/$owner/$slug/security/$scanner.tsx:7 \u00B7 src/routes/$owner/skills/$slug/security/$scanner.tsx:7 \u2014 the 3 copies are spread across 3 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. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/$owner/$slug/security-audit.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5a92d725928c1c4d0ae81173685e29b7becc894c79229d5d07fd23875f1d710"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/routes/$owner/$slug/security/$scanner.tsx:7 \u00B7 src/routes/$owner/skills/$slug/security/$scanner.tsx:7 \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/routes/$owner/$slug/security/$scanner.tsx"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"6af3bb5e88f8610270f6d20362c5bcb3a4434a37a0c77172403f1211ec2d7d4a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/routes/$owner/plugins/$slug.tsx:14 \u00B7 src/routes/$owner/plugins/$slug/security-audit.tsx:14 \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/routes/$owner/plugins/$slug.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"2478d35f54fdb19c5b229c699fb2d75a1f9e3fc06d5f28a1f7329442c4b7070f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/routes/$owner/templates/$slug_/security-audit.tsx:20 \u00B7 src/routes/plugins/$name/security-audit.tsx:22 \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/routes/$owner/templates/$slug_/security-audit.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"e02747aa29cb580d1f6e163c43e912a921fd86ba3e4d73572280231674a9aed0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/routes/plugins/index.tsx:649 \u00B7 src/routes/skills/-SkillsResults.tsx:161 \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/routes/plugins/index.tsx"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e8a736024f88c7b41f102de91c922db8fc2a1deedc54b48e8101e312f582a7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): src/routes/user/$handle.tsx:922 \u00B7 src/routes/user/$handle.tsx:940 \u2014 the two spans are one implementation copied and then locally edited \u2014 57 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/user/$handle.tsx"},"region":{"startLine":922}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7fcb63579d73e5c05d5e7a65834055d7f2bcb59e3e13f4efc0ce88f28a12a31"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): convex/canonicalTrending.ts:229 \u00B7 convex/canonicalTrending.ts:573 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/canonicalTrending.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c780caf9ef1f3471d4ece2ba7181b9b151e8209768f9e1f2972da41836c5d43"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): convex/canonicalTrending.ts:249 \u00B7 convex/skillsShMirrorVisibility.ts:670 \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":"convex/canonicalTrending.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"d97114227d74d6c1d5336d740c5329fe4ac51c2d99eed773c76d1de4bcfebd28"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): convex/canonicalTrending.ts:329 \u00B7 convex/canonicalTrending.ts:435 \u00B7 convex/packageSdkUsage.ts:22 \u00B7 convex/skillsShMirrorVisibility.ts:140 \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":"convex/canonicalTrending.ts"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"65f98392d13eef8d7db06db4a6268d33d16071965c0444fae0787bb914da8351"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): convex/canonicalTrending.ts:487 \u00B7 convex/canonicalTrending.ts:558 \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":"convex/canonicalTrending.ts"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cdbaf3dc81c4a3c87e3b603969e682673ec31a24056682d0ce741f3e40658c4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 16 locations): convex/canonicalTrending.ts:675 \u00B7 convex/githubAccountAgeBackfill.ts:169 \u00B7 convex/maintenance.ts:1349 \u00B7 convex/maintenance.ts:3043 \u00B7 \u002B12 more site(s) not listed \u2014 the 16 copies are spread across 9 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":"convex/canonicalTrending.ts"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb6b4740c0957b5e89b22a71f9516e17032edb735c9fd2dff25a85906e74f8c7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 8 locations): convex/catalogClassification.ts:252 \u00B7 convex/maintenance.ts:1293 \u00B7 convex/maintenance.ts:1310 \u00B7 convex/maintenance.ts:2038 \u00B7 \u002B4 more site(s) not listed \u2014 the 8 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":"convex/catalogClassification.ts"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c320e13569258b702da81907e6aed6e8050aafd02d06e9250546fd2f257698d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): convex/catalogClassificationNode.ts:25 \u00B7 packages/clawhub/src/cli/commands/inspect.ts:404 \u00B7 packages/clawhub/src/cli/commands/skills.ts:1576 \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":"convex/catalogClassificationNode.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"91ca13a8ded6a2524944edf9163a397f6b10f26488a1163e453199244921332a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): convex/dashboard.ts:140 \u00B7 convex/packages.ts:1286 \u2014 the two spans are one implementation copied and then locally edited \u2014 56 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":"convex/dashboard.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b81dd3306ad45ef5980673ebdc196db341a1dd51b324d21de513ed3b8910a19"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): convex/devPublisherProfileFixtures.ts:71 \u00B7 convex/devSeedDownloadAnalytics.ts:25 \u00B7 convex/devSeedPackageTrending.ts:14 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/devPublisherProfileFixtures.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0c5a3415002a5a9d9487b0261478634d79da3b48392dece20baf0ab4a99cd96"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): convex/devSeed.ts:2906 \u00B7 convex/migrations.ts:461 \u00B7 convex/packages.ts:2766 \u00B7 convex/securityScan.ts:1610 \u2014 the 4 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 4 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/devSeed.ts"},"region":{"startLine":2906}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab761653f5325b65a5384f8de6af3c8a609a9fe165332eaab7cbdc85598ee2ed"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): convex/devSeed.ts:3849 \u00B7 convex/schema.ts:406 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/devSeed.ts"},"region":{"startLine":3849}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5b60a95349e89c6b873b9ccff65a440380e596825a02ecb45ccf08eaf6f0ac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): convex/devSeed.ts:4867 \u00B7 convex/devSeed.ts:4882 \u2014 all 2 copies are in the same file, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/devSeed.ts"},"region":{"startLine":4867}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfe5c365fb17a0d979e24dc3b31251932cf5bc663d70cd275a63bd00bd63b1ab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): convex/devSeed.ts:806 \u00B7 convex/devTemplateAuditFixtures.ts:76 \u2014 the two spans are one implementation copied and then locally edited \u2014 61 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":"convex/devSeed.ts"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a987630332a09d3e297cbf2011e8cbcfe0d5e7b7a1b0edd8480eadc1799ce7b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): convex/devSeed.ts:4782 \u00B7 convex/lib/publicBrowse.ts:142 \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":"convex/devSeed.ts"},"region":{"startLine":4782}}}],"partialFingerprints":{"codehealthFindingId/v1":"85c574305bd2e7a8f9a02e30b3c89362e664b5294f9e1b88956a8dc2dd345269"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): convex/featuredSelections.ts:126 \u00B7 convex/featuredSelections.ts:323 \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":"convex/featuredSelections.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea469b3f1ec245cd1ac323f26eaf58861f943a26702a3dfd651739bc29b647c2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): convex/githubImport.ts:123 \u00B7 convex/githubImport.ts:157 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Check what actually differs between the copies before collapsing them: every one of them is an argument to a \u0060action(\u2026)\u0060 call, so where these calls are a MATRIX of cases \u2014 one per input, differing precisely in the case each one pins \u2014 the repetition is the enumeration and extracting the shared part would delete cases rather than de-duplicate anything."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/githubImport.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a88e94fd0d2fb68abb0a1cdea8e122853b581e7045f09da9d094c1d9f9daa1b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): convex/githubImport.ts:133 \u00B7 convex/githubImport.ts:167 \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":"convex/githubImport.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"79d8ce4ccc36139b61da86e012b2343a38caabd1cc7fbd68664336c7b62665b5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): convex/httpApi.ts:74 \u00B7 convex/httpApi.ts:128 \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":"convex/httpApi.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"a66f90e260ad00904ead31890e6395adb06b4b9fc022e9c1e1a864a76517c549"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): convex/httpApiV1/packagesV1.ts:2849 \u00B7 convex/httpApiV1/skillsV1.ts:3323 \u00B7 convex/httpApiV1/skillsV1.ts:3371 \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":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":2849}}}],"partialFingerprints":{"codehealthFindingId/v1":"32fedb9d59d58707aec55b047c4267deaffec252c1cb0b65a1b6fa7fdb2208a3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): convex/httpApiV1/packagesV1.ts:2885 \u00B7 convex/httpApiV1/packagesV1.ts:3031 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":2885}}}],"partialFingerprints":{"codehealthFindingId/v1":"219ca91464c4729ca38b586fbc407f6dd0dc6d36b9119c26863eb3715d9b2c68"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): convex/httpApiV1/packagesV1.ts:3007 \u00B7 convex/httpApiV1/packagesV1.ts:3244 \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":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":3007}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f3c8db926de1e6563530f0709565cbc28cd7337f121fd57c6a7b9b668512f3c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): convex/httpApiV1/packagesV1.ts:3135 \u00B7 convex/httpApiV1/skillsV1.ts:3271 \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":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":3135}}}],"partialFingerprints":{"codehealthFindingId/v1":"c76e80a1cdb9010fcb1a8e759813de0552a378982e914b8bdb858acfae3e0288"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): convex/httpApiV1/shared.ts:277 \u00B7 convex/httpApiV1/shared.ts:286 \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":"convex/httpApiV1/shared.ts"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1cca847eaae1e0e6ffc143520fcfa6a7504554eb915ecea42242a526a012c3c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): convex/httpApiV1/skillsShCatalogV1.ts:360 \u00B7 scripts/skills-sh-catalog/github-owner-resolution.ts:13 \u2014 the two spans are one implementation copied and then locally edited \u2014 95 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/skillsShCatalogV1.ts"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"a955ff1125fc388fdc8867f27eae632878d3ec872f17fddf24fd6b2fc0c5b8ee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): convex/httpApiV1/skillsV1.ts:2317 \u00B7 convex/httpApiV1/skillsV1.ts:2445 \u00B7 convex/httpApiV1/skillsV1.ts:2505 \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":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":2317}}}],"partialFingerprints":{"codehealthFindingId/v1":"4810657106e7141246dfd52e8f279596cb52be3eb5aa043a7d8cc1fe5426baa6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): convex/httpApiV1/skillsV1.ts:2326 \u00B7 convex/httpApiV1/skillsV1.ts:2462 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":2326}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bd31ec1989ae20a5252e09816f597222aaec5738167c43fc4aaa847d530bb02"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): convex/httpApiV1/skillsV1.ts:2425 \u00B7 convex/httpApiV1/skillsV1.ts:2488 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":2425}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebe927f4ef16353418de3627725ceeb902c1abdc1db40dd7fb44071248854228"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6 locations): convex/httpApiV1/skillsV1.ts:3032 \u00B7 convex/httpApiV1/skillsV1.ts:3065 \u00B7 convex/httpApiV1/skillsV1.ts:3164 \u00B7 convex/httpApiV1/skillsV1.ts:3274 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 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":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":3032}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cf1e18aae70197d64cbfc44a5a2ac9d871a08e543f5203d700ee637f3642f92"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): convex/httpApiV1/skillsV1.ts:3399 \u00B7 convex/httpApiV1/skillsV1.ts:3408 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":3399}}}],"partialFingerprints":{"codehealthFindingId/v1":"81b4219a316c3bafae9937bb7754695525793a9cad8400eda90df89ff24bdb1e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): convex/httpApiV1/usersV1.ts:46 \u00B7 convex/httpApiV1/usersV1.ts:310 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/usersV1.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd76196a0cbabf94a888eb95c12d80eb7570baf533b218a47359e0a780f4caa0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): convex/lib/access.ts:67 \u00B7 convex/lib/access.ts:83 \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":"convex/lib/access.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"21e71ed4c639481e5fb3c57f98828486f488d6777d4f53a16639ac708764ed85"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): convex/lib/catalogClassifier.mjs:1661 \u00B7 convex/lib/catalogClassifier.mjs:2029 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/catalogClassifier.mjs"},"region":{"startLine":1661}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcdd077f0ba6fc8e5fdae48d990a8474868b89bc77faec1f1031c95fb920c508"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): convex/lib/catalogTextMatch.ts:79 \u00B7 convex/search.ts:216 \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":"convex/lib/catalogTextMatch.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfe1e6de47b3fd32d5c4ddb3c64a0909fc2d519b387d7140ae2c28e473a0cd6b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): convex/lib/emails.ts:110 \u00B7 convex/schema.ts:3584 \u2014 the 2 copies are spread across 2 files, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/emails.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef0d30cfa63e9f1b44e87d84339c96863a6811f55e478deb9321b85da4e14dbf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): convex/lib/installResolver.ts:170 \u00B7 convex/skills.ts:8335 \u2014 the two spans are one implementation copied and then locally edited \u2014 55 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":"convex/lib/installResolver.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"00b232bec5f773ba78bbc848f70e083ad22f538d60750ca20c36d7a542432288"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): convex/lib/packagePublishTokenValidators.ts:8 \u00B7 convex/schema.ts:2088 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/packagePublishTokenValidators.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddcb725972982d4ee1aeada43a8d56a6aeeb77e4b499a091c1f78eaa3eb75f2a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): convex/lib/publishAttemptOperationalRecovery.ts:61 \u00B7 convex/lib/publishAttemptOperationalRecovery.ts:85 \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":"convex/lib/publishAttemptOperationalRecovery.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7f6ec4c6f2fe0980dbb451580d2f4ced7460f104cac0993a9468048e9b184ec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): convex/lib/securityAnalysisValidators.ts:49 \u00B7 convex/lib/securityAnalysisValidators.ts:71 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/securityAnalysisValidators.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"c22c7a9c6599e039d327ca8e4783cebd440d120396d821c679644850bd234da7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): convex/lib/skillPublish.ts:815 \u00B7 convex/packages.ts:9184 \u00B7 convex/publishAttempts.ts:1778 \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":"convex/lib/skillPublish.ts"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"57a32c0b0a9cf0b416e71bb094fb6b86e9053606686c00fe7ebc21c79037b24c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 8 locations): convex/maintenance.ts:841 \u00B7 convex/maintenance.ts:920 \u00B7 convex/maintenance.ts:939 \u00B7 convex/maintenance.ts:1844 \u00B7 \u002B4 more site(s) not listed \u2014 the 8 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":"convex/maintenance.ts"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4db40b8c4a0f4dbd4bd6cb2f88b8470c362067603e78bba3c5804411ce55b47"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5 locations): convex/maintenance.ts:1297 \u00B7 convex/maintenance.ts:1314 \u00B7 convex/maintenance.ts:2042 \u00B7 convex/maintenance.ts:2264 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/maintenance.ts"},"region":{"startLine":1297}}}],"partialFingerprints":{"codehealthFindingId/v1":"b072af693e031e7078044d49474da594a95e9dfd5c142f6374b20518a7cbadc4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): convex/maintenance.ts:1387 \u00B7 convex/skillPresentationBackfill.ts:98 \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":"convex/maintenance.ts"},"region":{"startLine":1387}}}],"partialFingerprints":{"codehealthFindingId/v1":"97e9bdd70e5523ab05578aa433a96fd645500316104746f16263b14b655132a8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): convex/maintenance.ts:2898 \u00B7 convex/maintenance.ts:2908 \u2014 all 2 copies are in the same file, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/maintenance.ts"},"region":{"startLine":2898}}}],"partialFingerprints":{"codehealthFindingId/v1":"52219b97587ea734ab836ac44eee89f2e752d22580c9c612f123647be5688fec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): convex/maintenance.ts:2997 \u00B7 convex/packages.ts:12011 \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":"convex/maintenance.ts"},"region":{"startLine":2997}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2dd9c932c093381b2a4ac533d3281888e9c45a16a632c533a5e610cbd051a57"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): convex/managedMcp.ts:86 \u00B7 convex/managedMcp.ts:183 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/managedMcp.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b0d7cd4a6bff0cd114bd9944eb711b72a4db33b7445ac063c02232313e64697"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): convex/packageSdkUsageHttp.ts:28 \u00B7 convex/packageSdkUsageHttp.ts:55 \u2014 the two spans are one implementation copied and then locally edited \u2014 76 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/packageSdkUsageHttp.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb611196777e00c02000dd127721438713ec32f91b29ab493cdf5259ab546ced"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): convex/packages.ts:4207 \u00B7 convex/packages.ts:4316 \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":"convex/packages.ts"},"region":{"startLine":4207}}}],"partialFingerprints":{"codehealthFindingId/v1":"a71d444692adc574d013ecc57537fe1f42fe9408a7d2402869785066ba5ff48a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): convex/packages.ts:5396 \u00B7 convex/packages.ts:5407 \u00B7 convex/publishers.ts:334 \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":"convex/packages.ts"},"region":{"startLine":5396}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb0e4dcf88e040f0ab05524bfacaf16e9d51307a19ab72408bf0906c744d8651"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): convex/packages.ts:5459 \u00B7 convex/packages.ts:5484 \u00B7 convex/users.ts:361 \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":"convex/packages.ts"},"region":{"startLine":5459}}}],"partialFingerprints":{"codehealthFindingId/v1":"13725ee3ef051c8db14ac3e79c223c35188242f7e0fc8a79d445f297b2f2530d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): convex/packages.ts:6701 \u00B7 convex/skills.ts:3489 \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":"convex/packages.ts"},"region":{"startLine":6701}}}],"partialFingerprints":{"codehealthFindingId/v1":"108b53b7f776cc42918523d1e12d8e91308c6da1d4e7d8b6373d43bec0163170"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): convex/packages.ts:7585 \u00B7 convex/skills.ts:4049 \u00B7 convex/skills.ts:4174 \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":"convex/packages.ts"},"region":{"startLine":7585}}}],"partialFingerprints":{"codehealthFindingId/v1":"f42452de56f291fdb3f5c606edb3481ae56db804dffe7d456e0c7c14aeddcec8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): convex/packages.ts:10074 \u00B7 convex/schema.ts:1802 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/packages.ts"},"region":{"startLine":10074}}}],"partialFingerprints":{"codehealthFindingId/v1":"29607d53fdabb65dd5e0d2ed2e20d2f88738d5bef6f759ac38d8f4ec34509407"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): convex/packages.ts:12270 \u00B7 convex/publishers.ts:3527 \u00B7 convex/publishers.ts:3848 \u00B7 convex/publishers.ts:3921 \u2014 the 4 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/packages.ts"},"region":{"startLine":12270}}}],"partialFingerprints":{"codehealthFindingId/v1":"4146003426c6f3335f442c8729d4a2207ab66e73bf5a5939412f56cf592dc1fc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): convex/packages.ts:12283 \u00B7 convex/users.ts:1680 \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":"convex/packages.ts"},"region":{"startLine":12283}}}],"partialFingerprints":{"codehealthFindingId/v1":"31416792c14aac223dd6851b928dc27e16f9305a0fc0c72ca025ef14008b2db8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): convex/pluginCategoryRefresh.ts:519 \u00B7 convex/pluginCategoryRefresh.ts:563 \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":"convex/pluginCategoryRefresh.ts"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccda14fd828c90d3ad9e7c785a49ef27467c7e77902762b810a04ef8c0dbdc0e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5 locations): convex/promotions.ts:458 \u00B7 convex/users.ts:1543 \u00B7 convex/users.ts:1643 \u00B7 convex/users.ts:1664 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 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":"convex/promotions.ts"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2da91f710f30b43909df51c98fec1fc66b8fabdf1d0d1619896f5b5d1980835"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): convex/publisherAbuse.ts:2469 \u00B7 convex/publisherAbuse.ts:2607 \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":"convex/publisherAbuse.ts"},"region":{"startLine":2469}}}],"partialFingerprints":{"codehealthFindingId/v1":"489869c9b2a57e296ef616307965ece43f9ead3712a45b8ab3b9cfdc7c5fdfc5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): convex/publisherAbuseTemporalScan.ts:1240 \u00B7 convex/publishers.ts:1618 \u00B7 convex/publishers.ts:1626 \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":"convex/publisherAbuseTemporalScan.ts"},"region":{"startLine":1240}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f7467d28f4879ba43ce4543b75d17bcb620e086f38f8527a448a0d8dd1ddda4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): convex/publishers.ts:1620 \u00B7 convex/publishers.ts:1628 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/publishers.ts"},"region":{"startLine":1620}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bd4b5128a085bb7798d4ae8cf85de3c6f1eba7be9910aab9d782f157732b5b2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): convex/publishers.ts:1749 \u00B7 convex/skillPublishUploads.ts:24 \u00B7 convex/skills.ts:8150 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/publishers.ts"},"region":{"startLine":1749}}}],"partialFingerprints":{"codehealthFindingId/v1":"c648b6513b2fbf8649af85b4168269731c0ab63b3c838594d457741c144a7211"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): convex/publishers.ts:2652 \u00B7 convex/publishers.ts:2722 \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":"convex/publishers.ts"},"region":{"startLine":2652}}}],"partialFingerprints":{"codehealthFindingId/v1":"744a5d7cc0d3406dbc50690370f2f2d5bd3dbcb358d47ea7342c2c88965757c2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): convex/publishers.ts:4407 \u00B7 convex/securityScan.ts:841 \u00B7 convex/securityScan.ts:1096 \u00B7 convex/users.ts:2345 \u2014 the 4 copies are spread across 3 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/publishers.ts"},"region":{"startLine":4407}}}],"partialFingerprints":{"codehealthFindingId/v1":"223c14a4c1e543e42ea58a2bfe4e7159098b098586c1b8ceb39521b8c71b3cff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): convex/publishers.ts:508 \u00B7 src/lib/pluginRoutes.ts:1 \u2014 the two spans are one implementation copied and then locally edited \u2014 72 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":"convex/publishers.ts"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b981e9cd439730be5a4abcf818e79357666dd5f7e89cfca9f2941e3fd549acb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): convex/schema.ts:425 \u00B7 convex/schema.ts:569 \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":"convex/schema.ts"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"d29fd1655c12c89ff708fde376956f734cc3df9fd21509555fc24d8c6057caa9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): convex/schema.ts:656 \u00B7 convex/schema.ts:672 \u2014 all 2 copies are in the same file, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/schema.ts"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8582509b28ef6739505d24b4bfecc9a232ac85eec3194d1c77d924083b3124c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): convex/schema.ts:893 \u00B7 convex/schema.ts:1553 \u2014 all 2 copies are in the same file, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/schema.ts"},"region":{"startLine":893}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e5ef3f4e2f443ecefb580306b185437dc93201279cb9677db925ff48494d38a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): convex/schema.ts:2736 \u00B7 convex/schema.ts:2793 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/schema.ts"},"region":{"startLine":2736}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf1cceec7a2f7f87089ddd06da3e8c44f38d05611a2925723caa3a06f405f93b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): convex/schema.ts:4001 \u00B7 convex/schema.ts:4014 \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":"convex/schema.ts"},"region":{"startLine":4001}}}],"partialFingerprints":{"codehealthFindingId/v1":"24015e2f821916c5c40e261608f4c0b373607cd2542fa69881dd0bd4eda4dda5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): convex/securityDataset.ts:104 \u00B7 convex/securityDatasetNode.ts:41 \u00B7 convex/securityDatasetNode.ts:54 \u2014 the 3 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/securityDataset.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c113254bb8a68bb77c5b921da8f7c4787c25f99ce6c526c353d7a3aba146533"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): convex/securityDataset.ts:273 \u00B7 convex/securityDatasetNode.ts:108 \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":"convex/securityDataset.ts"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"acce6f880eb55dc015e79199a05017546b2ad61c06398a31b532c93cb190e67e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): convex/securityScan.ts:753 \u00B7 convex/securityScan.ts:2678 \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":"convex/securityScan.ts"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac7f6c6c6aca50a11a073b87e1bd44cc755fe2f05f598711e6c9ca3292c256d7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): convex/securityScan.ts:1165 \u00B7 src/components/securityAuditModel.ts:29 \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":"convex/securityScan.ts"},"region":{"startLine":1165}}}],"partialFingerprints":{"codehealthFindingId/v1":"488793d8e806210ce5f7125fd2b4227e0d965bb1fa103a06784e0c5d90ccdbf5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): convex/securityScan.ts:1878 \u00B7 convex/skillPublishUploads.ts:58 \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":"convex/securityScan.ts"},"region":{"startLine":1878}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bf9525c9ffd7918b8e70a6b3de0e3652ebb6e655490decd6aae0776a7d760f6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): convex/securityScan.ts:4066 \u00B7 convex/skillEvaluations.ts:433 \u00B7 convex/skillEvaluations.ts:456 \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":"convex/securityScan.ts"},"region":{"startLine":4066}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fc35361ad2712ad7ac633d6873ef598309807568662d5fe239f158cc20d2199"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): convex/skillEvaluations.ts:276 \u00B7 convex/skillEvaluations.ts:380 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skillEvaluations.ts"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0709edba4b243808df5a76bad416327fc728be9b2de2ecdfbf3b94dc977fa15"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): convex/skillEvaluations.ts:545 \u00B7 convex/skillEvaluations.ts:553 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skillEvaluations.ts"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"51c3ec532d842136f942e0fae8c6f9f641a153988352aea0d3b803b8b4ed1c42"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): convex/skills.ts:1810 \u00B7 convex/skills.ts:1967 \u00B7 convex/skills.ts:3390 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skills.ts"},"region":{"startLine":1810}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fdd9b33c0c6631fd72a3a50fe3987ee973073f43518a595106af2b51cfd3017"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): convex/skills.ts:7139 \u00B7 convex/skills.ts:7224 \u00B7 convex/skills.ts:7335 \u2014 all 3 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skills.ts"},"region":{"startLine":7139}}}],"partialFingerprints":{"codehealthFindingId/v1":"b133f76110a15a99e7b6c5af4f9bf2e1a710edad4ad165e2cc36ce32ed0af9f4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): convex/skills.ts:10902 \u00B7 convex/skills.ts:11182 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skills.ts"},"region":{"startLine":10902}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb0e30ad88f7acfc9a72231c9913ed0e82d1c288d96a374e13ee38fc59348f9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): convex/skills.ts:11721 \u00B7 convex/users.ts:2684 \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":"convex/skills.ts"},"region":{"startLine":11721}}}],"partialFingerprints":{"codehealthFindingId/v1":"983ebd5652ffbc929a6ac5f4ba7eeefc8f40fc9f3cf19e93085f2fa48030342b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): convex/skillsShCatalog.ts:1722 \u00B7 convex/skillsShCatalog.ts:1737 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skillsShCatalog.ts"},"region":{"startLine":1722}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd0a97ecceb2d5373efeed0b351c5f6969bb306d394aa3adcef5892ff4520e4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): convex/skillsShCatalog.ts:2127 \u00B7 convex/skillsShCatalog.ts:2161 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skillsShCatalog.ts"},"region":{"startLine":2127}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6fe1fdac3c06afe97e69ef65e7b4fd8fb7ad781b656db19d45d9bca162aed8a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): convex/skillsShCatalog.ts:2345 \u00B7 convex/skillsShCatalog.ts:2419 \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":"convex/skillsShCatalog.ts"},"region":{"startLine":2345}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c3f701b8e23ceb344e0de6e3cfd276950e1542f464e60a721cdb9426dbb324b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): convex/skillsShCatalog.ts:2518 \u00B7 convex/skillsShCatalog.ts:2526 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skillsShCatalog.ts"},"region":{"startLine":2518}}}],"partialFingerprints":{"codehealthFindingId/v1":"66fbeba129a00c944ac995962028e48c25939e8be74d1d73435539ccc98e5a2b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): convex/stars.ts:104 \u00B7 convex/stars.ts:130 \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":"convex/stars.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"528b5f4af9bab4fbc87d6ab84a2410c9fefa66ac521dd8f8d76c3236c6432c48"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/clawhub/src/cli.ts:178 \u00B7 packages/clawhub/src/cli.ts:205 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"352616469caa8e11b0743235cb181f1a45a49af6f445b306fca0a9226cb6a8cc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/clawhub/src/cli/commands/delete.ts:172 \u00B7 packages/clawhub/src/cli/commands/skills.ts:105 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/delete.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"387e1e5e9bfda8cee8d62def1e5821ffca51af22cb98b1605d71dfebaa3cc86c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/clawhub/src/cli/commands/packages.ts:1955 \u00B7 packages/clawhub/src/cli/commands/packages.ts:1987 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/packages.ts"},"region":{"startLine":1955}}}],"partialFingerprints":{"codehealthFindingId/v1":"d28a3455686fa8692c8beddf4db292e9f1d9940041333655587b7d13945e8031"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): packages/clawhub/src/cli/commands/packages.ts:2915 \u00B7 scripts/local-clawscan-dry-run.ts:399 \u2014 the two spans are one implementation copied and then locally edited \u2014 67 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/packages.ts"},"region":{"startLine":2915}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a62920a1e6cc9f8e9963e8065b7be7144633427f10c98f59b80dda0042f9411"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/clawhub/src/cli/commands/skills.ts:820 \u00B7 packages/clawhub/src/cli/commands/skills.ts:909 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/skills.ts"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"60031ee03d25cd7ba0959c775f18437ca43c68d9050ac0cf70e6712ce22a61c1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): packages/clawhub/src/publishFiles.ts:21 \u00B7 scripts/local-clawscan-dry-run.ts:363 \u2014 the two spans are one implementation copied and then locally edited \u2014 58 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/publishFiles.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b3e7e03bcfc005d5f225cc10f1cf2739f5173d8d109fad83bebad0388a1e3c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): scripts/canonical-search/prove-test.ts:32 \u00B7 scripts/canonical-trending/prove-test.ts:61 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/canonical-search/prove-test.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b5ea201fd18bd8148e7036584c71eacb3d3bc953d7d6fadd58fc06a3d22ce3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): scripts/dev-worktree.ts:34 \u00B7 scripts/public-corpus/seed-public-corpus.ts:89 \u00B7 scripts/security-dataset/export-snapshot.ts:936 \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":"scripts/dev-worktree.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5d626a9fd45ca0f48f751f74b2dd01607224435541549e7d5b8f37f317d5b6b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): scripts/dev-worktree.ts:267 \u00B7 scripts/setup-worktree.ts:71 \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":"scripts/dev-worktree.ts"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa113c737780e20c8843266c2dc56881a48005294648da913d57f040c762cca2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): scripts/evaluations/skill-evaluation-runtime.ts:200 \u00B7 scripts/lib/runWorkerCommand.ts:208 \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":"scripts/evaluations/skill-evaluation-runtime.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"e289eacb472e1b6863e4eea59017087a3c71ffd34392224bee462f6a70dbd54d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): scripts/package-inspector-nightly-scan.ts:946 \u00B7 scripts/package-inspector-nightly-scan.ts:974 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/package-inspector-nightly-scan.ts"},"region":{"startLine":946}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f174fb1d6222695745fefeaf39ffcf0f84ec480361b6c65860c6d22616989bc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): scripts/public-corpus/validate.ts:121 \u00B7 scripts/public-corpus/validate.ts:129 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/public-corpus/validate.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf60076a34914a71b7b09c231b862f9b843c21979714f515731c7c76ebf1e64e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): scripts/ranking-metrics/import-test-ranking-metrics.ts:1010 \u00B7 scripts/seed-test.ts:6 \u2014 the two spans are one implementation copied and then locally edited \u2014 71 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ranking-metrics/import-test-ranking-metrics.ts"},"region":{"startLine":1010}}}],"partialFingerprints":{"codehealthFindingId/v1":"cae2d4c501bd2b9e79d04fd1950413b3b2423d011f1adacb6e00917876ce7e91"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): scripts/security-dataset/export-snapshot.ts:1005 \u00B7 scripts/security-dataset/merge-snapshots.ts:378 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/security-dataset/export-snapshot.ts"},"region":{"startLine":1005}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe6601debd6d8efe86599c1a6daf9a2c868b78900690e4fc6a9fc86d13141572"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): scripts/security/run-codex-scan-worker.ts:2314 \u00B7 scripts/security/run-prepublication-worker.ts:664 \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":"scripts/security/run-codex-scan-worker.ts"},"region":{"startLine":2314}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dc5220d3a8157f8d98e84e1599cf4d5542391c4375802cb152347e6574c3d00"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): scripts/skills-sh-catalog/prove-500.ts:191 \u00B7 scripts/skills-sh-catalog/prove-500.ts:783 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/skills-sh-catalog/prove-500.ts"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e947f00c479af1d6fcd113430727b5e7e0a95dc167503d697155320ee28a149"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): scripts/staging-seed/snapshotIo.ts:68 \u00B7 scripts/staging-seed/validate-sanitized-snapshot.ts:281 \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":"scripts/staging-seed/snapshotIo.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fef52de96462f0b85d218cdbfc42807bd7ee0d300a58e8f7986408315d4615d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/components/SecurityAuditPage.tsx:472 \u00B7 src/components/SkillSecurityScanResults.tsx:222 \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/SecurityAuditPage.tsx"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c91690ca694dadcf24703bbb23f536c42e0a971f79a5f11edecf8608b5d58e9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): src/components/SkillDetailPage.tsx:367 \u00B7 src/routes/$owner/$slug/security-audit.tsx:90 \u2014 the two spans are one implementation copied and then locally edited \u2014 81 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/SkillDetailPage.tsx"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d2b58d3cefb87aa713b4332d682eb36ae2bb3363c8560b041ccbd0550f37599"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/components/dashboard/dashboardCatalog.ts:29 \u00B7 src/components/dashboard/dashboardCatalog.ts:39 \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/dashboard/dashboardCatalog.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"230ab0d2ea9c3b9704a4b748ea7200dbdca11545bdecf761f289db1405bb72bf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/lib/uploadFiles.ts:147 \u00B7 src/lib/uploadUtils.ts:54 \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/lib/uploadFiles.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"e26402c9478cf3a0bd0e5d19432eefd2043e0076f7f2dec34e285913b3158445"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): convex/canonicalTrending.ts:127 \u00B7 convex/search.ts:1496 \u2014 the two spans are one implementation copied and then locally edited \u2014 63 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":"convex/canonicalTrending.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"5acbf26bbf3a1bb07ba35132fd62c9edc054632a57d345709d2f5e4e3d2cc44b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): convex/catalogFeed.ts:447 \u00B7 convex/catalogFeed.ts:460 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/catalogFeed.ts"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a4b04774cf1dd46c3df5e20f09614201dd4adbcf558655fb290fbee152180bb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): convex/dashboard.ts:190 \u00B7 convex/search.ts:1291 \u2014 the two spans are one implementation copied and then locally edited \u2014 57 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":"convex/dashboard.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9497309f862fc9013a605e19629fea7709727d69dcda47c1beae36fb5c42e5c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): convex/devSeed.ts:718 \u00B7 convex/githubSkillSources.ts:264 \u00B7 convex/githubSkillSync.ts:593 \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":"convex/devSeed.ts"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"c501ec30567dea3cbe9137f5e5e51bdf5e857be9d1a1de5ec86401859ca13c34"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): convex/devSeed.ts:738 \u00B7 convex/devSeedExtra.ts:469 \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":"convex/devSeed.ts"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"784f45124fb5f660e9ef74d868189b66bf11150a94748bb3b3bb1398c2115dbf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): convex/devSeed.ts:1588 \u00B7 convex/devSeed.ts:3787 \u00B7 convex/skills.ts:5224 \u00B7 convex/skills.ts:6069 \u2014 the 4 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/devSeed.ts"},"region":{"startLine":1588}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f9aaf4191300b176777f9e11b764f966495d7a6b4dad9d469a48b1f25595ca2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): convex/devSeed.ts:2207 \u00B7 convex/devSeed.ts:5101 \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":"convex/devSeed.ts"},"region":{"startLine":2207}}}],"partialFingerprints":{"codehealthFindingId/v1":"e16cc67ce35c38afceab96ba70a34db4723012aed423d97ec424c4debf1f8773"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5 locations): convex/devSeed.ts:2266 \u00B7 convex/devSeed.ts:2310 \u00B7 convex/devSeed.ts:2318 \u00B7 convex/devSeed.ts:2326 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 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":"convex/devSeed.ts"},"region":{"startLine":2266}}}],"partialFingerprints":{"codehealthFindingId/v1":"df77fceca3fbb97a5ae00fbb48a859b6f5e8d5a9bddffee6e5d875706be1f4d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5 locations): convex/devSeed.ts:2293 \u00B7 convex/packages.ts:5436 \u00B7 convex/packages.ts:5445 \u00B7 convex/packages.ts:5454 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 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":"convex/devSeed.ts"},"region":{"startLine":2293}}}],"partialFingerprints":{"codehealthFindingId/v1":"f354cad7274d546a3503e1ef51c5cbf13c7ea30d8e44de1b7ee8d50dc2202c6d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 7 locations): convex/devSeed.ts:2306 \u00B7 convex/devSeed.ts:2314 \u00B7 convex/devSeed.ts:2322 \u00B7 convex/devSeed.ts:2330 \u00B7 \u002B3 more site(s) not listed \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":"convex/devSeed.ts"},"region":{"startLine":2306}}}],"partialFingerprints":{"codehealthFindingId/v1":"735449aff6322cb1ea80d890584553efbbf2fc37cf22e6f6a6ff364770d6b670"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): convex/devSeed.ts:2363 \u00B7 convex/promotions.ts:261 \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":"convex/devSeed.ts"},"region":{"startLine":2363}}}],"partialFingerprints":{"codehealthFindingId/v1":"5258961b2dd5a8fa5d29912800486d1ee3a91a1d3bf456ad2dcd57d074fcc94e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): convex/devSeed.ts:4939 \u00B7 convex/devSeed.ts:4989 \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":"convex/devSeed.ts"},"region":{"startLine":4939}}}],"partialFingerprints":{"codehealthFindingId/v1":"4725fb5804779f9397d92ae7c3e9fde2dfa7c8916d68d6a178750218913e7df9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): convex/devSeed.ts:5056 \u00B7 convex/publishAttempts.ts:452 \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":"convex/devSeed.ts"},"region":{"startLine":5056}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e80d7c66f8834a5cedfde876d85a97a5884a992b297eb52e144373d33ed452"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): convex/devSeed.ts:3880 \u00B7 convex/githubSkillSync.ts:322 \u2014 the two spans are one implementation copied and then locally edited \u2014 54 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":"convex/devSeed.ts"},"region":{"startLine":3880}}}],"partialFingerprints":{"codehealthFindingId/v1":"48748cac81487ff9e57585b84453021ac3f19202506b759edb87061bf2cfb7e5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): convex/devSeed.ts:684 \u00B7 convex/managedMcp.ts:46 \u2014 the two spans are one implementation copied and then locally edited \u2014 52 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/devSeed.ts"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7a3b89b74ff1732c7108606f06ad86b515f16c77853236b29b23b69ae9989cb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): convex/downloads.ts:71 \u00B7 convex/httpApi.ts:79 \u00B7 convex/httpApi.ts:133 \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":"convex/downloads.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf0b3db1a1372f3ef5551e45164f300f4518843beb0775f641d494678309f333"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): convex/downloads.ts:448 \u00B7 server/convexProxy.ts:524 \u00B7 server/convexProxy.ts:575 \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":"convex/downloads.ts"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"c16c2c7ddc2da30a7c3665a73de06d597c3a5131ade81ff1a956b934f9227bb1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): convex/githubImport.ts:180 \u00B7 convex/githubImport.ts:289 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/githubImport.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"2adeb02748bab3ed2e679607cc9c92d9d139d7572ae12a888cd6ccf51f332087"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): convex/githubImport.ts:893 \u00B7 convex/githubSkillSync.ts:3245 \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":"convex/githubImport.ts"},"region":{"startLine":893}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd9e3cf6e93f04e8beec0fee0e128c369b403394bbf020ec5a31af257ae48fb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): convex/githubSkillSources.ts:63 \u00B7 convex/skillEvaluations.ts:132 \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":"convex/githubSkillSources.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"69a0b113d6c564a233492569c6e63ace60b68ab4272b61db882cb8477e5e03e9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): convex/githubSkillSync.ts:1359 \u00B7 convex/githubSkillSync.ts:1457 \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":"convex/githubSkillSync.ts"},"region":{"startLine":1359}}}],"partialFingerprints":{"codehealthFindingId/v1":"29b79d35355c95554c2717ed9d5f72e9d765f84ecbfe70d1c7c73104bff80452"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): convex/httpApi.ts:142 \u00B7 convex/httpApiV1/skillsV1.ts:1367 \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":"convex/httpApi.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf8b22a3cde5187d4661f1f0907f2eef64d824bb08dfc19fd069c6713f60e481"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): convex/httpApi.ts:369 \u00B7 convex/httpApi.ts:398 \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":"convex/httpApi.ts"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c9fa13d3b4ab76d6098e04364d1be9e9684f7ee9a521a360a46374d3b9b8c2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): convex/httpApiV1/packagesV1.ts:268 \u00B7 convex/httpApiV1/shared.ts:522 \u00B7 convex/httpApiV1/skillsV1.ts:2682 \u00B7 convex/httpApiV1/skillsV1.ts:2696 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"0623a6889ee8cf204caacfbc543c4471c9075fa518dc75730a423ce1d57404a6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): convex/httpApiV1/packagesV1.ts:1177 \u00B7 convex/httpApiV1/packagesV1.ts:3608 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":1177}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b47217383653b67e04ff7412569dc51292b6f56d816bb14d0b678e67cd2fad8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): convex/httpApiV1/packagesV1.ts:2836 \u00B7 convex/httpApiV1/packagesV1.ts:3116 \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":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":2836}}}],"partialFingerprints":{"codehealthFindingId/v1":"4323266ee89ddc8f89c0d7bd438277ef21cd8ba18472a174610d0bb6c5715e9f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): convex/httpApiV1/packagesV1.ts:4318 \u00B7 convex/httpApiV1/skillsV1.ts:2537 \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":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":4318}}}],"partialFingerprints":{"codehealthFindingId/v1":"42da772e7eeb51f7a16b3f9dfa21c689b3ef84e581d939cf6c6dbc880ed53017"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): convex/httpApiV1/promotionsV1.ts:134 \u00B7 convex/httpApiV1/skillsV1.ts:3426 \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":"convex/httpApiV1/promotionsV1.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"70790ed1e022263646824094baa9f98a98fd6fc1d3571dbdf763dbe9eb8e8c1e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): convex/httpApiV1/promotionsV1.ts:175 \u00B7 convex/httpApiV1/skillsV1.ts:1757 \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":"convex/httpApiV1/promotionsV1.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"16792ef7ecbdbf0686c22b71085375e3bef81a1b000295e3a0471dc24041c36a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5 locations): convex/httpApiV1/promotionsV1.ts:220 \u00B7 convex/httpApiV1/skillsV1.ts:2922 \u00B7 convex/httpApiV1/starsV1.ts:45 \u00B7 convex/httpApiV1/usersV1.ts:524 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 4 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":"convex/httpApiV1/promotionsV1.ts"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"056d2de9ce27f70080fb915d0602532e1a3487a4041702a55d36e665bfa71b9d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): convex/httpApiV1/promotionsV1.ts:232 \u00B7 convex/httpApiV1/usersV1.ts:533 \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":"convex/httpApiV1/promotionsV1.ts"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"0006e786b2df99df65e403a06223cc88882280e4bd98cd514d48eabcbfa65856"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): convex/httpApiV1/skillsV1.ts:1839 \u00B7 convex/httpApiV1/skillsV1.ts:2283 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":1839}}}],"partialFingerprints":{"codehealthFindingId/v1":"70c1be65c8af4da0fa7096e66969396f78bd41910f61d7daa8d38976658a82c3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): convex/httpApiV1/skillsV1.ts:2961 \u00B7 convex/httpApiV1/skillsV1.ts:3009 \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":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":2961}}}],"partialFingerprints":{"codehealthFindingId/v1":"114239121808a0a28124efe8c18adf62f1f86218f03c79d6d6197636f429c67e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): convex/httpApiV1/usersV1.ts:663 \u00B7 convex/httpApiV1/usersV1.ts:680 \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":"convex/httpApiV1/usersV1.ts"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"10f5eea3a37bc33dcb382a9607ed9b128d602cea6ecc28a866812f8175cdc77d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): convex/lib/changelog.ts:17 \u00B7 convex/lib/skillSummary.ts:7 \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":"convex/lib/changelog.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"c22da408fc60ac8cc12bb197a22c3746f5d0c529f73b096cf16cbf35c510d3f4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): convex/lib/downloadAnalytics.ts:1 \u00B7 convex/lib/publisherAbuseOwnerSynchronyContract.ts:1 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/downloadAnalytics.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbb44e3c91104412fc4963c888c5c81b354a3e46b2b3df361ec9dd7fcd87d01f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): convex/lib/githubSkillSync.ts:568 \u00B7 convex/lib/globalStats.ts:60 \u2014 the two spans are one implementation copied and then locally edited \u2014 58 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":"convex/lib/githubSkillSync.ts"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6995ea0176c12a06f624fabb53923afc6447b1f64f2e772ab1808582674ea1b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): convex/lib/githubSkillSync.ts:705 \u00B7 packages/clawhub/src/skills.ts:235 \u2014 the two spans are one implementation copied and then locally edited \u2014 59 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/githubSkillSync.ts"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"01ed79c1a7f98176f37b5859fb4f70d10045e911677d5eae4835674dd1453962"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6 locations): convex/lib/packageSdkUsage.ts:117 \u00B7 convex/lib/skillHourlyStats.ts:150 \u00B7 convex/packages.ts:4862 \u00B7 convex/publisherAbuse.ts:392 \u00B7 \u002B2 more site(s) not listed \u2014 the 5 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":"convex/lib/packageSdkUsage.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c07763020af20358a1c434f155ac47d9c6a38672e575f0d6cbbed0f40b17514"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): convex/lib/skillEvaluationResult.ts:10 \u00B7 convex/users.ts:1148 \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":"convex/lib/skillEvaluationResult.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"2db2b2b5832eceee3d6f1175611382c6891a142fc166ee35c2d9362358480db3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): convex/lib/skillPresentationBackfill.ts:27 \u00B7 convex/lib/skillPublish.ts:269 \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":"convex/lib/skillPresentationBackfill.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"16bddd827b9488be78e607b3dce70f10937f9046b5b840e3d52395c635a8b93a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): convex/lib/skillSpectorEvidence.ts:33 \u00B7 convex/publishAttempts.ts:53 \u2014 the two spans are one implementation copied and then locally edited \u2014 57 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":"convex/lib/skillSpectorEvidence.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"3371ed7d3f81d538169a9507d0e3597cfafc211838efec717672cb92f8c4185d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): convex/lib/skillZip.ts:110 \u00B7 convex/lib/skillZip.ts:349 \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":"convex/lib/skillZip.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"a35324c407eaf65b5175cf00b4f3c1e05156cb4988901ad50d5e3bd5e9c54489"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): convex/lib/skillZip.ts:279 \u00B7 convex/lib/skillZip.ts:287 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/skillZip.ts"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"36144ded1d8055462b3e800a626ce66085309c90536c3228fe38e2c86867c0ff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): convex/lib/skills/skillMarkdown.ts:77 \u00B7 src/lib/uploadFiles.ts:230 \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":"convex/lib/skills/skillMarkdown.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"f39e626a01db49da0d4d3ae9d7c14b40c8579a884b3f2fb60cdcd749d51efacd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): convex/maintenance.ts:62 \u00B7 convex/packages.ts:6161 \u00B7 convex/skills.ts:7294 \u00B7 convex/users.ts:1697 \u2014 the 4 copies are spread across 4 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":"convex/maintenance.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"79c3ca062df2086fd2363c9abd1d3b80419bf79a4c650e212ecfbad975c0e6da"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): convex/maintenance.ts:289 \u00B7 convex/migrations.ts:1238 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/maintenance.ts"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"de92075da50d2d34ecc5b1d218c4a0463e54f97e4da93b88439b11e90587f587"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): convex/maintenance.ts:372 \u00B7 convex/packages.ts:12082 \u00B7 convex/packages.ts:12140 \u2014 the 3 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/maintenance.ts"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"df38b3ae8754801418ba24328f9cf39cf7a53bf6e965444c914421324b14358c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): convex/maintenance.ts:2036 \u00B7 convex/maintenance.ts:2258 \u00B7 convex/maintenance.ts:2398 \u2014 all 3 copies are in the same file, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/maintenance.ts"},"region":{"startLine":2036}}}],"partialFingerprints":{"codehealthFindingId/v1":"3526f7d090f65e77f86902bce0fbdfdfab357aae6a5f8ea99254805b98ba3ff1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): convex/maintenance.ts:2735 \u00B7 convex/maintenance.ts:2863 \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":"convex/maintenance.ts"},"region":{"startLine":2735}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c686dcdaeebaf9416149b3c2c51ea8e95e15cbd91bcba1f442cfef21c57c155"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): convex/maintenance.ts:3047 \u00B7 convex/maintenance.ts:3102 \u00B7 convex/statsMaintenance.ts:191 \u00B7 convex/statsMaintenance.ts:233 \u2014 the 4 copies are spread across 2 files, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/maintenance.ts"},"region":{"startLine":3047}}}],"partialFingerprints":{"codehealthFindingId/v1":"b14bdeef6e6a105b05a555ae53fa909b414fcc6d8f901a36d3a51a4f320636f3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): convex/maintenance.ts:3616 \u00B7 convex/skillPresentationBackfill.ts:245 \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":"convex/maintenance.ts"},"region":{"startLine":3616}}}],"partialFingerprints":{"codehealthFindingId/v1":"62d5a7e82dd40a6fa8002699d0c83084ddc773e948d04db2fa46c113c1756e06"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): convex/managementDevSeed.ts:56 \u00B7 convex/skills.ts:11787 \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":"convex/managementDevSeed.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"4740f2ecea639eb4e47bbd2cd212c2334c429d83f333546aac1019a5a797a590"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): convex/migrations.ts:371 \u00B7 convex/migrations.ts:386 \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":"convex/migrations.ts"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d4582c159dd5159cacefd8a0e29b1e45d8278fe725d28cfdd344509a50533db"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): convex/migrations.ts:1704 \u00B7 convex/migrations.ts:1755 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/migrations.ts"},"region":{"startLine":1704}}}],"partialFingerprints":{"codehealthFindingId/v1":"97f0b4ed02efa44ba1f81937ca1793f245c5701c6a0ba6515e0aced7e20a83e9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 7 locations): convex/packagePublishTokens.ts:58 \u00B7 convex/publishers.ts:2266 \u00B7 convex/skills.ts:799 \u00B7 convex/skills.ts:2230 \u00B7 \u002B3 more site(s) not listed \u2014 the 7 copies are spread across 4 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":"convex/packagePublishTokens.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"239342cb4a32ed963208e32ca5bfe088245273c99de7bb4e901c6210e15552fa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): convex/packages.ts:4954 \u00B7 convex/telemetry.ts:96 \u00B7 convex/telemetry.ts:203 \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":"convex/packages.ts"},"region":{"startLine":4954}}}],"partialFingerprints":{"codehealthFindingId/v1":"80fb7d9b1dcfb7f36bb62125a4558922ae9e47d9e9e0346e9bb230f8cec2d905"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5 locations): convex/packages.ts:6575 \u00B7 convex/publishers.ts:3442 \u00B7 convex/publishers.ts:3528 \u00B7 convex/publishers.ts:3849 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 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":"convex/packages.ts"},"region":{"startLine":6575}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eec6d70a40bcaf15683c8a0819914ba376a7a728c2cb89b3d98a168a8e107dd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): convex/packages.ts:7242 \u00B7 convex/skills.ts:4182 \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":"convex/packages.ts"},"region":{"startLine":7242}}}],"partialFingerprints":{"codehealthFindingId/v1":"df14cc7e174e32a6e2baafee809a82cb1600b213a1d5a720bffaae2e7937bd8e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): convex/packages.ts:7286 \u00B7 convex/packages.ts:9679 \u00B7 convex/skills.ts:4098 \u00B7 convex/skills.ts:4222 \u2014 the 4 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/packages.ts"},"region":{"startLine":7286}}}],"partialFingerprints":{"codehealthFindingId/v1":"44c08bf0f15537017d8c3ababb01cb4475c6e92cadb2fd67793ac3a45ea9199b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): convex/packages.ts:7517 \u00B7 convex/packages.ts:7554 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/packages.ts"},"region":{"startLine":7517}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5cf647f19e3b4c0b1dd935d296ee7c25fce2f54d311a0456c4434c5feced5f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): convex/packages.ts:10560 \u00B7 convex/packages.ts:10788 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/packages.ts"},"region":{"startLine":10560}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c0c4f53362a58282552741e5c7a0bf00d811a6a3ff9c1a1d53d69879b1b83de"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): convex/packages.ts:11878 \u00B7 convex/packages.ts:11892 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/packages.ts"},"region":{"startLine":11878}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3de48fca87f2e2f942330d478e322e9e008f75f576d61b495b953cef69e90a1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): convex/promotions.ts:43 \u00B7 convex/schema.ts:2897 \u2014 the 2 copies are spread across 2 files, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/promotions.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"e417df4478c869387f193717ce44094a94bf430cd9ae9a2fcf84524e8501d88f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): convex/promotions.ts:67 \u00B7 convex/promotions.ts:85 \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":"convex/promotions.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff03ab633b14b08ad6e0d114e6c8d6ca43ad45f33f9eddf4880ee8c24bdfe229"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): convex/publisherAbuse.ts:2581 \u00B7 convex/publisherAbuse.ts:2619 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/publisherAbuse.ts"},"region":{"startLine":2581}}}],"partialFingerprints":{"codehealthFindingId/v1":"91c8838049cdcaa9c9344b805d5f4c545ae4bd512736ceade3a9ff35a1d7fd0a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 8 locations): convex/publisherAbuse.ts:789 \u00B7 convex/publisherAbuse.ts:1272 \u00B7 convex/searchReports.ts:279 \u00B7 convex/securityScan.ts:3555 \u00B7 \u002B4 more site(s) not listed \u2014 the 8 copies are spread across 6 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":"convex/publisherAbuse.ts"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fb42a38cbe8c51443c8b7f72534cbce7d29253a40f4652870328a095e28d953"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): convex/publisherAbuseTemporalScan.ts:187 \u00B7 convex/publisherAbuseTemporalScan.ts:1161 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/publisherAbuseTemporalScan.ts"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"36a6051c498231ba8912e155d299c30be5f8ada6a2ca1c6361a63e4f5784780c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): convex/publishers.ts:1774 \u00B7 convex/users.ts:1712 \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":"convex/publishers.ts"},"region":{"startLine":1774}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ec52ce52e47bc36e3a4dd19856012a6bf58ad5a6cb9fd76516a805d15da836"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): convex/publishers.ts:3122 \u00B7 convex/publishers.ts:3134 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/publishers.ts"},"region":{"startLine":3122}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ac6150474ff6d1b8972be6daed421c1fe3e3cf6a7bee3866653d05bc9fa5c82"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): convex/publishers.ts:4058 \u00B7 convex/publishers.ts:4265 \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":"convex/publishers.ts"},"region":{"startLine":4058}}}],"partialFingerprints":{"codehealthFindingId/v1":"8180818e58c89ad216e69497103791bb570894d27b1054c25dd00e8addf6e1b2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): convex/rateLimits.ts:149 \u00B7 convex/rateLimits.ts:164 \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":"convex/rateLimits.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"5de4108bfd09c8ea55c9ff1baebd599ec74eacf8031bec7adf402a931e8a0861"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): convex/schema.ts:241 \u00B7 convex/schema.ts:926 \u00B7 convex/schema.ts:3775 \u2014 all 3 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/schema.ts"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b8c59f269eba122c291753833710474ca5e0b2eedfbe2ae940e2938fe013a29"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): convex/schema.ts:255 \u00B7 convex/schema.ts:3949 \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":"convex/schema.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf20015aa2e07a4f774ec78f1bc0994030ccaad908b0a2f7580f1704c1920765"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): convex/schema.ts:832 \u00B7 convex/schema.ts:1522 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/schema.ts"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f513ff01e469a9051a40c2689e55828e06d37824b9c5e952c7ede9c9af3eb96"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): convex/schema.ts:1311 \u00B7 convex/schema.ts:1412 \u00B7 convex/schema.ts:3785 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/schema.ts"},"region":{"startLine":1311}}}],"partialFingerprints":{"codehealthFindingId/v1":"92ea9e07094b397dfe5fb9b06bceeb8d2d3b9683486cec09042035c07ffbc6f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): convex/schema.ts:1873 \u00B7 convex/schema.ts:1928 \u2014 all 2 copies are in the same file, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/schema.ts"},"region":{"startLine":1873}}}],"partialFingerprints":{"codehealthFindingId/v1":"c44a77026efeef128e6b78570b1f9ed7d8ef8905b370d9a9101da5355398863f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): convex/schema.ts:2552 \u00B7 convex/schema.ts:2602 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/schema.ts"},"region":{"startLine":2552}}}],"partialFingerprints":{"codehealthFindingId/v1":"510d27175eb061ffd81781048fd658f3fafa6d435b87950d85873827b23643c5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): convex/schema.ts:2703 \u00B7 convex/schema.ts:2731 \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":"convex/schema.ts"},"region":{"startLine":2703}}}],"partialFingerprints":{"codehealthFindingId/v1":"c58562f4ea86db88b35069e54efe6bbc5bf5489f384a14b2a7453f73bc222d59"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): convex/schema.ts:3154 \u00B7 convex/schema.ts:3224 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/schema.ts"},"region":{"startLine":3154}}}],"partialFingerprints":{"codehealthFindingId/v1":"181f6798a7dff2b585d119f01f884c0f5ce4c35330de3da0e2cd44d92279dc11"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): convex/schema.ts:3539 \u00B7 convex/schema.ts:3624 \u00B7 convex/schema.ts:3756 \u2014 all 3 copies are in the same file, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/schema.ts"},"region":{"startLine":3539}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbc60292ff773e035c574e2eb8bde6b10c25db557cca11eeb8193a1f75e90dd7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): convex/schema.ts:3601 \u00B7 convex/skillStatEvents.ts:1164 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/schema.ts"},"region":{"startLine":3601}}}],"partialFingerprints":{"codehealthFindingId/v1":"161dc920ee08aac450cca5c5b1f0f84212a857a546b0f7f9868080712ccce294"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): convex/schema.ts:3838 \u00B7 convex/schema.ts:4011 \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":"convex/schema.ts"},"region":{"startLine":3838}}}],"partialFingerprints":{"codehealthFindingId/v1":"f57b80b8973219779b55a541efb27f4793d19fcb8b414b24b0f0f2cae6c4ff1d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): convex/search.ts:746 \u00B7 scripts/skills-sh-catalog/prove-500.ts:131 \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":"convex/search.ts"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"c89e816da0224e406a73d4c547c76833d562719c41c02528727a501274a743b4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): convex/search.ts:1357 \u00B7 convex/search.ts:1543 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/search.ts"},"region":{"startLine":1357}}}],"partialFingerprints":{"codehealthFindingId/v1":"70b96329a6e08fc539a5f248eef1959cf458cf4b7e0e4d16b47a53c7174013a2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): convex/securityScan.ts:494 \u00B7 convex/securityScan.ts:696 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/securityScan.ts"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e6d0e9763370f9eb77048d24b6f1f22141ef752fdf3526c2605f93ef9e78f3b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 9 locations): convex/securityScan.ts:702 \u00B7 convex/securityScan.ts:844 \u00B7 convex/securityScan.ts:1099 \u00B7 convex/securityScan.ts:1786 \u00B7 \u002B5 more site(s) not listed \u2014 the 9 copies are spread across 4 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":"convex/securityScan.ts"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac0dc190960f412d6daf7b385bc03ac71462f5e3cb0d5ffb7b83fa1107d78cd1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): convex/securityScan.ts:1101 \u00B7 convex/securityScan.ts:1788 \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":"convex/securityScan.ts"},"region":{"startLine":1101}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4823beff4c290ef359b18ebaf9db0feea8ed56bc1a777a0e3abd7851e76fc19"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): convex/securityScan.ts:1896 \u00B7 convex/users.ts:2400 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/securityScan.ts"},"region":{"startLine":1896}}}],"partialFingerprints":{"codehealthFindingId/v1":"be1f83cb131379977a68f9a1b07251a5607966c85b8f1d1e2909ca6eb38e5cfa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): convex/skillCards.ts:316 \u00B7 convex/skillEvaluations.ts:282 \u00B7 convex/skillEvaluations.ts:313 \u00B7 convex/skillEvaluations.ts:333 \u2014 the 4 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skillCards.ts"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"e284a78134ff8b0f884a81e362f357a7ef5092b09b4da15cf6ff1e155361ef04"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): convex/skillHourlyStats.ts:37 \u00B7 convex/skillsShMirrorVisibility.ts:697 \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":"convex/skillHourlyStats.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"c75449e75f11ba3571f92d6fed7f6334161fc554bac1d7564b6c096a7728e39e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): convex/skillStatEvents.ts:927 \u00B7 convex/skillStatEvents.ts:1052 \u2014 all 2 copies are in the same file, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skillStatEvents.ts"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"96552cf4ca67fc3597236862f42ed32906c1112f1e8c46123603b471325ef771"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): convex/skills.ts:3331 \u00B7 convex/skills.ts:3378 \u00B7 convex/skills.ts:3426 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skills.ts"},"region":{"startLine":3331}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1c459c9a5c53eb977561f0771526ca5334ab2744969b501b1dc3cc8fb7f9740"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): convex/skills.ts:3852 \u00B7 convex/skills.ts:3902 \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":"convex/skills.ts"},"region":{"startLine":3852}}}],"partialFingerprints":{"codehealthFindingId/v1":"87b9b09f136bac91e21360d602eadf77bbfdcf48661bafbf739ee71a799fc711"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): convex/skills.ts:5856 \u00B7 convex/skills.ts:5968 \u00B7 convex/skills.ts:6038 \u00B7 convex/skills.ts:6596 \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":"convex/skills.ts"},"region":{"startLine":5856}}}],"partialFingerprints":{"codehealthFindingId/v1":"267d425d5fec8f90fb8824c79a76b5d68bd600c22731c82569cba27157f464bd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): convex/skills.ts:6708 \u00B7 convex/skills.ts:8856 \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":"convex/skills.ts"},"region":{"startLine":6708}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1f8ffd9726ff925efee32b3ef046efa71581862d3a6e20d77ef236ebdb57030"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): convex/skills.ts:8176 \u00B7 convex/skills.ts:10346 \u2014 all 2 copies are in the same file, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skills.ts"},"region":{"startLine":8176}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc25bc2d5b78d8df20101fa3ce5dcd14ce735eea22884992bbef47bfb266dfd0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): convex/skills.ts:9514 \u00B7 convex/skills.ts:11755 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skills.ts"},"region":{"startLine":9514}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f5f45f3d20f904c9d0fbe00b669f0270f8cf3df8b7a83dfb02c7634275bf65"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): convex/skillsShCatalog.ts:622 \u00B7 convex/skillsShCatalog.ts:890 \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":"convex/skillsShCatalog.ts"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a0797b64473becbe8f2310d06ea26569bd1c4826e417405e5844d1e45a3941a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): convex/skillsShMirror.ts:1379 \u00B7 convex/skillsShMirror.ts:1688 \u00B7 convex/skillsShMirror.ts:1804 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skillsShMirror.ts"},"region":{"startLine":1379}}}],"partialFingerprints":{"codehealthFindingId/v1":"864ec94c7372f9d1b25200c5027a219e03eb70da5ae49d1fd58d6dd4bfadc659"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): convex/stars.ts:84 \u00B7 convex/users.ts:1659 \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":"convex/stars.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b0146c1b5f9273879e86935ea9909da219a78b2d912032e0fd32586a79d3710"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): convex/statsMaintenance.ts:579 \u00B7 convex/statsMaintenance.ts:603 \u00B7 convex/statsMaintenance.ts:628 \u00B7 convex/users.ts:1339 \u2014 the 4 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/statsMaintenance.ts"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2e1163286472f209f4ee0623ffdc732750b6758f675f429d0e7849a65d42ee1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): convex/telemetry.ts:256 \u00B7 convex/telemetry.ts:284 \u00B7 convex/telemetry.ts:305 \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":"convex/telemetry.ts"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee7d41db8804cf68ba4b7757b037562666ed1447db492e8626d22a877ea8767"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 7 locations): packages/clawhub-admin/src/commands/moderation.ts:391 \u00B7 packages/clawhub-admin/src/commands/orgs.ts:137 \u00B7 packages/clawhub-admin/src/commands/orgs.ts:240 \u00B7 packages/clawhub-admin/src/commands/packages.ts:391 \u00B7 \u002B3 more site(s) not listed \u2014 the 7 copies are spread across 5 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/moderation.ts"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"df4818353f598b2dc48f7446f9cddc6b28be1bf54161196747be6ab1512b9c66"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): packages/clawhub-admin/src/commands/moderation.ts:821 \u00B7 packages/clawhub/src/cli/commands/skills.ts:318 \u2014 the two spans are one implementation copied and then locally edited \u2014 55 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/moderation.ts"},"region":{"startLine":821}}}],"partialFingerprints":{"codehealthFindingId/v1":"0af4adf0f6ee7e488c99b7ec62946de2101051ec52e136fa9db8910092fe39d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): packages/clawhub/src/cli.ts:222 \u00B7 packages/clawhub/src/cli.ts:308 \u00B7 packages/clawhub/src/cli.ts:519 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli.ts"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bc5215ccef1a043b519418715947ab88694985a9e9f592aaa29b1fc6598450c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): packages/clawhub/src/cli/commands/auth.ts:55 \u00B7 packages/clawhub/src/cli/commands/packages.ts:543 \u00B7 packages/clawhub/src/cli/commands/packages.ts:576 \u2014 the 3 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/auth.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"435264685f1ea61b63f6dc223ca3b0df59203ba6a76d8c263a1d1d95a36f9829"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/clawhub/src/cli/commands/inspect.ts:73 \u00B7 packages/clawhub/src/cli/commands/inspect.ts:302 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/inspect.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"43e8614d0b62bf119c3b70ac4d54c11be16e73a81b851cd12efd85db0134133a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/clawhub/src/cli/commands/packages.ts:2456 \u00B7 src/components/skillDetailUtils.ts:95 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/packages.ts"},"region":{"startLine":2456}}}],"partialFingerprints":{"codehealthFindingId/v1":"05646731143e1c267aff7e1b3ae788e4cee863c9c2f24cc5e6de9ca63449b18c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/clawhub/src/cli/commands/skills.ts:1143 \u00B7 packages/clawhub/src/cli/commands/skills.ts:1166 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/skills.ts"},"region":{"startLine":1143}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc0e89a704f66591b319ce9e95f2cc6e3d7fe18e4e0c383ded6716342f6da2c7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/clawhub/src/http.ts:280 \u00B7 packages/clawhub/src/http.ts:299 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/http.ts"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b8b0193225ab8cf56f071151d6c2b31e9464d88890bd8aaa3da323830c19c7f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/schema/src/schemaShared.ts:127 \u00B7 packages/schema/src/schemaShared.ts:735 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/schemaShared.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"70b1af486e1e3245aac4849d0713c0438c462ac630d24b6c9ce124e6aab9d0e4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): scripts/canonical-search/prove-test.ts:156 \u00B7 scripts/canonical-trending/prove-test.ts:201 \u00B7 scripts/skills-sh-catalog/capture-frozen-snapshot.ts:197 \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":"scripts/canonical-search/prove-test.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"5557441638a096983440b664d875af1abe7cf45ae7ce1dee71731edc38cbb3f5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/dev-worktree.ts:259 \u00B7 scripts/setup-worktree.ts:64 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/dev-worktree.ts"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c8b3ab89bc212a41946327fbc645bc152dfd4354b460541fcf9f4b02895eec7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/lib/previewAnalyticsProof.ts:291 \u00B7 scripts/lib/previewAnalyticsProof.ts:302 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/previewAnalyticsProof.ts"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ccd50cebbca76e343c2faf6cbfe5fe5a8fa7c44dd567a23713f166d25781881"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/package-inspector-nightly-scan.ts:508 \u00B7 scripts/package-inspector-nightly-scan.ts:625 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/package-inspector-nightly-scan.ts"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c4035bfe369c072b188115f628bc85799ff23afcdc2012ed02cdc82ab545765"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/ranking-metrics/import-test-ranking-metrics.ts:235 \u00B7 scripts/ranking-metrics/import-test-ranking-metrics.ts:252 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ranking-metrics/import-test-ranking-metrics.ts"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"c25e34626dea7fa2c22fd14ca8bf86df8b31d2137e163544686c466c12741e55"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): scripts/run-playwright-local-auth.ts:324 \u00B7 scripts/run-playwright-local-auth.ts:415 \u2014 the two spans are one implementation copied and then locally edited \u2014 51 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/run-playwright-local-auth.ts"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"9526419152810a139b030ba5e1822035e6eda8fc98182cb0797b1654abe7b4ac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/security/run-clawscan-diagnostic.ts:33 \u00B7 scripts/security/skillSpectorReportPolicy.ts:69 \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":"scripts/security/run-clawscan-diagnostic.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"05089240515b5a2284c348d4351231f01f526fe9fecf155d663883a458d7ea30"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/security/run-codex-scan-worker.ts:2996 \u00B7 scripts/security/run-prepublication-worker.ts:1371 \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":"scripts/security/run-codex-scan-worker.ts"},"region":{"startLine":2996}}}],"partialFingerprints":{"codehealthFindingId/v1":"7083b659bf18d02bf996fc56939d6dcf1f95c91f6ed21ac544efbf59665c6b34"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): scripts/seed-test.ts:7 \u00B7 scripts/staging-seed/sanitize-prod-snapshot.ts:454 \u2014 the two spans are one implementation copied and then locally edited \u2014 50 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/seed-test.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"99007f816667c0324f26958a04d14cd44222eaa5a3f9fda1fca2440529d331cf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/skills-sh-catalog/deploy-overlap-experiment.ts:392 \u00B7 scripts/skills-sh-catalog/deploy-overlap-experiment.ts:414 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/skills-sh-catalog/deploy-overlap-experiment.ts"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f74adfd77f0b3e81757388117a4ad8bb620511879910830e8c811b69378902b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/staging-seed/sanitize-prod-snapshot.ts:359 \u00B7 scripts/staging-seed/sanitize-prod-snapshot.ts:373 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/staging-seed/sanitize-prod-snapshot.ts"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b65c0d7ea5af8bb3c78ee767acf30f574665d391765da617d4455f60fb6b19b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/components/SkillDetailPage.tsx:247 \u00B7 src/routes/user/$handle.tsx:521 \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/SkillDetailPage.tsx"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4b26e0f8eac8998ab3df0e0142b474eb13038b084d019c55f470c07ecd124f5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/components/dashboard/DashboardNeedsAttention.tsx:602 \u00B7 src/routes/plugins/$name.tsx:780 \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/dashboard/DashboardNeedsAttention.tsx"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"987e0f91a89378f5b5a25f24227d94479d311eaa7a1ce9b74cdd4910ca2b8841"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/components/skillDetailUtils.ts:92 \u00B7 src/lib/skillFrontmatter.ts:21 \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/skillDetailUtils.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbbb44ffc850bedcd375a6ca58083afb0fa86d7d24116bad40773dc2f7b4fdc2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/lib/packageApi.ts:350 \u00B7 src/lib/packageApi.ts:452 \u2014 both copies are in the same file, so extract the block into one function there 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/lib/packageApi.ts"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"a861ef14508b7a19dbae24dac3a509dc345689c52a78592bbc89b276f9a2ac07"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/routes/-management/managementShared.ts:173 \u00B7 src/routes/-management/managementShared.ts:181 \u2014 both copies are in the same file, so extract the block into one function there 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/routes/-management/managementShared.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad78822c1079ec76943dcdcef0e7c2f8ceff0598def7dc74fcf4484c5c8e9148"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): src/routes/plugins/$scope/$name.tsx:15 \u00B7 src/routes/plugins/$scope/$name/security-audit.tsx:14 \u00B7 src/routes/plugins/$scope/$name/security/$scanner.tsx:7 \u2014 the 3 copies are spread across 3 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/routes/plugins/$scope/$name.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c363f05205d1577ddd64cebc69725e055f2d75c801435919a14cad4d6c2b6b2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/routes/search.tsx:295 \u00B7 src/routes/search.tsx:303 \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/routes/search.tsx"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f11f555264e19ca06f2f9cf83e0fd6ae050259c7fcd16287c3c02dc48ddd04b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): src/routes/skills/publish.tsx:189 \u00B7 src/routes/skills/publish.tsx:1411 \u2014 the two spans are one implementation copied and then locally edited \u2014 92 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/skills/publish.tsx"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab83daed73cd92eb2f1ee9e0b38779f936ac8bad2b9a31e0905284608529f192"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5 locations): convex/canonicalTrending.ts:265 \u00B7 convex/canonicalTrending.ts:1129 \u00B7 convex/skillHourlyStats.ts:36 \u00B7 convex/skillsShMirrorVisibility.ts:696 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 4 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":"convex/canonicalTrending.ts"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"00d7f551989e391746adc70ef3af70eab73b43758be0dce05696897a3bea22b4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): convex/catalogClassification.ts:73 \u00B7 convex/catalogClassificationNode.ts:21 \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":"convex/catalogClassification.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"1beb6f6d9369449cdefe65b808a1e46222ba48e083b56ccb6add27e6170aafde"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5 locations): convex/devSeed.ts:3730 \u00B7 convex/schema.ts:244 \u00B7 convex/schema.ts:928 \u00B7 convex/schema.ts:3666 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/devSeed.ts"},"region":{"startLine":3730}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5a8fb7acf1546db00299a09bc418abc715722f1a1abca311e37e216d8e07503"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4 locations): convex/devSeed.ts:3942 \u00B7 convex/packages.ts:5459 \u00B7 convex/packages.ts:5484 \u00B7 convex/users.ts:361 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/devSeed.ts"},"region":{"startLine":3942}}}],"partialFingerprints":{"codehealthFindingId/v1":"4568802ab8c6cbe26974146b5ce746356c6568659094e7fcdcbfe15c13cb2b1c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): convex/devSeedDownloadAnalytics.ts:27 \u00B7 convex/devSeedPackageTrending.ts:16 \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":"convex/devSeedDownloadAnalytics.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"08b5b1e934409629524736a7ba4b081eefbde872b97e44b311c7bf73df420972"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): convex/devSeedDownloadAnalytics.ts:100 \u00B7 convex/devSeedPackageTrending.ts:75 \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":"convex/devSeedDownloadAnalytics.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d9127f74848bd4f54a1b4d5d956a06bcc57cf4dc53ef4e799e80d898f631975"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 10 locations): convex/downloadAnalyticsHttp.ts:7 \u00B7 convex/httpApiV1/contentRightsV1.ts:78 \u00B7 convex/httpApiV1/managedMcpV1.ts:14 \u00B7 convex/httpApiV1/packagesV1.ts:2625 \u00B7 \u002B6 more site(s) not listed \u2014 the 6 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":"convex/downloadAnalyticsHttp.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ee2513aa5fa3060e7d30470266b1ae94bf2a4e371e5d97430c1f03d37a28c2c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): convex/featuredArtifacts.ts:178 \u00B7 convex/lib/featuredPolicy.ts:22 \u2014 the two spans are one implementation copied and then locally edited \u2014 50 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":"convex/featuredArtifacts.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"11c8296109f4a181c1f432da87e2f702df08d96d64ca937b9a8f15190cc26efd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 9 locations): convex/featuredSkills.ts:26 \u00B7 convex/maintenance.ts:1355 \u00B7 convex/maintenance.ts:1538 \u00B7 convex/maintenance.ts:1684 \u00B7 \u002B5 more site(s) not listed \u2014 the 9 copies are spread across 5 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":"convex/featuredSkills.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"684260badb17345bde448d55548227dba0c1fe290c17c6dfd4389ec7818dcfba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): convex/functions.ts:445 \u00B7 convex/functions.ts:452 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/functions.ts"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"df9a2215974fb8c75f474e46fe5e039da73a0da273ae71986ce8e67bd7afa82c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 10 locations): convex/githubImport.ts:112 \u00B7 convex/maintenance.ts:1781 \u00B7 convex/maintenance.ts:3104 \u00B7 convex/maintenance.ts:3213 \u00B7 \u002B6 more site(s) not listed \u2014 the 10 copies are spread across 6 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":"convex/githubImport.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a7e93851ab25dda50c560433772feec9bb320f4c7883bfdcf80402695cae5f6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): convex/githubSkillSync.ts:2054 \u00B7 convex/schema.ts:2132 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/githubSkillSync.ts"},"region":{"startLine":2054}}}],"partialFingerprints":{"codehealthFindingId/v1":"9550448736938a171bdb5f91510e0fc1ce07de700555374d2f31e4a93c50c3be"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): convex/httpApiV1/managedMcpV1.ts:16 \u00B7 convex/httpApiV1/packagesV1.ts:2627 \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":"convex/httpApiV1/managedMcpV1.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"c00c8c1144a1bed54426811cd3fce8c0de438cc16f248b25a497b702f00d486e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6 locations): convex/httpApiV1/packagesV1.ts:2200 \u00B7 convex/httpApiV1/promotionsV1.ts:191 \u00B7 convex/httpApiV1/skillsV1.ts:1132 \u00B7 convex/httpApiV1/skillsV1.ts:1148 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 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":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":2200}}}],"partialFingerprints":{"codehealthFindingId/v1":"383e2b9a4830c3ea5ab3e74545e9cf07681c8606254a82e58fa5b480bf533177"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): convex/httpApiV1/packagesV1.ts:2613 \u00B7 convex/httpApiV1/packagesV1.ts:3775 \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":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":2613}}}],"partialFingerprints":{"codehealthFindingId/v1":"64da907ffb79f8f9b664547d1341c3b9e3e6e684592397fb85f6b937d3e92b19"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4 locations): convex/httpApiV1/packagesV1.ts:3783 \u00B7 convex/httpApiV1/packagesV1.ts:3837 \u00B7 convex/httpApiV1/packagesV1.ts:3857 \u00B7 convex/httpApiV1/packagesV1.ts:3877 \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":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":3783}}}],"partialFingerprints":{"codehealthFindingId/v1":"14791ffed6e323ef9b7dc524f7de8a1f5b9ba8a4d7b6b0a4c64b669038b6bffb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): convex/httpApiV1/promotionsV1.ts:198 \u00B7 convex/httpApiV1/promotionsV1.ts:236 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/promotionsV1.ts"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"06e5512c1b39db89243e646ee8b70e67cbc910b37b7b5586e044d2f3b3885469"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): convex/httpApiV1/promotionsV1.ts:232 \u00B7 convex/httpApiV1/transfersV1.ts:12 \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":"convex/httpApiV1/promotionsV1.ts"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"6df99735d5c67a4df9d7b69eafce44cc29990ab4e77325678d5ccaead5f312ca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): convex/httpApiV1/searchInsightsV1.ts:6 \u00B7 convex/httpApiV1/searchReportsV1.ts:12 \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":"convex/httpApiV1/searchInsightsV1.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"5915bc3d26d743a53a5e0ccb6defd80c6b5aeff0f467a98a22f7d9a647680c43"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): convex/httpApiV1/skillsShCatalogV1.ts:1154 \u00B7 convex/lib/httpPathSegments.ts:7 \u2014 the two spans are one implementation copied and then locally edited \u2014 50 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":"convex/httpApiV1/skillsShCatalogV1.ts"},"region":{"startLine":1154}}}],"partialFingerprints":{"codehealthFindingId/v1":"c615f4a678215b7ca1aa4a77c46bd8e344b3734f80a73ce20bca088ac9ce77a3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): convex/httpApiV1/skillsV1.ts:1308 \u00B7 convex/httpApiV1/skillsV1.ts:1355 \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":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":1308}}}],"partialFingerprints":{"codehealthFindingId/v1":"6942351664bf879cd0d99b6773975572d1deb2ffc27da1fcfd0045fcc9f3a19b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): convex/httpApiV1/skillsV1.ts:1447 \u00B7 convex/httpApiV1/usersV1.ts:1012 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":1447}}}],"partialFingerprints":{"codehealthFindingId/v1":"d677803217e50d19df4405ba756f5b619fe8e34c3de3240f88ef48b16c3b2cbd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): convex/httpApiV1/skillsV1.ts:2522 \u00B7 convex/skills.ts:8398 \u00B7 convex/skills.ts:8424 \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":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":2522}}}],"partialFingerprints":{"codehealthFindingId/v1":"84ca3f3d2fd71c1fcbf0166ed7ffb6b9fe3af41e9d5e20f470df5c5a4794a619"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): convex/lib/packagePageCursor.ts:18 \u00B7 convex/skills.ts:5568 \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":"convex/lib/packagePageCursor.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1f9215420f5b0f558b7e481432fcd180684ff746632b2d42ceec2fcd8aa1e3a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): convex/lib/packageRegistry.ts:417 \u00B7 convex/lib/skillPublish.ts:234 \u2014 the two spans are one implementation copied and then locally edited \u2014 60 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":"convex/lib/packageRegistry.ts"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f307623ca74fb6151c791c089fbbc727b9b169b4c784d1ab8c5e5d4d5481ffe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): convex/lib/packageSdkUsage.ts:267 \u00B7 convex/packages.ts:5494 \u2014 the two spans are one implementation copied and then locally edited \u2014 50 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":"convex/lib/packageSdkUsage.ts"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3aa965c14ac874cb8abe1fe4e5413f398358936ebef75f8b5e576a3ae2af1b7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): convex/lib/searchDigestContract.ts:6 \u00B7 convex/schema.ts:4091 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/searchDigestContract.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"41aa33a0f5ec88ea38a08e1f132dc4750e9e2bc74e8856815f71f5016febc697"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): convex/lib/skillEvaluationResult.ts:20 \u00B7 scripts/skills-sh-catalog/prove-trending-test.ts:16 \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":"convex/lib/skillEvaluationResult.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"20cb22c6a6053c7d5b2343bab39e4d43692267bcc8e2af18bc143296648954dd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): convex/lib/skillHourlyStats.ts:121 \u00B7 convex/migrations.ts:362 \u00B7 convex/searchTestFixtures.ts:62 \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":"convex/lib/skillHourlyStats.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f3577cfe3cf7e4cbb803d11c8287dea7d76ea3d13b3b579239047edb0559043"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): convex/lib/skillPublish.ts:907 \u00B7 convex/lib/storageText.ts:6 \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":"convex/lib/skillPublish.ts"},"region":{"startLine":907}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8770e378b98ce78e3c33e0433570f43f66a81720aaaa569b272d3d129efcfcb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): convex/lib/skillSpectorEvidence.ts:98 \u00B7 convex/lib/skillSpectorEvidence.ts:109 \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":"convex/lib/skillSpectorEvidence.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"388fd0f3c320304c6375cf420770672c454364429b830b7ad6bcba4f0ad99311"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): convex/lib/skills/skillMarkdown.ts:121 \u00B7 packages/clawhub/src/skills.ts:148 \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":"convex/lib/skills/skillMarkdown.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b8955502eb160c12be3197d7f45ae113354c5d5163db3f38de0d768cae93e21"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4 locations): convex/maintenance.ts:1537 \u00B7 convex/maintenance.ts:1728 \u00B7 convex/maintenance.ts:1780 \u00B7 convex/skillPresentationBackfill.ts:240 \u2014 the 4 copies are spread across 2 files, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/maintenance.ts"},"region":{"startLine":1537}}}],"partialFingerprints":{"codehealthFindingId/v1":"6138e68e4d6d499c9291f6ffd005eb9c104514cb92ad6a61c11c2f2a92d0c1e5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): convex/maintenance.ts:3253 \u00B7 convex/maintenance.ts:3346 \u00B7 convex/skills.ts:7663 \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":"convex/maintenance.ts"},"region":{"startLine":3253}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5af1dd19b562238182e9e1641e25546d9063c2577e786915a8fb1e9d70b43c3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): convex/maintenance.ts:1907 \u00B7 convex/skillCardDevSeed.ts:38 \u2014 the two spans are one implementation copied and then locally edited \u2014 59 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/maintenance.ts"},"region":{"startLine":1907}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6b6e9a9329015bf854cdfb60690a3c3f0633ab3a067924f934b78e1759d9ff7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): convex/managedMcp.ts:32 \u00B7 convex/publishers.ts:2432 \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":"convex/managedMcp.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ceb65cdc4b66b6b5c7c9f8c03d25821bcc1ef0cb63160783ca7ec215ff21c07"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): convex/packageLeaderboards.ts:92 \u00B7 convex/packageLeaderboards.ts:167 \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":"convex/packageLeaderboards.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ced2fa6592a36b2fd046b75432ddc774360ef9728c4c4ccb9341e13f8c6a15b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5 locations): convex/packagePublishTokens.ts:12 \u00B7 convex/skillsShCatalog.ts:656 \u00B7 convex/skillsShCatalog.ts:1007 \u00B7 convex/skillsShCatalog.ts:1196 \u00B7 \u002B1 more site(s) not listed \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":"convex/packagePublishTokens.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"448e40e3a0094c5cfd3b86debbe671591c0311849c1fbebbfed0e8b207cd2569"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): convex/packages.ts:2242 \u00B7 convex/packages.ts:2584 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/packages.ts"},"region":{"startLine":2242}}}],"partialFingerprints":{"codehealthFindingId/v1":"940d1517900fba43308db51f1f6b823cb55dab9bc13908cc0eeb916ce6147a74"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): convex/packages.ts:2650 \u00B7 convex/packages.ts:2667 \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":"convex/packages.ts"},"region":{"startLine":2650}}}],"partialFingerprints":{"codehealthFindingId/v1":"e607dddaf170b2297413e583bc0ec1d93907ea3ce8d2a7df55e1e9931324e9da"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): convex/packages.ts:2989 \u00B7 convex/skills.ts:3083 \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":"convex/packages.ts"},"region":{"startLine":2989}}}],"partialFingerprints":{"codehealthFindingId/v1":"563ee2787dbabdd8dcf1c1125d8a89a200aec40c5d2f3225d777e50a43e575a1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): convex/packages.ts:4157 \u00B7 convex/packages.ts:4164 \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":"convex/packages.ts"},"region":{"startLine":4157}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cc905bf6ecfeb9ffbbc21845cda4e988724bb725f611a7ab2561528df9219e1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): convex/packages.ts:4498 \u00B7 convex/packages.ts:4527 \u2014 all 2 copies are in the same file, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/packages.ts"},"region":{"startLine":4498}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c0d77885580069f3fd2d0ec3f1d8a858494e3937e4347d389a5b599ddfe2e44"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 9 locations): convex/packages.ts:4900 \u00B7 convex/packages.ts:7723 \u00B7 convex/packages.ts:10402 \u00B7 convex/packages.ts:12089 \u00B7 \u002B5 more site(s) not listed \u2014 the 9 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":"convex/packages.ts"},"region":{"startLine":4900}}}],"partialFingerprints":{"codehealthFindingId/v1":"28daafcee5c743d2da1a944ba8e2f355e4a51852798586d6dd2ddbb9b6af56f4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5 locations): convex/packages.ts:7128 \u00B7 convex/skills.ts:7877 \u00B7 convex/skills.ts:7991 \u00B7 convex/skills.ts:8049 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 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":"convex/packages.ts"},"region":{"startLine":7128}}}],"partialFingerprints":{"codehealthFindingId/v1":"f15e3fdfde9334afd006ae2102655ecb702281d448736ccdb668038ff5f73824"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): convex/packages.ts:11215 \u00B7 convex/skills.ts:6114 \u00B7 convex/skills.ts:6130 \u2014 the 3 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/packages.ts"},"region":{"startLine":11215}}}],"partialFingerprints":{"codehealthFindingId/v1":"a49c5257f02a8451e33e2e3973291a6235150c183287e58076d7bd3040904c7e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 9 locations): convex/packages.ts:3022 \u00B7 convex/packages.ts:3728 \u00B7 convex/packages.ts:4495 \u00B7 convex/packages.ts:4524 \u00B7 \u002B5 more site(s) not listed \u2014 the 9 copies are spread across 3 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/packages.ts"},"region":{"startLine":3022}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd0e8e5a28b7a65a34a2742a95f0ca900f5d0c402141b01240107abd9c192da6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): convex/publishAttempts.ts:299 \u00B7 convex/skills.ts:3082 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/publishAttempts.ts"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"381c9209cd22e4955e8a03d3103bd15fde5fd3444ff437c432ae1a3b825ef001"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): convex/publishAttempts.ts:1493 \u00B7 convex/skills.ts:2629 \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":"convex/publishAttempts.ts"},"region":{"startLine":1493}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5ae2ecc369cd55defcc7105562fd323c31d0ccbf727eacc1ec5495cb525afa3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): convex/publisherAbuse.ts:1873 \u00B7 convex/securityScan.ts:548 \u00B7 convex/skillVersionArtifactHash.ts:95 \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":"convex/publisherAbuse.ts"},"region":{"startLine":1873}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc3e69884ff56038f3ca87972e31d9d5e80addebc5de30c309c160eca0f3ae2e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): convex/publisherAbuseTemporalScan.ts:296 \u00B7 convex/publisherAbuseTemporalScan.ts:302 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/publisherAbuseTemporalScan.ts"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6b7b94b8845ad773dffd7df64f87eeecce15a233382ee3f2576f26b737f2760"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): convex/publishers.ts:645 \u00B7 convex/publishers.ts:2696 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/publishers.ts"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"6043ba60ad5dadf0d937f01c1ff693d936819c94ea7398804eed7ace12d7f58f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): convex/publishers.ts:3234 \u00B7 convex/schema.ts:236 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/publishers.ts"},"region":{"startLine":3234}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ed0d2111c87aa0bf33383c9cee6a6324fd9d27e4d692d31c62c8776af548fbf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): convex/publishers.ts:3240 \u00B7 convex/publishers.ts:4253 \u00B7 convex/securityScan.ts:2580 \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":"convex/publishers.ts"},"region":{"startLine":3240}}}],"partialFingerprints":{"codehealthFindingId/v1":"67233ef6fd6acb7e278eadd14b1437d4e6fd6e626b7f2d9835300531e0b1f283"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): convex/publishers.ts:522 \u00B7 src/lib/templateRoutes.ts:16 \u2014 the two spans are one implementation copied and then locally edited \u2014 54 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":"convex/publishers.ts"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"8804980de25aea4dcc7a63ee07d49ef8791ea53c250ec53083f6d2aba1a35803"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): convex/schema.ts:345 \u00B7 convex/schema.ts:2119 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Check what actually differs between the copies before collapsing them: every one of them is an argument to a \u0060defineTable(\u2026)\u0060 call, so where these calls are a MATRIX of cases \u2014 one per input, differing precisely in the case each one pins \u2014 the repetition is the enumeration and extracting the shared part would delete cases rather than de-duplicate anything."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/schema.ts"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a19966ab3c3f21fd95ac0739e4303aa194075ecb0e2f52d6a2617c0552540c0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): convex/schema.ts:356 \u00B7 convex/schema.ts:1153 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/schema.ts"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2b0dd08b2461fbbdb45db843d1e869794b3045c89fc06ff779c785f07f283e7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): convex/schema.ts:881 \u00B7 convex/schema.ts:3293 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/schema.ts"},"region":{"startLine":881}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e82e85cb7d1a15e05ab70bdad7531964430309d17437cab8fb1a63919732484"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4 locations): convex/schema.ts:979 \u00B7 convex/schema.ts:1002 \u00B7 convex/schema.ts:1415 \u00B7 convex/schema.ts:1884 \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":"convex/schema.ts"},"region":{"startLine":979}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9b4a9ec45e26d5dc097062653523680c07f702f3cde0475edf0608e51be6f67"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): convex/schema.ts:1266 \u00B7 convex/skills.ts:10345 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/schema.ts"},"region":{"startLine":1266}}}],"partialFingerprints":{"codehealthFindingId/v1":"15b9c77c991e891df9c9e47871088252d1e422bac6a3d6d038ee07abff18c5de"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): convex/schema.ts:1456 \u00B7 convex/schema.ts:2197 \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":"convex/schema.ts"},"region":{"startLine":1456}}}],"partialFingerprints":{"codehealthFindingId/v1":"8663a80bc8aaae50143c6945433b7c7dbcae41987edb7116912f65217f0344f4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): convex/schema.ts:1735 \u00B7 convex/schema.ts:1824 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/schema.ts"},"region":{"startLine":1735}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d35daad1be09b7a307892c7cdc425cb5b0d089e1e51cef010ecc4c3637bf42b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): convex/schema.ts:2517 \u00B7 convex/schema.ts:2525 \u00B7 convex/schema.ts:3959 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/schema.ts"},"region":{"startLine":2517}}}],"partialFingerprints":{"codehealthFindingId/v1":"391d28df0da40a603bcd01346aa5f671c59ba6e6a19d88d950a6073e47de128d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): convex/schema.ts:3192 \u00B7 convex/schema.ts:3241 \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":"convex/schema.ts"},"region":{"startLine":3192}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1738105802f093cba4a2d8ded3b91eb814159f67472f0a5e2473cbff03b31db"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): convex/schema.ts:3551 \u00B7 convex/schema.ts:3574 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/schema.ts"},"region":{"startLine":3551}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a817c406cbe712e52324da753d035d028a133033b86685d673b67801eaff2c4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): convex/search.ts:1279 \u00B7 convex/search.ts:1347 \u2014 all 2 copies are in the same file, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/search.ts"},"region":{"startLine":1279}}}],"partialFingerprints":{"codehealthFindingId/v1":"1def2cb018974fe45bfd952f6bee17b32ca2ee38fee0c44a77ea02d5d919f4ac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): convex/securityDataset.ts:36 \u00B7 convex/securityDataset.ts:102 \u00B7 convex/securityDatasetNode.ts:39 \u2014 the 3 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/securityDataset.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cca2a517f8f9ab049a51e76ccf2c557edb0459e9b8a9aad5d662bc3e1f56849"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): convex/securityScan.ts:655 \u00B7 convex/users.ts:2785 \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":"convex/securityScan.ts"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"fae76b4ef59612efaa605677dc74bab7e03325c8134c9be3634c563b1a58ae89"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 8 locations): convex/securityScan.ts:1648 \u00B7 convex/skills.ts:2882 \u00B7 convex/skills.ts:9963 \u00B7 convex/skills.ts:11093 \u00B7 \u002B4 more site(s) not listed \u2014 the 8 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":"convex/securityScan.ts"},"region":{"startLine":1648}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ee5af63546e58b8b0408802c27b6d53c89084b381cfebee672ba4e3924402e7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): convex/securityScan.ts:2354 \u00B7 convex/users.ts:2407 \u00B7 convex/users.ts:2496 \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":"convex/securityScan.ts"},"region":{"startLine":2354}}}],"partialFingerprints":{"codehealthFindingId/v1":"1446a5132e7687ba5c2d4cf62dbb470367827fa0559bf6a33ae8488a53487090"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): convex/securityScan.ts:3535 \u00B7 convex/securityScan.ts:3557 \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":"convex/securityScan.ts"},"region":{"startLine":3535}}}],"partialFingerprints":{"codehealthFindingId/v1":"03612e83742e4701e6c3fdb14e74311750a43738f35995ae5cdecd676cb8e8f0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): convex/skillCards.ts:508 \u00B7 convex/skillCards.ts:542 \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":"convex/skillCards.ts"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"c35b99bd8da5dead1145f733f21c485e834a7152a90450977bf71f5374b1e748"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): convex/skillEvaluationDispatch.ts:135 \u00B7 convex/skillsShMirrorVisibility.ts:698 \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":"convex/skillEvaluationDispatch.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"dac7299898d9f1be8702caf2914e59da3609596b835511bcf4cdadf01c4eeb78"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): convex/skillStatEvents.ts:456 \u00B7 convex/skillsShMirrorVisibility.ts:730 \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":"convex/skillStatEvents.ts"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdd166869b5fd29e870fe425f0e3132ba525057e2603a63a18acaa932caf26e9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): convex/skillStatEvents.ts:736 \u00B7 convex/skillStatEvents.ts:760 \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":"convex/skillStatEvents.ts"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"1379995d2bbd6856b23cada304830331c8aeeec5fd6aab9d66c0931f17ce3d4b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): convex/skillStatEvents.ts:861 \u00B7 convex/skillStatEvents.ts:930 \u00B7 convex/skillStatEvents.ts:1055 \u2014 all 3 copies are in the same file, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skillStatEvents.ts"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"c52cdc9b876a4c5cb9407196eb89674cfc7d4230bb75c0f527e17ce122737824"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): convex/skillStatEvents.ts:1147 \u00B7 convex/statsMaintenance.ts:81 \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":"convex/skillStatEvents.ts"},"region":{"startLine":1147}}}],"partialFingerprints":{"codehealthFindingId/v1":"00698696e3873a77082c0280c61e66e815cbc7bedadb20e2589a49925c388807"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): convex/skills.ts:766 \u00B7 convex/skills.ts:802 \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":"convex/skills.ts"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d347dcf249fd458884ff2575f28e6198fa53d9671399ecab3426a5cf3cd4fcd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): convex/skills.ts:2673 \u00B7 convex/skills.ts:3083 \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":"convex/skills.ts"},"region":{"startLine":2673}}}],"partialFingerprints":{"codehealthFindingId/v1":"695cdc890d83e20a9479507b9738d5eeb4db5341062ff65938a5435386d70e29"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): convex/skills.ts:3378 \u00B7 convex/skills.ts:3426 \u00B7 convex/users.ts:1344 \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":"convex/skills.ts"},"region":{"startLine":3378}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5141c23278d848d1e12413aafa0a69752d927c233cc73a77d2ff0523066e768"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): convex/skills.ts:4727 \u00B7 convex/skills.ts:5437 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skills.ts"},"region":{"startLine":4727}}}],"partialFingerprints":{"codehealthFindingId/v1":"f503c61c503578ec39286f6c345ea414bfbd9e0814d626afec14d35913dedc41"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): convex/skills.ts:5167 \u00B7 convex/skills.ts:6787 \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":"convex/skills.ts"},"region":{"startLine":5167}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaa94a838452b6ef0815f1b1ae55050c4694221feda4adf8961297de5378edf0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): convex/skills.ts:7974 \u00B7 convex/skills.ts:8033 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skills.ts"},"region":{"startLine":7974}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c5af3cfa0e8d88c4167b49fe46fb155c7f1f208120c7e345980f7c9f38b345c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): convex/skills.ts:8624 \u00B7 convex/skills.ts:8685 \u00B7 convex/skills.ts:8755 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skills.ts"},"region":{"startLine":8624}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d9078ad3695af0c813c38729fe7527c6476f3243eaa7b9f348e02d2df72bab2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6 locations): convex/skills.ts:8828 \u00B7 convex/skills.ts:8862 \u00B7 convex/skills.ts:8952 \u00B7 convex/skills.ts:8998 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 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":"convex/skills.ts"},"region":{"startLine":8828}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c808b72498ad6ee536a9ef82152f573e8e7eb445fe4c230a4812994401bf86f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): convex/skills.ts:8997 \u00B7 convex/skills.ts:10147 \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":"convex/skills.ts"},"region":{"startLine":8997}}}],"partialFingerprints":{"codehealthFindingId/v1":"62483f849c54226e8b9a022fea6d672bbc932ffd02c9ddf411e1a75cdf72685c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): convex/skills.ts:9636 \u00B7 convex/users.ts:2752 \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":"convex/skills.ts"},"region":{"startLine":9636}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dc0b33641cf84d7a06ac54ab83505376717da4e96b7030bf817578d60297d4a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): convex/skills.ts:9772 \u00B7 convex/skills.ts:9968 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skills.ts"},"region":{"startLine":9772}}}],"partialFingerprints":{"codehealthFindingId/v1":"70cb0af4bfbf2fc356880e5701d8b3b0f84e94762db1c5a5a716e3afd2564da9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): convex/skills.ts:10133 \u00B7 convex/skills.ts:10140 \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":"convex/skills.ts"},"region":{"startLine":10133}}}],"partialFingerprints":{"codehealthFindingId/v1":"6046367d168617967061062462402580e9a2378bb7c5ca55c3a54939d1257317"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): convex/skills.ts:10840 \u00B7 convex/stars.ts:112 \u00B7 convex/stars.ts:138 \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":"convex/skills.ts"},"region":{"startLine":10840}}}],"partialFingerprints":{"codehealthFindingId/v1":"0031aeb7fd5f2499549fd66086c9d9f2ed168b1f139604f30729338aa846ee19"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): convex/skillsShCatalog.ts:985 \u00B7 convex/skillsShCatalog.ts:1172 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skillsShCatalog.ts"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b14982ac057a2bc592739882ebb7f58fba768966b6906d95850971ae6489866"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4 locations): convex/statsMaintenance.ts:564 \u00B7 convex/statsMaintenance.ts:584 \u00B7 convex/statsMaintenance.ts:608 \u00B7 convex/statsMaintenance.ts:633 \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":"convex/statsMaintenance.ts"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c197efdd9b396d71e08b6eeb11ed93afdfb9a7655dcec8ba6069479671fcce8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): convex/telemetry.ts:167 \u00B7 convex/users.ts:1659 \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":"convex/telemetry.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d706ef94589214c030cfae4a25a7e54feb80749fff0cb5e333cb5fb68a7869a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/clawhub-admin/src/commands/moderation.ts:193 \u00B7 packages/clawhub-admin/src/commands/moderation.ts:656 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/moderation.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"01ac36b33dc2ed1e76060fa84401aa75516f95795c7929634c4f22b5cbd6be8b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/clawhub-admin/src/commands/moderation.ts:724 \u00B7 packages/clawhub/src/cli/commands/delete.ts:168 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/moderation.ts"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cd117128e7706fa5c04ea902e30a8e7389326fc8f4ac2968575e25d64a0eafd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6 locations): packages/clawhub-admin/src/commands/packages.ts:264 \u00B7 packages/clawhub/src/cli/commands/packages.ts:391 \u00B7 packages/clawhub/src/cli/commands/packages.ts:515 \u00B7 packages/clawhub/src/cli/commands/packages.ts:541 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/packages.ts"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"a291fef5f612a9103803ab92ce071722b1b1131d22dc4dab4d8381b56ffc3415"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): packages/clawhub/src/cli/commands/inspect.ts:305 \u00B7 packages/clawhub/src/cli/commands/packages.ts:391 \u00B7 packages/clawhub/src/cli/commands/packages.ts:541 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/inspect.ts"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"f446998f325d5299ae9e80aa04227fb1ba444b1838d044d33a6c42ad8bc620b6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): packages/clawhub/src/deviceAuth.ts:190 \u00B7 src/lib/trendingApi.ts:56 \u2014 the two spans are one implementation copied and then locally edited \u2014 55 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/deviceAuth.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3eae8de4c149de79b33b78d895c1793dc1c89f6237db1de09106710f9057b14"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/clawhub/src/http.ts:258 \u00B7 packages/clawhub/src/http.ts:286 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/http.ts"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"353024164a7b15f3228b77495a1073941435da8797d556f20addfd098cc3f4cb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): packages/clawhub/src/skills.ts:198 \u00B7 src/routes/settings.tsx:99 \u00B7 src/routes/settings.tsx:2998 \u2014 the 3 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/skills.ts"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a73da4d22ddce673ea8fda650ecdc3c0ad1ec5fd95a6f79ea7d65f691196115"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): scripts/design-audit/run-codex.ts:19 \u00B7 scripts/lib/runWorkerCommand.ts:207 \u2014 the two spans are one implementation copied and then locally edited \u2014 55 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/design-audit/run-codex.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"cafb56ce2416654f7838b121dce45217d0e6ba149616ec1731fa4e1aaa4b4f80"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): scripts/extract-changelog-release.mjs:5 \u00B7 scripts/ui-proof-runtime.mjs:64 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/extract-changelog-release.mjs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"b34dc34cfb50a3850fb37b8e0cf7a0fec8fc8282a36318209047cf6bb070e259"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): scripts/package-inspector-nightly-scan.ts:382 \u00B7 src/lib/trendingApi.ts:176 \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":"scripts/package-inspector-nightly-scan.ts"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce88f86949b3f97690a0682507ed6abff35bb076de5988e703ea22caa3c322ce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): scripts/ranking-metrics/export-prod-ranking-metrics.ts:192 \u00B7 scripts/staging-seed/import-test-snapshot.ts:9 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ranking-metrics/export-prod-ranking-metrics.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"c77c317ff9a8fca5dd044946499f20fc7709538890be60c69d7c41183c6749be"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): scripts/security-dataset/merge-snapshots.ts:357 \u00B7 scripts/seed.ts:18 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/security-dataset/merge-snapshots.ts"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"d25922c86abc575f1bde9ef27f2abbfbf5292db3c6bec146ceb146f62b830caf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): scripts/security/clawscan-exposure.ts:37 \u00B7 scripts/security/run-clawscan-diagnostic.ts:35 \u00B7 scripts/security/skillSpectorReportPolicy.ts:71 \u2014 the 3 copies are spread across 3 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":"scripts/security/clawscan-exposure.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"df019a2cb3f69c5913b4940401662764ab9065332f158c5c6a1e0ccd016c1906"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): scripts/staging-seed/validate-sanitized-snapshot.ts:111 \u00B7 scripts/staging-seed/validate-sanitized-snapshot.ts:120 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/staging-seed/validate-sanitized-snapshot.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"e67c660a32429d45fe7df8effe381513a67805142d3484e46ee1c74fab79486a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/components/AnalyticsEligibility.tsx:29 \u00B7 src/components/AnalyticsEligibility.tsx:38 \u2014 both copies are in the same file, so extract the block into one function there 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/AnalyticsEligibility.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"da94d9fdf0f2d77aa111b2d84e3914a350c59ec5198122cb12606a4a6083a79a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/components/artifacts/artifactStatus.ts:116 \u00B7 src/components/dashboard/artifactStatusLabels.ts:58 \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/artifacts/artifactStatus.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c30e8d43bb02eb3a08684c1fe2b92ad2655ffbaf9c32a55607ad2cba0eb9698"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/components/dashboard/dashboardDownloadMetrics.ts:82 \u00B7 src/components/dashboard/dashboardDownloadMetrics.ts:88 \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/dashboard/dashboardDownloadMetrics.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"519a5b4249d3ee1edf08d653ad3df087715ddccae36df55089029e6a22729139"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/lib/packageApi.ts:425 \u00B7 src/lib/packageApi.ts:452 \u2014 both copies are in the same file, so extract the block into one function there 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/lib/packageApi.ts"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2f03eaf4df8646376637bb5fb59d8ca5426c328b59706e35ca9a8032e811a72"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): src/lib/packageUpload.ts:71 \u00B7 src/lib/uploadFiles.ts:213 \u2014 the two spans are one implementation copied and then locally edited \u2014 63 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/lib/packageUpload.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"07ff9b238bff63f11678e7969ac06e357576d15b003180f0e863e7f3afe74945"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): src/routes/management.tsx:306 \u00B7 src/routes/plugins/publish.tsx:211 \u00B7 src/routes/settings.tsx:318 \u2014 the 3 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. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/management.tsx"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"b68ec8ddb21b1b8f4bbab9663beaad3f2d73c438b4432dc57c5155b221c7a394"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/routes/management.tsx:318 \u00B7 src/routes/settings.tsx:326 \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/routes/management.tsx"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c4b80c38b7c7175fba9bed7ef83dee0fcbf34b144f703cbfc08683e75843bec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/routes/settings.tsx:104 \u00B7 src/routes/settings.tsx:3003 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/settings.tsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6c683408cfe5883f6e79c922b5a77e6d9856015e68a3c51ead762871581db78"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): vite.config.ts:55 \u00B7 vite.config.ts:85 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vite.config.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"3878bff6859d3d392f87a5ac021faeb934ef896c747bf041e0928e50eda818b9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): vite.config.ts:63 \u00B7 vite.config.ts:114 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vite.config.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f7827f71ee16607fb5721b62b0175f99a020d57002dc856915ea40f11f6530"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): convex/auth.ts:109 \u00B7 convex/users.ts:497 \u2014 the two spans are one implementation copied and then locally edited \u2014 54 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":"convex/auth.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"d85f82425f28f57e38bc6e710c6a9fb53d4ca6b6d3fa41b2d6f0dfbdb403222a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 12 locations): convex/devSeed.ts:712 \u00B7 convex/devSeed.ts:2247 \u00B7 convex/packages.ts:5432 \u00B7 convex/packages.ts:5457 \u00B7 \u002B8 more site(s) not listed \u2014 the 5 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":"convex/devSeed.ts"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"da63411a03eeb75dae884e8a07814f432c551e4713f1b0053c18e72638ab0153"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): convex/githubImport.ts:865 \u00B7 convex/publisherAbuse.ts:3277 \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":"convex/githubImport.ts"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb4d475656d7e5216e6a0b0e4f929f889212c14fdbcd96b415f45a0339abf5c5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): convex/httpApiV1/packagePublishRecoveryV1.ts:31 \u00B7 convex/httpApiV1/packagesV1.ts:2283 \u00B7 convex/httpApiV1/packagesV1.ts:3326 \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":"convex/httpApiV1/packagePublishRecoveryV1.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"83ab8f5e4811ded349bfd38771d26fe07f457b33013d69d3a303489cb3617e58"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 9 locations): convex/httpApiV1/packagesV1.ts:2625 \u00B7 convex/httpApiV1/packagesV1.ts:2807 \u00B7 convex/httpApiV1/packagesV1.ts:2861 \u00B7 convex/httpApiV1/packagesV1.ts:3014 \u00B7 \u002B5 more site(s) not listed \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":2625}}}],"partialFingerprints":{"codehealthFindingId/v1":"aba27b4c95668c1c83e68874d9cffc45f90b29b918682d6124e6f58df6f15984"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): convex/httpApiV1/packagesV1.ts:3484 \u00B7 convex/httpApiV1/starsV1.ts:7 \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":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":3484}}}],"partialFingerprints":{"codehealthFindingId/v1":"761c2dcd1aa2ae748175ab3998565950b0ce8a867814dec47919883780048e73"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): convex/httpApiV1/packagesV1.ts:4512 \u00B7 convex/lib/templatePackageHttpRead.ts:71 \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":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":4512}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fc8c74183a10ec35d3ab93880ae1aaf18ef58a1dc6aef0c477643e13f6812d7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): convex/httpApiV1/packagesV1.ts:4387 \u00B7 convex/skillVersionArtifactHash.ts:47 \u2014 the two spans are one implementation copied and then locally edited \u2014 56 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":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":4387}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6dda4c2b1de372893df2ab9b0fe8d228d425f5fb8527e3232f067d3372d02b4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5 locations): convex/httpApiV1/promotionsV1.ts:143 \u00B7 convex/httpApiV1/skillsShCatalogV1.ts:646 \u00B7 convex/httpApiV1/skillsV1.ts:3073 \u00B7 convex/httpApiV1/skillsV1.ts:3115 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 4 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":"convex/httpApiV1/promotionsV1.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"42035806a63487fa62ac87f8f63361771c309625cfd6ec009d672c6765049c1d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): convex/httpApiV1/shared.ts:445 \u00B7 convex/lib/aigAnalysis.ts:45 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/shared.ts"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fdb30344d9d06f167565043a0a7dcfc666530da1a854792393a6bcf33c6bb09"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): convex/httpApiV1/skillsShCatalogV1.ts:1209 \u00B7 convex/httpApiV1/skillsV1.ts:1845 \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":"convex/httpApiV1/skillsShCatalogV1.ts"},"region":{"startLine":1209}}}],"partialFingerprints":{"codehealthFindingId/v1":"b89f1fb09cf8fd8f44f4d9361015355f0d7e50ea6692e05032b9bb6322004d29"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): convex/httpApiV1/skillsV1.ts:1311 \u00B7 convex/httpApiV1/skillsV1.ts:1358 \u00B7 convex/httpApiV1/trendingV1.ts:28 \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":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":1311}}}],"partialFingerprints":{"codehealthFindingId/v1":"64cf44b02c3a4c83215c71c57ef8d83860f2241e80cf0ab5770641419468bfaa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): convex/lib/apiTokenAuth.ts:55 \u00B7 convex/lib/apiTokenAuth.ts:124 \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":"convex/lib/apiTokenAuth.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"898be28234eb7545881fde90eaf39c66ba450785da59f1c5d96a62ab0977d597"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): convex/lib/githubSkillSync.ts:210 \u00B7 convex/lib/githubSkillSync.ts:637 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/githubSkillSync.ts"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a4bcc401fcd7a4491d3b02e145e9a0801f74507f783117f04d583f9d3ae2e4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): convex/lib/openaiResponse.ts:5 \u00B7 convex/lib/openaiResponse.ts:10 \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":"convex/lib/openaiResponse.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d4710e6b438775914831b834dd86d685592c7f93368ea534f593aefed24a145"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): convex/lib/packageIcons.ts:41 \u00B7 convex/managedMcp.ts:69 \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":"convex/lib/packageIcons.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d34e700e919ddd2eec97f79df0251a4144610f3ca0de14776df9fc5a023e958"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): convex/lib/skillPresentation.ts:57 \u00B7 convex/lib/skillPresentation.ts:108 \u2014 the two spans are one implementation copied and then locally edited \u2014 53 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/skillPresentation.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"f78c72a0f45fabf1d174b6cf31f74fdc3e181305245e35d9dda219332cfcf4cf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): convex/lib/skills/fileHash.ts:5 \u00B7 packages/clawhub/src/skills.ts:130 \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":"convex/lib/skills/fileHash.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"485564abb5c406f8a69666333ea3bf57e15f9503202515e75f3a3b245667b147"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): convex/packages.ts:1913 \u00B7 convex/packages.ts:1971 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/packages.ts"},"region":{"startLine":1913}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fcd488c6c2cb73a085863d48073be4ccde7f04d7322a4b91ff18d74a48e321a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): convex/packages.ts:2837 \u00B7 convex/schema.ts:2824 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/packages.ts"},"region":{"startLine":2837}}}],"partialFingerprints":{"codehealthFindingId/v1":"65cc1d2568b10eb3ae2c26edec39d895d99d9aa3288d9efbfc7c5f4bf64a4a1a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5 locations): convex/packages.ts:4545 \u00B7 convex/statsMaintenance.ts:554 \u00B7 convex/statsMaintenance.ts:581 \u00B7 convex/statsMaintenance.ts:605 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 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":"convex/packages.ts"},"region":{"startLine":4545}}}],"partialFingerprints":{"codehealthFindingId/v1":"af4b299fbddae23d09fbaf04d12af80d1e9c10dce5933f726295dfa802d156a1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): convex/packages.ts:6746 \u00B7 convex/packages.ts:7129 \u00B7 convex/skills.ts:3947 \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":"convex/packages.ts"},"region":{"startLine":6746}}}],"partialFingerprints":{"codehealthFindingId/v1":"53419f6aa58a58b66c4c34e0e61a0a4d93fcbbb1eff1b619f88da8bc5ca5f62e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): convex/packages.ts:12006 \u00B7 convex/packages.ts:12090 \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":"convex/packages.ts"},"region":{"startLine":12006}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec1931c01e66e8e690455c050b06874f8bfd3208b00a80556f846bf6e00d7149"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): convex/publisherAbuseDevSeed.ts:742 \u00B7 convex/publisherAbuseDevSeed.ts:753 \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":"convex/publisherAbuseDevSeed.ts"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"72ef52fe4fdd2d314eead93d8fd0bcc9e172b184a54c92d278b3f3524d8c4940"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4 locations): convex/publishers.ts:3426 \u00B7 convex/schema.ts:1073 \u00B7 convex/securityScan.ts:1784 \u00B7 convex/telemetry.ts:26 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/publishers.ts"},"region":{"startLine":3426}}}],"partialFingerprints":{"codehealthFindingId/v1":"6268ad6e4ebbfded7d7de0664afce2e51f46f3734ee1e4d247f624632e78906f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): convex/schema.ts:199 \u00B7 convex/schema.ts:395 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/schema.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"938cc2c7119b8904b4322af1da4e88f53c3a97bf8e966966002032c254e88d16"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 7 locations): convex/schema.ts:318 \u00B7 convex/schema.ts:927 \u00B7 convex/schema.ts:2718 \u00B7 convex/schema.ts:2739 \u00B7 \u002B3 more site(s) not listed \u2014 all 7 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/schema.ts"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"e209fe98785144a3e21be6bf25e805538d39758f90b5d15830ee8960b81e1bda"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): convex/schema.ts:848 \u00B7 convex/skills.ts:10356 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/schema.ts"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"564c031fbc62006842457ab407bcc2fb212692e0e5a5756576220288537f25ab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): convex/schema.ts:1302 \u00B7 convex/schema.ts:2137 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/schema.ts"},"region":{"startLine":1302}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab2d24d2e68dca75d33d61fd464fad1f581ebd2721f74cadd4a7b97b735103bb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): convex/schema.ts:1404 \u00B7 convex/schema.ts:1450 \u2014 all 2 copies are in the same file, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/schema.ts"},"region":{"startLine":1404}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a579d096db069713aa136ad654e918ecbfb45aa60aed25d12caecd5ab5400b9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 7 locations): convex/search.ts:387 \u00B7 convex/search.ts:1238 \u00B7 convex/search.ts:1285 \u00B7 convex/search.ts:1356 \u00B7 \u002B3 more site(s) not listed \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/search.ts"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bacd803d9e716961d67c1ef9bc201731d52f49102b0bec562dca1081119bc24"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): convex/search.ts:1534 \u00B7 convex/search.ts:1843 \u2014 all 2 copies are in the same file, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/search.ts"},"region":{"startLine":1534}}}],"partialFingerprints":{"codehealthFindingId/v1":"693e26228b9cd6fc630243e7b04a8ef3fc82f4acc5f19ac93774bf29c98e18cf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): convex/securityScan.ts:2818 \u00B7 convex/securityScan.ts:3784 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/securityScan.ts"},"region":{"startLine":2818}}}],"partialFingerprints":{"codehealthFindingId/v1":"595f3f8b741f91ed167c488633ebd9e6c88bf62f4b72e26eefe962f75479158f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): convex/skillEvaluations.ts:134 \u00B7 convex/skillEvaluations.ts:571 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skillEvaluations.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a3a7e9b520e7167ee785293e7ddfb6169a8b5c3944e28c10d8274766bab3ff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): convex/skillEvaluations.ts:572 \u00B7 convex/skillsShClaims.ts:75 \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":"convex/skillEvaluations.ts"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d58558400bd380bab80817e596bbb6f3eb6a8ea5c339330318e1a37d86a2292"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): convex/skills.ts:2654 \u00B7 convex/skills.ts:2794 \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":"convex/skills.ts"},"region":{"startLine":2654}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ebac77380803a04cd49e9bca36204b96b0bf0d69daa10f23df27cab152fd88"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): convex/skills.ts:4349 \u00B7 convex/skills.ts:4699 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skills.ts"},"region":{"startLine":4349}}}],"partialFingerprints":{"codehealthFindingId/v1":"02fd57c278ccc39159bbead6e7c8fa3e38a878f81a56b9404ed202c6e6288cd4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): convex/skills.ts:4698 \u00B7 convex/skills.ts:5430 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skills.ts"},"region":{"startLine":4698}}}],"partialFingerprints":{"codehealthFindingId/v1":"c497885fede7eeacfe28c73d777da2549527dbde732790a8b7488218fbdaa9b9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): convex/skills.ts:8974 \u00B7 convex/skills.ts:11691 \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":"convex/skills.ts"},"region":{"startLine":8974}}}],"partialFingerprints":{"codehealthFindingId/v1":"cad00a6815cdb9ea0c82482e5df93911300c62afa35736cada4958a900aa8af7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): convex/skills.ts:11151 \u00B7 convex/stars.ts:53 \u00B7 convex/stars.ts:137 \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":"convex/skills.ts"},"region":{"startLine":11151}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a31191e8f100b2333bccb842d1bbc7e9fc6638c8680593d8b502de43437848"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): convex/skillsShCatalog.ts:487 \u00B7 convex/skillsShMirror.ts:984 \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":"convex/skillsShCatalog.ts"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"f599b4a1d423283999d6786452714e1cfd3463a87ea7e7b3226c1d50e37a7b2a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): convex/users.ts:1558 \u00B7 convex/users.ts:1703 \u00B7 convex/users.ts:2217 \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":"convex/users.ts"},"region":{"startLine":1558}}}],"partialFingerprints":{"codehealthFindingId/v1":"475deefdfea944f8ec35a7868a57e7466f71e4fd6c4dee366f613140c344f340"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/clawhub-admin/src/commands/packages.ts:636 \u00B7 packages/clawhub-admin/src/commands/promotions.ts:125 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/packages.ts"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ea11f91eaa7851bb98451dc250d62fd8654863d0af4afb5dc965ea38c00354d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/clawhub/src/cli/commands/packages.ts:2359 \u00B7 packages/clawhub/src/cli/commands/packages.ts:2381 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/packages.ts"},"region":{"startLine":2359}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a54cc2fa0b106281a70356ff6c8852a5e385b86151c6dd2a9581c33104f1faf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): packages/clawhub/src/cli/commands/skills.ts:169 \u00B7 packages/clawhub/src/cli/skillReference.ts:19 \u2014 the two spans are one implementation copied and then locally edited \u2014 64 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/skills.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"91b28872d0061851c509b801679dc7ad515e7d27fc05c51938bcc56bf3eef471"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/clawhub/src/cli/commands/syncHelpers.ts:174 \u00B7 packages/clawhub/src/cli/commands/syncHelpers.ts:255 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/syncHelpers.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f196a94805635378d31ac9c1aba612ba636d8f7a298066d185afbfd48f44f78"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/clawhub/src/cli/commands/transfer.ts:53 \u00B7 packages/clawhub/src/cli/slug.ts:19 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/transfer.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a4afd9190bac7c25f1bc4b9d16c7e176326576f471b731649e7ea8bc249016"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/clawhub/src/skills.ts:172 \u00B7 packages/clawhub/src/skills.ts:222 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/skills.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a875395a91c095464f860c4e454752b5ec319aece1de56781eb31c470d3c115"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): scripts/ranking-metrics/export-prod-ranking-metrics.ts:198 \u00B7 scripts/ranking-metrics/import-test-ranking-metrics.ts:1025 \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":"scripts/ranking-metrics/export-prod-ranking-metrics.ts"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bf15b54a41738ade98661de27d2f53e0d89c2e2d9f4fd62449b96fee493dbae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): scripts/security/clawscan-diagnostic-runtime.ts:106 \u00B7 scripts/security/run-clawscan-original038-diagnostic.ts:344 \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":"scripts/security/clawscan-diagnostic-runtime.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"69676a5710bdd43282a2cdd8dedf9e20698368f18f0c47590e4f22b07436c0ab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): scripts/security/clawscan-diagnostic-skillspector.ts:6 \u00B7 scripts/security/skillspector-exception-diagnostic.ts:42 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/security/clawscan-diagnostic-skillspector.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"8024f03717847464b3eb5727f3c00b1a66af5efbd61331afaab347bd49e08754"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): server/routes/ops/skills-sh/catalog-test.post.ts:218 \u00B7 server/routes/ops/skills-sh/mirror-test.post.ts:197 \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":"server/routes/ops/skills-sh/catalog-test.post.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c46ae6c19e6a645fcfb364ad3295a80be9d4fa65fb657bda50e67c28bdd61e9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/components/BrowseControls.tsx:241 \u00B7 src/components/BrowseControls.tsx:333 \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/BrowseControls.tsx"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"1969e9c8e89384a7282dd8c08a83971e7b8f5b6aa4780817c9f462ce7a610868"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/lib/packageApi.ts:358 \u00B7 src/lib/packageApi.ts:460 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/packageApi.ts"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac6925ca538be61266cb1f1435db3218a712dd3aa2cf768789b1fc51597a9918"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/lib/publishRouteOptions.ts:11 \u00B7 src/routes/plugins/publish.tsx:57 \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/lib/publishRouteOptions.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c22a5bff14adccd9a10a0579d173533aaf0e0cd9c42e357457d163a2c947e5a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): src/routes/-management/ManagedMcpTools.tsx:41 \u00B7 src/routes/-management/SearchInsightsPage.tsx:25 \u00B7 src/routes/settings.tsx:321 \u2014 the 3 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. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/-management/ManagedMcpTools.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ad16b820fac9e3c3c35248b31ba8e4292211a8761bd9be01981c71d5c660f2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): src/routes/-management/SearchInsightsPage.tsx:24 \u00B7 src/routes/settings.tsx:311 \u00B7 src/routes/settings.tsx:320 \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/routes/-management/SearchInsightsPage.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"809d5947393dec87e75190fb804ac08579064f34909e64faf64eae7b262dcc1f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/routes/import.tsx:198 \u00B7 src/routes/settings.tsx:322 \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/routes/import.tsx"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"3871e6b5f3ff1d1fa773c378fb0a2be5049994d70c4184f5fba34524c28e934e"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: convex/httpApiV1/searchReportsV1.ts:3 reaches into another package with a relative path (../../packages/clawhub/src/schema/searchReports) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/searchReportsV1.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4659a5be24ef8dda8e6d3478333994cf36e1a021c747db9e4b98848df24f475"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: convex/lib/clawpack.ts:3 reaches into another package with a relative path (../../packages/clawhub/src/clawpack) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/clawpack.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1c00870542c33d3f233c6ab68644e50bfbf7686e4d234b38ab4132bff5b1940"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: convex/searchReports.ts:3 reaches into another package with a relative path (../packages/clawhub/src/schema/searchReports) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/searchReports.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f7e5ce856e911c5b653bb5263cb3500db5e0ba7be8b6b4e604cd229e3781d6b"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/local-auth/publish-skill-lifecycle.pw.test.ts:9 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/schema/src/ark) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/local-auth/publish-skill-lifecycle.pw.test.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"27b1f3cb07705fe73f23cdf6201eb7df46404e28fae06f7b54b5ee3903ee5ad9"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/local-auth/publish-skill-lifecycle.pw.test.ts:10 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/schema/src/schemas) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/local-auth/publish-skill-lifecycle.pw.test.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"637c115ea67c532b9ca21591280229904d497955a0baa74bd5ec54e45716d5a1"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/scripts/build.mjs:1 reaches into another package with a relative path (../../clawhub/scripts/shared-schema.mjs) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/scripts/build.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d3605f8be0c333c10c9b3db9dbb76397b629bf7cd83905660cf6677dbd0faed"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/buildInfo.ts:4 reaches into another package with a relative path (../../clawhub/src/cli/buildInfo.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/buildInfo.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"61b1ec8be596541a185c6cd4ddfe436fd170a8d6e76d42a0b321236ca1e31096"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/cli.ts:5 reaches into another package with a relative path (../../clawhub/src/cli/commands/auth.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/cli.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec9390015729a4a64e7a7b9994281e5e0fd12e28c342c20f04752762ec47c424"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/cli.ts:6 reaches into another package with a relative path (../../clawhub/src/cli/commands/delete.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/cli.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"db90bfcf0d48d21c1f9d8c314e86c810b823d49702b1b9ad842cf0fe9d48082f"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/cli.ts:7 reaches into another package with a relative path (../../clawhub/src/cli/commands/packages.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/cli.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"306ca1d103aba122532f431823e3bdf9b0600c29327316d7c5477951f6819209"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/cli.ts:12 reaches into another package with a relative path (../../clawhub/src/cli/commands/skills.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/cli.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d89e2d9a3e73860453f26a3c237d1ae6bcadba0b449b8ced9d0ae35d8816935"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/cli.ts:16 reaches into another package with a relative path (../../clawhub/src/cli/globalOpts.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/cli.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"d54884987d9e2d6974b4e5a764f025a119f7bb2d31854929c632bd56ebe00f61"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/cli.ts:20 reaches into another package with a relative path (../../clawhub/src/cli/helpStyle.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/cli.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"5434f168ebce2907f79f30e1158c47bdd9d865e75e100019baac32f54d61a906"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/cli.ts:25 reaches into another package with a relative path (../../clawhub/src/cli/types.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/cli.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea4aa1ba1dada24294f5a41b3ff2f818f986900acaef520b8736439783e8e9d5"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/cli.ts:26 reaches into another package with a relative path (../../clawhub/src/cli/ui.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/cli.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"51971cd8704d83b7abe8548e7e49223443460a7fef75cd7022fba577c2462a31"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/contentRights.ts:3 reaches into another package with a relative path (../../../clawhub/src/cli/authToken.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/contentRights.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"b086d073847ffc6ec35471f7ed2c44f9604d0d6f7718d204263dded61ca07177"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/contentRights.ts:4 reaches into another package with a relative path (../../../clawhub/src/cli/registry.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/contentRights.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca99a88502a301252ef60f24d3aaf5d7198331a519315ba714776c5d3b5fc7ba"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/contentRights.ts:5 reaches into another package with a relative path (../../../clawhub/src/cli/types.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/contentRights.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"65ab437bc07983dd2fa6fe9ab82f2fb18538b6c822fb39a4e3327143cd73ce88"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/contentRights.ts:6 reaches into another package with a relative path (../../../clawhub/src/cli/ui.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/contentRights.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"37060761c1aadbeae175d6aa89ab7b4abfa792da6cc7d9ede732268ebd76b792"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/contentRights.ts:7 reaches into another package with a relative path (../../../clawhub/src/http.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/contentRights.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d63cdbeaafb3adcdc2cb8c666d79735c628c56ee2994f10d4b4ceec3dd320b8"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/contentRights.ts:8 reaches into another package with a relative path (../../../clawhub/src/schema/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/contentRights.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ba23dff74c412b3e88baf12ee2519ea3719528cd068766a12817a9b9eef7f65"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/downloads.ts:1 reaches into another package with a relative path (../../../clawhub/src/cli/authToken.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/downloads.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3c3ad77d4bcdd54b997523f68f1776b90a2ea416df286701bc2d30c8870d589"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/downloads.ts:2 reaches into another package with a relative path (../../../clawhub/src/cli/registry.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/downloads.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"06db60109c95a76695c6286a5692ddc7738d230eaa3cac172823de92d7154d3e"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/downloads.ts:3 reaches into another package with a relative path (../../../clawhub/src/cli/types.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/downloads.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"5141eeef370bb9bda83916799a8072999aea4622a6f5b3ac99ade0c90b354897"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/downloads.ts:4 reaches into another package with a relative path (../../../clawhub/src/http.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/downloads.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad1379c8db2b2724de0d63d6fa03942fc8f4f4c179e835578a3b881d741ccf4a"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/downloads.ts:5 reaches into another package with a relative path (../../../schema/src/downloadAnalytics.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/downloads.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"b69cc015bfcd78310a0998659ad9cb522cf9a8f7bb677eef9b34e2d0b1048822"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/email.ts:2 reaches into another package with a relative path (../../../clawhub/src/cli/authToken.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/email.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"04aba0e62787bc61152e36dff38a841167af54128e134fc5fccb327138a7fef2"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/email.ts:3 reaches into another package with a relative path (../../../clawhub/src/cli/loader.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/email.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"811ecac7d3a615a2d26b425f2c57c5ebc601ada73f49188e14234ac82fadcb07"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/email.ts:4 reaches into another package with a relative path (../../../clawhub/src/cli/output.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/email.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"4954f61dc054d7a7e10528972956b5dc245f2ddd3d481a9d11468de94fbc1128"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/email.ts:5 reaches into another package with a relative path (../../../clawhub/src/cli/registry.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/email.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8dceb3de39820d020f72cd17b609b6f15a88135429ff887ad21a23f23be9607"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/email.ts:6 reaches into another package with a relative path (../../../clawhub/src/cli/types.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/email.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"89d3aff2e43b00f90340b0725e8353ba68e7fa84db24de95887539aa5a7338f0"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/email.ts:7 reaches into another package with a relative path (../../../clawhub/src/cli/ui.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/email.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff850e2337edea390b48cd7ee6d4fff897b760e2807d348aa25d1a85e8a7fca5"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/email.ts:8 reaches into another package with a relative path (../../../clawhub/src/http.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/email.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b86dfe85583ef2f0c74e032ee5adca587fd92d269d822f6b5a093555ed9ef43"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/email.ts:9 reaches into another package with a relative path (../../../clawhub/src/schema/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/email.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"305c8dd1c17623743ec4d48109ecd458fc2879dbd021c9aae38f83459abac541"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/featured.ts:1 reaches into another package with a relative path (../../../clawhub/src/cli/authToken.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/featured.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d21a2d6bec5414bd712028db54b9c148cd3e502f4591977773a51f36a022e40"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/featured.ts:2 reaches into another package with a relative path (../../../clawhub/src/cli/output.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/featured.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7e1a031c39dc2b1f42ac86be7353dd354b08d04db752aebe538730d73a12511"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/featured.ts:3 reaches into another package with a relative path (../../../clawhub/src/cli/registry.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/featured.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fb346f6b8c0c1ae56f835da28e42613f60f3558696a0a5be18ae39791888d7d"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/featured.ts:4 reaches into another package with a relative path (../../../clawhub/src/cli/types.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/featured.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"29dcbbc243a1ab019ce285f8d410cc529b597b79e0c3353137b68cbb73c98053"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/featured.ts:5 reaches into another package with a relative path (../../../clawhub/src/cli/ui.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/featured.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"647ce40e929c7a94e2916c1b347d4fe5c1c541f68f112da801f6afeb252767d3"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/featured.ts:6 reaches into another package with a relative path (../../../clawhub/src/http.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/featured.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"81434a012f59ffde50beef83059c7eaceac1d165dc33269ecbbd69de31363776"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/featured.ts:7 reaches into another package with a relative path (../../../clawhub/src/schema/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/featured.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8ffade696eb06cd3c69daa841063277a03b3ff87c8822d5e90743aef3e475cf"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/featuredSelections.ts:2 reaches into another package with a relative path (../../../clawhub/src/cli/authToken.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/featuredSelections.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d2cee68ff9ba1128e7ae89f4c50c08f56dc2e9d5dbe8385d3cc221050f6d42"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/featuredSelections.ts:3 reaches into another package with a relative path (../../../clawhub/src/cli/registry.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/featuredSelections.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3db11a7c91e1b8c8ce07b8dc1526aa34e096b4204946df1191e2a2d60439bb0"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/featuredSelections.ts:4 reaches into another package with a relative path (../../../clawhub/src/cli/types.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/featuredSelections.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"db4b635ba3eadc7954cafbe58b4e6eda13b3b16852272ec41528ab87c22ad2a4"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/featuredSelections.ts:5 reaches into another package with a relative path (../../../clawhub/src/cli/ui.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/featuredSelections.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"3642ef5d0d092147ab358111771dd2291caf600e2b5b82d38985cb059af6a0d2"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/featuredSelections.ts:6 reaches into another package with a relative path (../../../clawhub/src/http.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/featuredSelections.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e7867bdc7e17db967014730cf4674bfc713ae8b5c8798da21b6cba5af9ad16f"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/featuredSelections.ts:7 reaches into another package with a relative path (../../../clawhub/src/schema/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/featuredSelections.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"7288a6f427d6d379dd6d18b6d79664177388835ed93a236e390c57038e23af1c"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/featuredSelections.ts:8 reaches into another package with a relative path (../../../schema/src/featuredSelections.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/featuredSelections.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7284cc3e5fee99e5085438242712d1bef711a7b5d16fee9d800ac01b1266fad"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/managedMcp.ts:2 reaches into another package with a relative path (../../../clawhub/src/cli/authToken.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/managedMcp.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9ae938f197754e6d9f9587d786b666764795c6e63d9e42f7ff467365361173a"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/managedMcp.ts:3 reaches into another package with a relative path (../../../clawhub/src/cli/registry.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/managedMcp.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a36f28d71c17c94b7e4d76d32cc5b6a4829434417c43adfbf04f99f1a4e7f6a"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/managedMcp.ts:4 reaches into another package with a relative path (../../../clawhub/src/cli/types.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/managedMcp.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"c215112abec8626a5d6b4f5052f44d431e8bd40ed2dfe6b14e39c372cfab3a11"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/managedMcp.ts:5 reaches into another package with a relative path (../../../clawhub/src/http.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/managedMcp.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c25a64d2d652ba175413f2fafed6ea3ddc44910e0f6e2a58645082da4f87bd2"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/managedMcp.ts:6 reaches into another package with a relative path (../../../clawhub/src/schema/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/managedMcp.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"9912f779870b64aab7c6946fc7a1a32acd3c10b570f9aafbbe991e14f2028000"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/managedMcp.ts:7 reaches into another package with a relative path (../../../schema/src/managedMcp.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/managedMcp.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1bb3b9a5e65d88b7a7e5e6397234e09529f494d203c4fd93ae2eb181e76760b"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/moderation.ts:2 reaches into another package with a relative path (../../../clawhub/src/cli/authToken.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/moderation.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac9ca079e8e89124a3cece7573a63c7ec81d1e3a2dcd1ed02333972061bd945e"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/moderation.ts:3 reaches into another package with a relative path (../../../clawhub/src/cli/loader.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/moderation.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"8af217a54c67f61c3fce281f6394e7e2206dcfe95becfc8cc81792b836bcc029"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/moderation.ts:4 reaches into another package with a relative path (../../../clawhub/src/cli/output.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/moderation.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"02b38b24431131276b9386d007e25e54fe69d414dff5ef85b62654807fa9ffda"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/moderation.ts:5 reaches into another package with a relative path (../../../clawhub/src/cli/registry.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/moderation.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b0b51df104881a96319dd7320787440355c6ec702b07596967483374644227"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/moderation.ts:6 reaches into another package with a relative path (../../../clawhub/src/cli/types.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/moderation.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"55fd6c1be6b049b30d7d303f5fcf0aba2da3cb763bffcd32707ad66687108796"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/moderation.ts:7 reaches into another package with a relative path (../../../clawhub/src/cli/ui.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/moderation.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"389a2e3e9eade31121cc11f50d07e202e8b00e0322f1e19b246b318e85f43098"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/moderation.ts:13 reaches into another package with a relative path (../../../clawhub/src/http.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/moderation.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"b923000d06791ab0fd7538bb80758c8b5935052f90b29eae3171a160622bab81"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/moderation.ts:14 reaches into another package with a relative path (../../../clawhub/src/schema/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/moderation.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7e072accca421b8778ee2c67312552b4fa98382b1fad25a0f0fabe6d8ec2348"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/orgs.ts:3 reaches into another package with a relative path (../../../clawhub/src/cli/authToken.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/orgs.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"03ae5585496be632585c913c9513629be3bb834761fb03671fe2ffb9779b0d48"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/orgs.ts:4 reaches into another package with a relative path (../../../clawhub/src/cli/loader.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/orgs.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d27ecdc9aaff9cf87dddc44ed485ec58801cf81e01b2cb2b15c4106c8e8c779"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/orgs.ts:5 reaches into another package with a relative path (../../../clawhub/src/cli/output.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/orgs.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f99c527bb24e51d8c1d99c803a57be18bed9566cb08a346e212d5323fd2fe38"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/orgs.ts:6 reaches into another package with a relative path (../../../clawhub/src/cli/registry.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/orgs.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"30b7f5bfeec53012130001d369bbe523d9b6f10d5a964e212036721ed147fd66"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/orgs.ts:7 reaches into another package with a relative path (../../../clawhub/src/cli/types.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/orgs.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e91f9f602c71073a2b280bb325da6a235a685088f81c25effea122edf242633"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/orgs.ts:8 reaches into another package with a relative path (../../../clawhub/src/cli/ui.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/orgs.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"92549d70ec8435a01478f1979b91c0eb337ba1fdacc1e4150e1adab175139300"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/orgs.ts:14 reaches into another package with a relative path (../../../clawhub/src/http.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/orgs.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc245074dca18ffd5af434cb878a7e1a5079db721e4cba062cc6466010a2399a"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/orgs.ts:15 reaches into another package with a relative path (../../../clawhub/src/schema/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/orgs.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"56942c7c171afc15272fab8f567383c32a553d26cf48407a7137166d5d436f2a"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/orgs.ts:16 reaches into another package with a relative path (../../../clawhub/src/schema/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/orgs.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"7980858e54e0b1f830a126203947a12f9784190662939551b68ff369a779da7a"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/packages.ts:1 reaches into another package with a relative path (../../../clawhub/src/cli/authToken.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/packages.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bd3612ac992c9a2d0db1b3653a56b087a57859e0f9674227e090a8f351c66d3"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/packages.ts:2 reaches into another package with a relative path (../../../clawhub/src/cli/commands/moderationPlan.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/packages.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"283ce9801092a5b71cec5f3310b127cca58ebf375f78ac9abeee2e32354c23bd"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/packages.ts:6 reaches into another package with a relative path (../../../clawhub/src/cli/loader.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/packages.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6bcf1397f59e6c6184aa8151b6d43e7d619ba686ae2a5e4fd2167d382da689a"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/packages.ts:7 reaches into another package with a relative path (../../../clawhub/src/cli/output.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/packages.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"f87cf2f496b1c746eaed5494e54f3e2649f6645e5b9393d6fc921acc9702f7ac"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/packages.ts:8 reaches into another package with a relative path (../../../clawhub/src/cli/registry.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/packages.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b9ccf1d4322f24bb50b4d7dabb26afc927c0a3510cd17d64e4553b39a1d9b48"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/packages.ts:9 reaches into another package with a relative path (../../../clawhub/src/cli/types.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/packages.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"4362411d679217aa2f30f7b063de31c4cea0ec3cf9a994e70a5ea94313376a8a"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/packages.ts:10 reaches into another package with a relative path (../../../clawhub/src/cli/ui.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/packages.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c2a26bce0bdf81de211fe12ffbd24dc71fd0e6d091de472d0b2ace2b2f755f"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/packages.ts:16 reaches into another package with a relative path (../../../clawhub/src/http.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/packages.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c5954237552eeb4fb11f91c757f1ec77244894377d0700d290a8ba89c55b04a"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/packages.ts:17 reaches into another package with a relative path (../../../clawhub/src/schema/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/packages.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e015e69c429bed0cc6afe33b84609a3f0311d16637430c6cc69b965c8e2ec27"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/promotions.ts:2 reaches into another package with a relative path (../../../clawhub/src/cli/authToken.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/promotions.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"d12a56c6aaa0fa9322b72c13ab4bb48abcf0caa8c396375b016aa7c26d7fd248"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/promotions.ts:3 reaches into another package with a relative path (../../../clawhub/src/cli/loader.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/promotions.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d986439069f1e51b36b432e10fb7866595de37be6b538072b8465c839516d06"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/promotions.ts:4 reaches into another package with a relative path (../../../clawhub/src/cli/output.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/promotions.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cbc5af0ab94bad7ebbb85070a8b54df7ee46c3a712ef1cf0b587bfdfc25e312"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/promotions.ts:5 reaches into another package with a relative path (../../../clawhub/src/cli/registry.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/promotions.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"837c2a1d14e5f23b58ac57b23f729d15187b31f448b4298608f39bca0274bc8e"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/promotions.ts:6 reaches into another package with a relative path (../../../clawhub/src/cli/types.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/promotions.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cdb2688599efc8d3b0bbc8102ea65d8e85a4c62967f7c4c23cd738a2ba0e95d"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/promotions.ts:7 reaches into another package with a relative path (../../../clawhub/src/cli/ui.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/promotions.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"720ae8d8b345b6a103df43c999e0610760c91e4f3b4943f63f501d79d4f887a5"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/promotions.ts:8 reaches into another package with a relative path (../../../clawhub/src/http.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/promotions.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"27da44bd327e5c6a384d9d645995423c04f8452e01eee7328788459784bed893"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/promotions.ts:9 reaches into another package with a relative path (../../../clawhub/src/schema/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/promotions.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c09008cb889b89bbe15491584d4b54a1be958890f3959c5a2cfd800098cbf25"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/searchInsights.ts:2 reaches into another package with a relative path (../../../clawhub/src/cli/authToken.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/searchInsights.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7df5f41f42c6a9171d8b0eb63bba357f673241b55b31b6235559b26e1108650"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/searchInsights.ts:3 reaches into another package with a relative path (../../../clawhub/src/cli/output.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/searchInsights.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"af23a8642a36b461d62576daf8c46caf0aadfeac0fc3f28f579040f32cc78f7e"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/searchInsights.ts:4 reaches into another package with a relative path (../../../clawhub/src/cli/registry.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/searchInsights.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"d82cdca6295abd14d1bd343dd3a5704248e1efa2d18c0cec7db7ec669587a5a7"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/searchInsights.ts:5 reaches into another package with a relative path (../../../clawhub/src/cli/types.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/searchInsights.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5da40fb7d73a3ba7d703ab7210da315b9a49ad944d87ba71f3c07b03012ddfa"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/searchInsights.ts:6 reaches into another package with a relative path (../../../clawhub/src/cli/ui.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/searchInsights.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e7d3a8a42da691619f678cec0bb8c5cabb6b2127ab7c9d871a2db91963cad84"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/searchInsights.ts:7 reaches into another package with a relative path (../../../clawhub/src/http.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/searchInsights.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"43880969dbe606494ae231153d0b142cd32d398114410177178da0fca60a17d3"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/searchInsights.ts:8 reaches into another package with a relative path (../../../clawhub/src/schema/ark.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/searchInsights.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"b342923904d54dda4a4f246e2ab24a694c317ef8b79b6cd818310d31e5aaca1b"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/searchInsights.ts:9 reaches into another package with a relative path (../../../clawhub/src/schema/searchReports.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/searchInsights.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"01246becd8380c2bc1aa555206156ec2a39e5a23f220be21f9b6bbd4a80d2978"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/skills.ts:1 reaches into another package with a relative path (../../../clawhub/src/cli/authToken.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/skills.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"68f23f664cc10d20f2ea6e5af808a988cadca716ae4426559d2497d0bfcda4f4"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/skills.ts:2 reaches into another package with a relative path (../../../clawhub/src/cli/loader.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/skills.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"753a35c584d49874277effd48f088ce659e2f36ac23c6245a46d5cd90add1be4"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/skills.ts:3 reaches into another package with a relative path (../../../clawhub/src/cli/output.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/skills.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"17e175a7ed8328032d67060a77fce3db24519bd9953c3526ddd8ac10a6aec92b"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/skills.ts:4 reaches into another package with a relative path (../../../clawhub/src/cli/registry.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/skills.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"da74356aa8a3eb51ebc6e52301247cf4787118524787d79a7b56491c530655ba"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/skills.ts:5 reaches into another package with a relative path (../../../clawhub/src/cli/types.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/skills.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"a33c2ccc981137ec78979fd6b12a20a9e9cfc6af6c678adf5750ce2ae4de9366"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/skills.ts:6 reaches into another package with a relative path (../../../clawhub/src/cli/ui.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/skills.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa67bd5e2025940809f53b37f1f755e5a18fc0ecc814c70892fa863a8046c64a"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/skills.ts:12 reaches into another package with a relative path (../../../clawhub/src/http.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/skills.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"396e01c4dc44413a6bb91d7cb86354cad0379bf96567d8cdd01a788958b72f84"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub-admin/src/commands/skills.ts:13 reaches into another package with a relative path (../../../clawhub/src/schema/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/skills.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"df2828eec9510ce26626ff900b7bf4c32831a443b5bdcf1265b0f20724c49192"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub/src/schema/ark.ts:1 reaches into another package with a relative path (../../../schema/dist/ark.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/schema/ark.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1f9650def230ef6e5077be88c47355c5c09250fcbba064bb9e243e3a6105973"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub/src/schema/openclawContract.ts:1 reaches into another package with a relative path (../../../schema/dist/openclawContract.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/schema/openclawContract.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4a50a98ede738052db3de2270ac17390383f3c9a9932458e61accd018a9bc20"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub/src/schema/packageShared.ts:1 reaches into another package with a relative path (../../../schema/dist/packageShared.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/schema/packageShared.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"51cad066f46289edfd1a61e6de8e388179ef4529e75d6a430b7196089c937154"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub/src/schema/packageUploadLimits.ts:1 reaches into another package with a relative path (../../../schema/dist/packageUploadLimits.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/schema/packageUploadLimits.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d66673bbc9fbb4f5e7e35773da1f762fcc06b1f68b2e605ea35b4e2e08bca1b"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub/src/schema/pluginInput.ts:1 reaches into another package with a relative path (../../../schema/dist/pluginInput.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/schema/pluginInput.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b46816c30b278f0f806d2da94849227a9dcc842d8ccc943341003a19ae4a44d5"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub/src/schema/schemaShared.ts:1 reaches into another package with a relative path (../../../schema/dist/schemaShared.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/schema/schemaShared.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda879e33d8419487530f1376de4d2fe9f0daec7c0cb876e2058748cf7e7adca"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub/src/schema/templatePackage.ts:1 reaches into another package with a relative path (../../../schema/dist/templatePackage.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/schema/templatePackage.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa17f7c8327145d43ec90920a9ec130118bd676eec42502c8189dc2a465a26e6"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub/src/schema/templates.ts:1 reaches into another package with a relative path (../../../schema/dist/templates.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/schema/templates.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73245486986e35ae40b3025abd3ce64c631ecdad8b041de7b023a3ed4f60ee4d"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/clawhub/src/schema/textFiles.ts:1 reaches into another package with a relative path (../../../schema/dist/textFiles.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/schema/textFiles.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef3f5ce6d1be3b0aea75e7ecbf0f1fc568fad07ea9a849336b9b6e97054224ea"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/clawhub-cli-npm-release-check.mjs:59 reaches into another package with a relative path (../packages/clawhub/package.json) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/clawhub-cli-npm-release-check.mjs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"f26fad2041b435e5119b6b24b18ea96ca33438086d419291015097b2628f9238"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/local-clawscan-dry-run.ts:27 reaches into another package with a relative path (../packages/clawhub/src/clawpack) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/local-clawscan-dry-run.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fdf980e868b35953fd98ce8d0e83f5ac9a3c6d189aaac5a551d2f62c8642c66"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/security/clawscan-diagnostic-fixed079.ts:4 reaches into another package with a relative path (../../packages/clawhub/src/clawpack) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/security/clawscan-diagnostic-fixed079.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b330d40c7e7bcf43da3ca7113ebeeeef4ac730505e01a7b97a552ecf927cb3e"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/security/run-codex-scan-worker.ts:26 reaches into another package with a relative path (../../packages/clawhub-admin/src/scanAssignments) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/security/run-codex-scan-worker.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"67e651678a3150bb6699e4df3dc688b9b2b5efef9653f24b7c32f2d403a74996"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/templates-feed-openclaw-e2e.ts:15 reaches into another package with a relative path (../packages/clawhub/src/schema/templatePackage) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/templates-feed-openclaw-e2e.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"1963855d3316d9702d86346a03e5983de7e46c7397c8acd66d6be42cbf8e9547"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: src/components/MarkdownPreview.tsx:113 imports shiki/dist/core.mjs, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/MarkdownPreview.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"762c08b51a875612288493d07602991338d2528ad7bdf392c82fa86ade52105d"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: src/components/MarkdownPreview.tsx:114 imports shiki/dist/engine-javascript.mjs, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/MarkdownPreview.tsx"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa7de6011d290f3bb0d27bbeba685e731dcedc354b3f07460542fe2366578377"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: src/components/MarkdownPreview.tsx:115 imports shiki/dist/langs.mjs, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/MarkdownPreview.tsx"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f119d6d9ca73340a8d9aecc4f843f4ca95c5b26afc296ede0ab38194af60e9"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: src/components/MarkdownPreview.tsx:116 imports shiki/dist/themes.mjs, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/MarkdownPreview.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd10db2856d8b4431267e56b35589fdb28ee510bd57a2962c5150ac002139b8b"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: src/routes/-management/FeaturedRecommendations.tsx:1 reaches into another package with a relative path (../../../packages/clawhub/src/schema/searchInsights) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/-management/FeaturedRecommendations.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e34f9a7f4a96925c6dade7c616b1a78972bfde58337d2d589a1e8c418b4827c"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: src/routes/-management/SearchInsightsPage.tsx:5 reaches into another package with a relative path (../../../packages/clawhub/src/schema/searchInsights) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/-management/SearchInsightsPage.tsx"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"853549d07a239b70acf4e3dc28494e7be11637a1b2c850a4a3731ec1dfa8d5ef"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: src/routes/-management/SearchInsightsPage.tsx:6 reaches into another package with a relative path (../../../packages/clawhub/src/schema/searchReports) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/-management/SearchInsightsPage.tsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4c0c36c17ff4f338dc06324e48d0f2880c303fdf2e514d99640fa5f6c46cee5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function skillsGetRouterV1Handler (cyclomatic 214, cognitive 321): skillsGetRouterV1Handler has cyclomatic complexity 214 and cognitive complexity 321; 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":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":1761}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c67a0c6a34670a6ce0454a0bedf84df6cfd0b86886627456695a37d03932599"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SkillDetailPage (cyclomatic 175, cognitive 156): SkillDetailPage has cyclomatic complexity 175 and cognitive complexity 156; 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/SkillDetailPage.tsx"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c9b8de4c96616587c85d61c41c69ec522a196191d11c657ec978bc1adb21b51"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function packagesPostRouterV1Handler (cyclomatic 166, cognitive 259): packagesPostRouterV1Handler has cyclomatic complexity 166 and cognitive complexity 259; 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":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":2615}}}],"partialFingerprints":{"codehealthFindingId/v1":"3132900d99f13e38187eca1532db13d8258108e31326791340e4e8360fae9aed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function packagesGetRouterV1Handler (cyclomatic 159, cognitive 239): packagesGetRouterV1Handler has cyclomatic complexity 159 and cognitive complexity 239; 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":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":3777}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b2a932f1a5cc419365374e6890e0827ad61af1599112700773e97f61959e7b7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AbusePage (cyclomatic 154, cognitive 145): AbusePage has cyclomatic complexity 154 and cognitive complexity 145; 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/routes/-management/AbusePage.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"3184a12a82f84a926ff06733b5e2def0de00c2d784075b33e54fd86ee73d1649"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function skillsPostRouterV1Handler (cyclomatic 152, cognitive 238): skillsPostRouterV1Handler has cyclomatic complexity 152 and cognitive complexity 238; 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":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":2926}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccfabed258d777bd4c697964f0da3e940cb340188cb20176ba7158d51bef5e22"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PluginDetailPageContent (cyclomatic 151, cognitive 133): PluginDetailPageContent has cyclomatic complexity 151 and cognitive complexity 133; 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/routes/plugins/$name.tsx"},"region":{"startLine":1048}}}],"partialFingerprints":{"codehealthFindingId/v1":"4efeef8df42a0170e6781729786095cbf56b141f8c169873236edeafdbf40e44"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function publishPackageImpl (cyclomatic 147, cognitive 190): publishPackageImpl has cyclomatic complexity 147 and cognitive complexity 190; 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":"convex/packages.ts"},"region":{"startLine":8052}}}],"partialFingerprints":{"codehealthFindingId/v1":"25ce2f24884e08f148e3cc6cf6562d5d046562e1d916bdcf3c4108a0ff54754b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cmdUpdate (cyclomatic 139, cognitive 195): cmdUpdate has cyclomatic complexity 139 and cognitive complexity 195; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/skills.ts"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb45dc5837583bc887667dd0659d88d7f870c49fed41afa06d6f181bccf79ca6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function listPackages (cyclomatic 132, cognitive 155): listPackages has cyclomatic complexity 132 and cognitive complexity 155; 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":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":1159}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a7ca50394fc53848bdb8fee0be6b4a0cb8abf9797258972e3eea363edc01892"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 123, cognitive 158): handler has cyclomatic complexity 123 and cognitive complexity 158; 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":"convex/skills.ts"},"region":{"startLine":10386}}}],"partialFingerprints":{"codehealthFindingId/v1":"8efcf7d473fd1a67f7b3e2250c03589ae261e0786d88ebd38e22a89f6cb3ebac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 112, cognitive 107): handler has cyclomatic complexity 112 and cognitive complexity 107; 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":"convex/packages.ts"},"region":{"startLine":11253}}}],"partialFingerprints":{"codehealthFindingId/v1":"cffe8ba38029879e9e3cd7e6f76e4b638d8d941cfc9a0f6426b8c2d93cf62052"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Settings (cyclomatic 111, cognitive 91): Settings has cyclomatic complexity 111 and cognitive complexity 91; 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/routes/settings.tsx"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"63b9a6b0c6b86a0051bb9a90cd00b458fccc7ac5ef3976ea4a335cf08f008d11"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SkillDetailPageView (cyclomatic 104, cognitive 80): SkillDetailPageView has cyclomatic complexity 104 and cognitive complexity 80; 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/SkillDetailPageView.tsx"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"c96f5534cd8d0b28404301997087e2d5933785bb79c092eb5a30a739901e7115"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function listPackagePageImpl (cyclomatic 103, cognitive 173): listPackagePageImpl has cyclomatic complexity 103 and cognitive complexity 173; 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":"convex/packages.ts"},"region":{"startLine":3946}}}],"partialFingerprints":{"codehealthFindingId/v1":"20c0c440cfefdec85c3181b84c53cf468ebe3d22545376984bf05c991267baf3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 99, cognitive 146): (anonymous) has cyclomatic complexity 99 and cognitive complexity 146; 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":"server/routes/ops/skills-sh/mirror-test.post.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eb7b1d2cd8c1ef21349fd96833026f560ce008cfa8c14cb28ce81775077eed0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Management (cyclomatic 90, cognitive 85): Management has cyclomatic complexity 90 and cognitive complexity 85; 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/routes/management.tsx"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b516662deccb3c066ec43c8d34120ee4cfad11a5d4b7502f63c5a06f6fcf383"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateTemplateManifest (cyclomatic 88, cognitive 154): validateTemplateManifest has cyclomatic complexity 88 and cognitive complexity 154; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/templates.ts"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4467f9aa5cae25a753cf862e455d8f998ce0086915e2115b769ee57200de844"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Upload (cyclomatic 86, cognitive 75): Upload has cyclomatic complexity 86 and cognitive complexity 75; 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/routes/skills/publish.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"af1c4128b8337151671a861d315e2f66c32a5414d4c4c422357db87167fb95b9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyGenericGitHubSkillSourceSyncHandler (cyclomatic 81, cognitive 92): applyGenericGitHubSkillSourceSyncHandler has cyclomatic complexity 81 and cognitive complexity 92; 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":"convex/githubSkillSync.ts"},"region":{"startLine":1030}}}],"partialFingerprints":{"codehealthFindingId/v1":"e251ac5b19f8290e124296c28287a992a8dfb3cf9276bb9416afb75b34f3e1b6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PublishPluginRoute (cyclomatic 81, cognitive 65): PublishPluginRoute has cyclomatic complexity 81 and cognitive complexity 65; 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/routes/plugins/publish.tsx"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6746215cc4d85a1cd7f24080dd4449f599bbf706c223960eb23d658607eead0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function skillsShCatalogTestV1Handler (cyclomatic 80, cognitive 107): skillsShCatalogTestV1Handler has cyclomatic complexity 80 and cognitive complexity 107; 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":"convex/httpApiV1/skillsShCatalogV1.ts"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c2a02ef364d6d9a1c876806964df49a02d3d63c605f460cb7e544d549ba824d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function preparePackagePublishPlan (cyclomatic 76, cognitive 97): preparePackagePublishPlan has cyclomatic complexity 76 and cognitive complexity 97; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/packages.ts"},"region":{"startLine":2646}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dc4f0ce03cdf5c119941a316a4f7ffa00c50e1fbae6f50cf91a3c1b55c5a797"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 76, cognitive 68): handler has cyclomatic complexity 76 and cognitive complexity 68; 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":"convex/packages.ts"},"region":{"startLine":10958}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b0388a9f7414f4c691a21bb5632fafdd519fe55296650ca7ebbb441adb3d395"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function publishVersionForUser (cyclomatic 75, cognitive 74): publishVersionForUser has cyclomatic complexity 75 and cognitive complexity 74; 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":"convex/lib/skillPublish.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0d91fccab7ac892ad480a61c4564c6a6a4e545fbefe4474831de3df986c892d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cmdSearchInsights (cyclomatic 74, cognitive 126): cmdSearchInsights has cyclomatic complexity 74 and cognitive complexity 126; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/searchInsights.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"bea18c86a01f30f7d3a6519dbcd98063788a778e8fa7291887d2d17e079373ce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateRetainedPublishAttempt (cyclomatic 70, cognitive 57): validateRetainedPublishAttempt has cyclomatic complexity 70 and cognitive complexity 57; 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":"convex/lib/publishAttemptOperationalRecovery.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"7469f69c94d6f0ee24353e59f88c05b049ccc651cc2ce013471fb83bbcd46143"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function exportSkillsV1Handler (cyclomatic 67, cognitive 116): exportSkillsV1Handler has cyclomatic complexity 67 and cognitive complexity 116; 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":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":3531}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a4e5facd2987535c762e87a0b9ed146ec69a4f85fb10625150910638b5ddb2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cmdPublish (cyclomatic 65, cognitive 76): cmdPublish has cyclomatic complexity 65 and cognitive complexity 76; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/publish.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c506f160fcf319bfbfe2c29b1fbc90464fea5ce4c570fb78ac3a91c93c30f6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 62, cognitive 73): handler has cyclomatic complexity 62 and cognitive complexity 73; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/securityScan.ts"},"region":{"startLine":2822}}}],"partialFingerprints":{"codehealthFindingId/v1":"744d81617481d81ef7191561804f961feabd15d4482729a352f3d89daedb44ba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 61, cognitive 87): handler has cyclomatic complexity 61 and cognitive complexity 87; 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":"convex/publishAttempts.ts"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ec4457b934ff0cb44ec59a54ae3703fcc4b8e4ac88826c99f6446afdadd5f5e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 61, cognitive 78): handler has cyclomatic complexity 61 and cognitive complexity 78; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skills.ts"},"region":{"startLine":4712}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a08ba2abf3f45a05a9067a52d7623a1b8193b9a6bd9ca4a5969ad5c34c26f7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function admitScans (cyclomatic 61, cognitive 73): admitScans has cyclomatic complexity 61 and cognitive complexity 73; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skillsShCatalog.ts"},"region":{"startLine":1442}}}],"partialFingerprints":{"codehealthFindingId/v1":"1306a914b9b1990e7517778fc64db9236ec022f8364233f28b50fea8ed56d512"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ImportGitHub (cyclomatic 61, cognitive 49): ImportGitHub has cyclomatic complexity 61 and cognitive complexity 49; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/import.tsx"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"270153ec378b47ab08bacc077bfb5cb7e36933d67309c268b8ffd416db660e9e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function exportPluginsV1Handler (cyclomatic 60, cognitive 83): exportPluginsV1Handler has cyclomatic complexity 60 and cognitive complexity 83; 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":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":1738}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c085074c0afe35ab05714000d7ffa75682dbb501b39186941dc933b115db4da"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function UnifiedSearchPage (cyclomatic 60, cognitive 52): UnifiedSearchPage has cyclomatic complexity 60 and cognitive complexity 52; 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/routes/search.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"4556db08933ba68621f7dfe3ca015c32d164e8d1568fe8d5636166795b62845c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateDecisionsRun (cyclomatic 60, cognitive 49): validateDecisionsRun has cyclomatic complexity 60 and cognitive complexity 49; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/security/clawscan-decisions.ts"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"64c0784c2b4bac74f42eef8e96f231b279386a0f50e3514592d3af9dfa543a47"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runPackageInspectorNightlyScan (cyclomatic 59, cognitive 111): runPackageInspectorNightlyScan has cyclomatic complexity 59 and cognitive complexity 111; 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":"scripts/package-inspector-nightly-scan.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"a712bbef7dc1598c5a5d950b63b24f219b85e52f399e2908e9fe91316a78f6de"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setSkillSoftDeletedByActor (cyclomatic 59, cognitive 62): setSkillSoftDeletedByActor has cyclomatic complexity 59 and cognitive complexity 62; 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":"convex/skills.ts"},"region":{"startLine":11462}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6ec9c4ef00c7ec476edd09cc493192480c95c85b5494907ae5672389401c58a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function clawScanExposure (cyclomatic 59, cognitive 44): clawScanExposure has cyclomatic complexity 59 and cognitive complexity 44; 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":"scripts/security/clawscan-exposure.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"3858436b650c7399e1acb1fdb06cbb6f06fa8004e939f229890517c61c6a1518"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 58, cognitive 72): (anonymous) has cyclomatic complexity 58 and cognitive complexity 72; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/inspect.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"725b48b4309b55096e64f455fc1c636795cbd5f76fe71046e5721ba8f9932455"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyGitHubSkillVerificationResultHandler (cyclomatic 58, cognitive 67): applyGitHubSkillVerificationResultHandler has cyclomatic complexity 58 and cognitive complexity 67; 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":"convex/githubSkillSync.ts"},"region":{"startLine":2209}}}],"partialFingerprints":{"codehealthFindingId/v1":"901235958fe25d586500599710ef83e8f0f606dd03b305be3ac17d9723fe1021"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleAdminStaffEmail (cyclomatic 58, cognitive 63): handleAdminStaffEmail has cyclomatic complexity 58 and cognitive complexity 63; 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":"convex/httpApiV1/usersV1.ts"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5807366399de69661645594bad8e76523af1b5116d3c6043e4802081623ca9d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PublisherProfilePage (cyclomatic 58, cognitive 57): PublisherProfilePage has cyclomatic complexity 58 and cognitive complexity 57; 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/routes/user/$handle.tsx"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b6e74d622596d6cb99f125f7908e316eebb2491e8fe9708bd79aae4dea363d8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 58, cognitive 47): handler has cyclomatic complexity 58 and cognitive complexity 47; 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":"convex/securityScan.ts"},"region":{"startLine":2078}}}],"partialFingerprints":{"codehealthFindingId/v1":"d591b520400a6f93513c1354f243708a0a09ce4542ad67d8ee77cad03a95e693"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 56, cognitive 66): handler has cyclomatic complexity 56 and cognitive complexity 66; 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":"convex/publishers.ts"},"region":{"startLine":1763}}}],"partialFingerprints":{"codehealthFindingId/v1":"28d882f77a82307323da230e648b8d8be8fff119b54dfcbe6b71ada4b4527928"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 56, cognitive 47): main has cyclomatic complexity 56 and cognitive complexity 47; 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":"scripts/skills-sh-catalog/deploy-overlap-experiment.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"40de3f7b426cb8df0ee557a75a297927a008d717968ecca8437e2497d04e24e9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readReport (cyclomatic 54, cognitive 66): readReport has cyclomatic complexity 54 and cognitive complexity 66; 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":"convex/searchInsights.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"379ae8cd2d04c5bbfa17c274c2bee59f14cf5dd9a29f965574bc487084b8ce89"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Dashboard (cyclomatic 54, cognitive 44): Dashboard has cyclomatic complexity 54 and cognitive complexity 44; 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/routes/dashboard.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef37c9f85ea18046fdeeac5d94d742fd5795a8f65f986c319a881732de78a9f2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mergeOwnedSkillIntoCanonicalByActor (cyclomatic 53, cognitive 65): mergeOwnedSkillIntoCanonicalByActor has cyclomatic complexity 53 and cognitive complexity 65; 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":"convex/skills.ts"},"region":{"startLine":9310}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfdc19f7c97781acb2adc882d5fd60d33a2688ebc4e0ed26dc3ed9f3541b226f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateClawScanArtifactForClawHubProfile (cyclomatic 53, cognitive 63): validateClawScanArtifactForClawHubProfile has cyclomatic complexity 53 and cognitive complexity 63; 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":"scripts/security/run-codex-scan-worker.ts"},"region":{"startLine":2135}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ef35c4d54ce1903978c28e834667178f6ca408da1a5f835e0cf7c492563ade0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 53, cognitive 55): (anonymous) has cyclomatic complexity 53 and cognitive complexity 55; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/packages.ts"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"629b169dc3084edfc81efc2db5ecf6cfce7a465f4474a4d62fe4c46a072302bb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function searchPackages (cyclomatic 52, cognitive 48): searchPackages has cyclomatic complexity 52 and cognitive complexity 48; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":3590}}}],"partialFingerprints":{"codehealthFindingId/v1":"86697fbefd75630948568d44759c00ec36df537d18d41b2a0f1877743b30750d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runNativeClawScan (cyclomatic 51, cognitive 74): runNativeClawScan has cyclomatic complexity 51 and cognitive complexity 74; 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":"scripts/security/run-prepublication-worker.ts"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e0d89a9846e84ffe5552203e1e48ae457e5ebd3e37142a428b3f86e528773c6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function measureSkillsShMirrorProofSource (cyclomatic 51, cognitive 63): measureSkillsShMirrorProofSource has cyclomatic complexity 51 and cognitive complexity 63; 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":"server/skillsShCatalogSource.ts"},"region":{"startLine":1866}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ddd6d2de81f8320aa8c1d344211585bf8c3c36b0a69e1661e976f6171348e7b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function HomeListingSection (cyclomatic 51, cognitive 48): HomeListingSection has cyclomatic complexity 51 and cognitive complexity 48; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/HomeListingSection.tsx"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"53dc79f34b010300fe28dc68786ce93d089d82d9f6a274dbe94271842396bc23"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 50, cognitive 50): handler has cyclomatic complexity 50 and cognitive complexity 50; 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":"convex/skills.ts"},"region":{"startLine":11146}}}],"partialFingerprints":{"codehealthFindingId/v1":"89dc64d0d8f89aacbcd5245c4ad5a6f1ed93dbb2ecac8089acbd2c714899525e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function usersPostRouterV1Handler (cyclomatic 49, cognitive 62): usersPostRouterV1Handler has cyclomatic complexity 49 and cognitive complexity 62; 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":"convex/httpApiV1/usersV1.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"06e8c1e8744297fc611a4eecd0350fe6619efb32ef8d764de90d3da518a705bc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 49, cognitive 43): handler has cyclomatic complexity 49 and cognitive complexity 43; 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":"convex/publishers.ts"},"region":{"startLine":3242}}}],"partialFingerprints":{"codehealthFindingId/v1":"d14f0c2723e95eb406adfc59793f6c65051c21e82a7a0699ad0ee280bd4bdac8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function UserBadge (cyclomatic 49, cognitive 38): UserBadge has cyclomatic complexity 49 and cognitive complexity 38; 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/UserBadge.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec268a8448ded167d124149612dadfcf662861b7a5db69035ce4347242194b8a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Header (cyclomatic 48, cognitive 43): Header has cyclomatic complexity 48 and cognitive complexity 43; 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/Header.tsx"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0a6b48080f5671f2f74447cb171095902aaf52dad2b4092b7d6ab30424dccfc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateTemplatePackageContents (cyclomatic 47, cognitive 51): validateTemplatePackageContents has cyclomatic complexity 47 and cognitive complexity 51; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/templatePackage.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fe75fae8051c5d7a8f86154a4523906c9eba460b3915497c343a431f8a09cca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateTemplateBundledSources (cyclomatic 46, cognitive 114): validateTemplateBundledSources has cyclomatic complexity 46 and cognitive complexity 114; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/templateBundled.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"a19b6e5ebd99836837264e7cb6ad2ed41e59628963346b3f68ad73228b67bade"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cmdSync (cyclomatic 46, cognitive 61): cmdSync has cyclomatic complexity 46 and cognitive complexity 61; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/sync.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"94c4a3799f153d65ccdaf2ee6aa79300eb0e0b201bed2ec7ef8f5da2b319a018"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseClawdisMetadata (cyclomatic 45, cognitive 51): parseClawdisMetadata has cyclomatic complexity 45 and cognitive complexity 51; 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":"convex/lib/skills/index.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d804b862c814b32efa7b2d64dffc4f1ea0782a32990c9e0cb89b6ae678f0688"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 44, cognitive 74): handler has cyclomatic complexity 44 and cognitive complexity 74; 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":"convex/skillsShCatalog.ts"},"region":{"startLine":1143}}}],"partialFingerprints":{"codehealthFindingId/v1":"878d409eb1f058c186bc873fd8bfcbc8d5e182ba31fe01291295dac652eeae60"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyGitHubSkillSourceSyncHandler (cyclomatic 44, cognitive 65): applyGitHubSkillSourceSyncHandler has cyclomatic complexity 44 and cognitive complexity 65; 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":"convex/githubSkillSync.ts"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed3725cee7b4485f2d4d57bf4483a5a283d8472ff6c9d9f90fac38f0900a9828"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchPluginCatalog (cyclomatic 44, cognitive 59): fetchPluginCatalog has cyclomatic complexity 44 and cognitive complexity 59; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/packageApi.ts"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"99f43d9c84b0f7a7c1be6c3c5ebc3b918a869550407b2d3b5946cc03ef426f7a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isUsableSkillSpectorPartial (cyclomatic 44, cognitive 50): isUsableSkillSpectorPartial has cyclomatic complexity 44 and cognitive complexity 50; 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":"scripts/security/skillSpectorReportPolicy.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"89178b9c348150c6560f3df69550673dffff40668cc794cfbd27c134a4470425"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 44, cognitive 46): handler has cyclomatic complexity 44 and cognitive complexity 46; 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":"convex/canonicalTrending.ts"},"region":{"startLine":1206}}}],"partialFingerprints":{"codehealthFindingId/v1":"30245dd353b329210464948fd253b3678b639118b821690780a634e383c07cef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update (cyclomatic 44, cognitive 37): update has cyclomatic complexity 44 and cognitive complexity 37; 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/GoogleAnalytics.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"a31c5059f039432ac72c42359693e1817d419e21f9905264184fd922b34b25c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 43, cognitive 76): handler has cyclomatic complexity 43 and cognitive complexity 76; 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":"convex/publishAttempts.ts"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"1131f0fbc763aec371d2bc7e4008dbe2136083ff8c5f343eb19416e62d49726f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 43, cognitive 62): handler has cyclomatic complexity 43 and cognitive complexity 62; 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":"convex/skillsShCatalog.ts"},"region":{"startLine":949}}}],"partialFingerprints":{"codehealthFindingId/v1":"9849d4f426506317b5f2b83ea1c9fa24ec562b91a62f118c7e8a5fc648fa7414"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function searchPackagesImpl (cyclomatic 43, cognitive 48): searchPackagesImpl has cyclomatic complexity 43 and cognitive complexity 48; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive 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":"convex/packages.ts"},"region":{"startLine":4581}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e460f0b7a46f02d2f4291157cfce9c3192a776affa8d30269aa3f8084b9d5e9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readSkillPageBySlug (cyclomatic 43, cognitive 39): readSkillPageBySlug has cyclomatic complexity 43 and cognitive complexity 39; 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":"convex/lib/skillPageRead.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb93328b47c3165b4a0e8ffad26a6d929c7c1f2fbcfe0518b0e5e1c5026df574"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseOptions (cyclomatic 43, cognitive 39): parseOptions has cyclomatic complexity 43 and cognitive complexity 39; 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":"scripts/plugin-category-operator.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"d80d34bd0914d6f1f210cf599fc1cfa5c52a4869132346381a164758a1152006"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateNativeAgentSettings (cyclomatic 42, cognitive 51): validateNativeAgentSettings has cyclomatic complexity 42 and cognitive complexity 51; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/templateAgent.ts"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e900ea5d860a1f795f54752406dad8d3742aeae2ece3f0bae41dcd3f609859c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildSkillEntry (cyclomatic 42, cognitive 38): buildSkillEntry has cyclomatic complexity 42 and cognitive complexity 38; 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":"convex/catalogFeed.ts"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"a505dab5cf25616c56934a5dfc11dbe7dea21cff2423af513ac8775f57a6c09b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function seedLocalModerationFixturesHandler (cyclomatic 41, cognitive 70): seedLocalModerationFixturesHandler has cyclomatic complexity 41 and cognitive complexity 70; 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":"convex/devSeed.ts"},"region":{"startLine":2934}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5533be21b1a44ac49803a102b41f2ef42ccbebab9d0e2367fbf061dd27dcbc1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 41, cognitive 50): handler has cyclomatic complexity 41 and cognitive complexity 50; 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":"convex/skillsShMirror.ts"},"region":{"startLine":1381}}}],"partialFingerprints":{"codehealthFindingId/v1":"03da737ca17d539be3892f9293e0a154bf632995a6cef3ff6637019be4a52e5f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 41, cognitive 38): (anonymous) has cyclomatic complexity 41 and cognitive complexity 38; 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":"convex/prepublicationReports.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c88a8794d85d3addfe508f54f76dbd6818072f252900e414082e04cf4e02b2f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function searchPackageCatalogImpl (cyclomatic 39, cognitive 77): searchPackageCatalogImpl has cyclomatic complexity 39 and cognitive complexity 77; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skills.ts"},"region":{"startLine":5949}}}],"partialFingerprints":{"codehealthFindingId/v1":"e237520105c81c42990c591272c69f99f4b98e134b1c73c630f6a7a163b876a3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function listCuratedSkillPage (cyclomatic 39, cognitive 55): listCuratedSkillPage has cyclomatic complexity 39 and cognitive complexity 55; 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":"convex/skills.ts"},"region":{"startLine":6305}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b9dcb0fde73b98b0ffd6f2d386078a96f97ec546de75bbb7dd5d2679ac4dadb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function searchInsightsV1Handler (cyclomatic 39, cognitive 48): searchInsightsV1Handler has cyclomatic complexity 39 and cognitive complexity 48; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive 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":"convex/httpApiV1/searchInsightsV1.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaad460d7fba7307bcc8e553b3e16ba776264c50bfaf04774a23b70cb0629016"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function publishForActor (cyclomatic 39, cognitive 44): publishForActor has cyclomatic complexity 39 and cognitive complexity 44; 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":"convex/featuredSelections.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"4538bb453b98d9b6839471fee9584cc13db1bf834a43942a77791a4e28935192"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runBarnacleAutoResponse (cyclomatic 39, cognitive 44): runBarnacleAutoResponse has cyclomatic complexity 39 and cognitive complexity 44; 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":"scripts/github/barnacle-auto-response.mjs"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"60cae2d05dcbcf3dd6eced33c73b361caa7b8247ebc739428630fdec1ae3a033"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 39, cognitive 42): (anonymous) has cyclomatic complexity 39 and cognitive complexity 42; 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":"scripts/evaluations/openai-capability-broker.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c74ebacd1fea86f8c56435b25b4131778034f1598b8714f3104fc85998c645f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SkillDiffCard (cyclomatic 39, cognitive 36): SkillDiffCard has cyclomatic complexity 39 and cognitive complexity 36; 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/SkillDiffCard.tsx"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3dceb76bee329b405aa4bda9559483b737ded6ebe295bd6fcafc834c4f00531"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PluginsIndex (cyclomatic 39, cognitive 30): PluginsIndex has cyclomatic complexity 39 and cognitive complexity 30; 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/routes/plugins/index.tsx"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c1e00c8ef3a1fb826cdc72e6309e2cecc3c4bc307904a6ec5167082c25389ef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 39, cognitive 29): handler has cyclomatic complexity 39 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/searchInsights.ts"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"02526a92b0e59cd9b297c79a3501072d9059e7e73bb4eff952896c79b9a31fe0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertRetryFinalization (cyclomatic 39, cognitive 17): assertRetryFinalization has cyclomatic complexity 39 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 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":"convex/lib/publishAttemptOperationalRecovery.ts"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6cc6e2638c27b6265698b9f5cf155194f9a251674ebfc10e3e4c26377762e22"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateClawScanJudgeResultShape (cyclomatic 38, cognitive 47): validateClawScanJudgeResultShape has cyclomatic complexity 38 and cognitive complexity 47; 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":"scripts/security/run-codex-scan-worker.ts"},"region":{"startLine":1968}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ecf80c4273a529c6ef060ecc91bdbe97b87ec96d0945a17ae1a78e658aa6eab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function downloadZipHandler (cyclomatic 38, cognitive 46): downloadZipHandler has cyclomatic complexity 38 and cognitive complexity 46; 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":"convex/downloads.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"cec7e607613cb0eeaf04dd10b29f0d1c4a7bf664f7d38c2f98d5c758eaaa1252"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hardDeleteSkillStep (cyclomatic 38, cognitive 40): hardDeleteSkillStep has cyclomatic complexity 38 and cognitive complexity 40; 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":"convex/skills.ts"},"region":{"startLine":1448}}}],"partialFingerprints":{"codehealthFindingId/v1":"aab1ebd81677493c80d576b4a68b46ea138046d4e6940a418136e8a7462a5d0f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SkillDetailTabs (cyclomatic 38, cognitive 37): SkillDetailTabs has cyclomatic complexity 38 and cognitive complexity 37; 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/SkillDetailTabs.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"930729f45b09da15f0d8f79e28d41ca63911dfb736e797e8cb4406e319a262d4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 38, cognitive 29): main has cyclomatic complexity 38 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/security/run-clawscan-diagnostic.ts"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6826ae431f553996f723240111a9cea9c7a4fd9e84757eb9a181b24cfb041be"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function projectSerializerFailure (cyclomatic 38, cognitive 25): projectSerializerFailure has cyclomatic complexity 38 and cognitive complexity 25; 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":"scripts/security/skillspector-exception-diagnostic.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"07416e00b8e8be45d909687b77364613025b5ff0c3109dbb2a6645f912a704f3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 38, cognitive 17): handler has cyclomatic complexity 38 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 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":"convex/maintenance.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"c411e2232e1883283f31464e4bf4dddc0f6cba473bf040b0318760c16a04af9d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processJob (cyclomatic 37, cognitive 45): processJob has cyclomatic complexity 37 and cognitive complexity 45; 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":"scripts/security/run-codex-scan-worker.ts"},"region":{"startLine":2592}}}],"partialFingerprints":{"codehealthFindingId/v1":"a84a6aafef66947d4281ba0d1af0883827b34b16808605234d091094b6ba6d3e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 37, cognitive 44): handler has cyclomatic complexity 37 and cognitive complexity 44; 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":"convex/securityScan.ts"},"region":{"startLine":3869}}}],"partialFingerprints":{"codehealthFindingId/v1":"19c2bfff6c5d9655cefd40785c7f536e717e1a4ef9138bf2637e7113fb8d179d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 37, cognitive 39): parseArgs has cyclomatic complexity 37 and cognitive complexity 39; 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":"scripts/security-dataset/export-snapshot.ts"},"region":{"startLine":912}}}],"partialFingerprints":{"codehealthFindingId/v1":"629b9abaeb24a8f23ded835308d005bdb7c30549cb02ed4bb96a9d46c4dc0294"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PluginDetailTabs (cyclomatic 37, cognitive 36): PluginDetailTabs has cyclomatic complexity 37 and cognitive complexity 36; 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/routes/plugins/$name.tsx"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d625b202cabf575316385d2cdcd93292def7fe6150e6493c19f5c48bb11f39f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function projectSkillSpectorReport (cyclomatic 37, cognitive 32): projectSkillSpectorReport has cyclomatic complexity 37 and cognitive complexity 32; 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":"scripts/security/clawscan-diagnostic-skillspector.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a098248df54a579ff8139130c2ef84144ce61a0f8af653d737f7d666dd674ba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function retryFailedPublishAttemptChecks (cyclomatic 37, cognitive 30): retryFailedPublishAttemptChecks has cyclomatic complexity 37 and cognitive complexity 30; 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":"convex/lib/publishAttemptOperationalRecovery.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"707bd22607792ed08310c0cda399241bbc611a92e78791a1aebc4e40ff38b445"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runContinuouslyRefilledWorkerPool (cyclomatic 36, cognitive 64): runContinuouslyRefilledWorkerPool has cyclomatic complexity 36 and cognitive complexity 64; 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":"scripts/security/run-codex-scan-worker.ts"},"region":{"startLine":2837}}}],"partialFingerprints":{"codehealthFindingId/v1":"c29c9234fe25c8886270154238d524a5d50966332b80e15e429ea66ef852ebd3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 36, cognitive 48): handler has cyclomatic complexity 36 and cognitive complexity 48; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive 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":"convex/skillsShMirrorVisibility.ts"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4f8cf24b4c28e507484a8b451ba4c0e19e35b1f67c6c07ec67670e5dbc20260"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleSubmit (cyclomatic 36, cognitive 36): handleSubmit has cyclomatic complexity 36 and cognitive complexity 36; 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/routes/skills/publish.tsx"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e23e1d1d3038419c8b3966a996b01c0335b4b7835b664dd9a7a667240fbb0c9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SearchInsightsPage (cyclomatic 36, cognitive 33): SearchInsightsPage has cyclomatic complexity 36 and cognitive complexity 33; 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/routes/-management/SearchInsightsPage.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"5572a3bd2a89983d4570dba927159aeb09f1c3b6455d546193b11b0fe17e01e5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 36, cognitive 28): handler has cyclomatic complexity 36 and cognitive complexity 28; 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":"convex/users.ts"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3dea677be43b856ed33c8f90440f5c9f2219304b8faae3856936c639878f9ca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 35, cognitive 47): handler has cyclomatic complexity 35 and cognitive complexity 47; 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":"convex/securityScan.ts"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"0731b743c2a36dc4119a9cec895805b7895bc471630624339f516f1a35299f23"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveSkill (cyclomatic 35, cognitive 41): resolveSkill has cyclomatic complexity 35 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 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":"convex/agentSkillsHttp.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"8930043492127204c63491bb012b328cfc55f6e4b511214953f1287fc0065d3a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mainFixedOriginalDiagnostic (cyclomatic 35, cognitive 35): mainFixedOriginalDiagnostic has cyclomatic complexity 35 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 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":"scripts/security/run-clawscan-original038-diagnostic.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"55c1573f74a25ee85f1ae55e59ed3e0f68784de4815526ea86b977031854ec0d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildSkillSecuritySnapshot (cyclomatic 35, cognitive 32): buildSkillSecuritySnapshot has cyclomatic complexity 35 and cognitive complexity 32; 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":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"170ec849cc3acb450d8b74169b13997a4d23f01b0c52e485330416d3496c2f23"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 34, cognitive 43): handler has cyclomatic complexity 34 and cognitive complexity 43; 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":"convex/skills.ts"},"region":{"startLine":2311}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6e1e1a7bf1c4e3e9330b7553bc92bdf4c1dda5419210a1493a177d6452861d1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractDiagnosticArchive (cyclomatic 34, cognitive 41): extractDiagnosticArchive has cyclomatic complexity 34 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 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":"scripts/security/clawscan-diagnostic-input.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c48048ca3a67f507c802648931d1765f15391e3b4e05fe82979342f0559a0ee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function settleExistingStagedPackagePublication (cyclomatic 34, cognitive 39): settleExistingStagedPackagePublication has cyclomatic complexity 34 and cognitive complexity 39; 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":"convex/packages.ts"},"region":{"startLine":8770}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e6ee56e7d16fee069f274b30a1b219764284ba0b1b397ddb74acc63b000bbca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decodeUtf8Text (cyclomatic 34, cognitive 39): decodeUtf8Text has cyclomatic complexity 34 and cognitive complexity 39; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/textFiles.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3130b99c91b0fa52400ecaf4815f20513610bc35bf8325edf137e5782fa4e6c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assembleEvalUserMessage (cyclomatic 34, cognitive 36): assembleEvalUserMessage has cyclomatic complexity 34 and cognitive complexity 36; 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":"convex/lib/securityPrompt.ts"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff0425e993d1b20007d76af0f107554e324e29feb5df5df2f045dbe34728e2e4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 34, cognitive 35): handler has cyclomatic complexity 34 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 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":"convex/packages.ts"},"region":{"startLine":6728}}}],"partialFingerprints":{"codehealthFindingId/v1":"46d40184094372cc48524ae730d9895fffb32717b505bc0dd6903cc7f51babaf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getClawHubRuntimeEnvironment (cyclomatic 34, cognitive 30): getClawHubRuntimeEnvironment has cyclomatic complexity 34 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/rolloutCapabilities.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e11878e1bb3a2481b9d64ff12ab55c9c6b61b6c493909b7296df901a3ecb85e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function qualifyTestTemplate (cyclomatic 34, cognitive 26): qualifyTestTemplate has cyclomatic complexity 34 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 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":"scripts/security/qualify-test-template.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"62fa42f187999c6e316c671f755278334c922326853a17f00a92b21aec47c6c4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectSkillLineageCycleInternalHandler (cyclomatic 34, cognitive 17): inspectSkillLineageCycleInternalHandler has cyclomatic complexity 34 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 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":"convex/maintenance.ts"},"region":{"startLine":3401}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c8c78383e7e2fe6d2c3114e8bdd5eeb7d99d279acc619fe2524e815f21689a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 33, cognitive 49): handler has cyclomatic complexity 33 and cognitive complexity 49; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive 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":"convex/canonicalTrending.ts"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"f868e1a2282e02c089cda1d67d464fa94e683cfa396b2d7450d4d8ce36fedaf8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 33, cognitive 49): handler has cyclomatic complexity 33 and cognitive complexity 49; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive 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":"convex/skills.ts"},"region":{"startLine":5170}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f207c56fc64bdc500dc5f3b35a53fc897c2e503b9881a9180b9395365d8239"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runScheduledTemporalPublisherAbuseScanStep (cyclomatic 33, cognitive 47): runScheduledTemporalPublisherAbuseScanStep has cyclomatic complexity 33 and cognitive complexity 47; 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":"convex/publisherAbuseTemporalScan.ts"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8befbb5c1f5763b7600875dab51470ab1f4107d6a6cd52df05cfe082cad49dc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ensurePersonalPublisherForUser (cyclomatic 33, cognitive 44): ensurePersonalPublisherForUser has cyclomatic complexity 33 and cognitive complexity 44; 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":"convex/lib/publishers.ts"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f1e39b523a85e854642c353ee6d64c4f76da17793f122389ad0c64ec7a4335"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function skillsShCatalogPublicV1Handler (cyclomatic 33, cognitive 41): skillsShCatalogPublicV1Handler has cyclomatic complexity 33 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 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":"convex/httpApiV1/skillsShCatalogV1.ts"},"region":{"startLine":1147}}}],"partialFingerprints":{"codehealthFindingId/v1":"6341641589f5ba0825bbf74751afbb89e3c6e808fd4ffc78f03ea25d5dfcd327"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function measureSkillsShTrendingSource (cyclomatic 33, cognitive 40): measureSkillsShTrendingSource has cyclomatic complexity 33 and cognitive complexity 40; 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":"server/skillsShCatalogSource.ts"},"region":{"startLine":1461}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b42957b21d8a6518aa698151f110dd8892db8110a679e9f3e0503d5c5bc3747"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function migrateLegacyPublisherHandleToOrgWithActor (cyclomatic 33, cognitive 36): migrateLegacyPublisherHandleToOrgWithActor has cyclomatic complexity 33 and cognitive complexity 36; 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":"convex/publishers.ts"},"region":{"startLine":1192}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee071937bf4518540de63f7bb90329842fe63d0ceba942dcac613bae20323a2a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mintPublishTokenV1Handler (cyclomatic 33, cognitive 35): mintPublishTokenV1Handler has cyclomatic complexity 33 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 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":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":2420}}}],"partialFingerprints":{"codehealthFindingId/v1":"47626ae3d5d47bf9be5d77092c9c9bdf98648aed2474969c1fca436fc3a3b109"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyGitHubActionsWorkflowJwt (cyclomatic 33, cognitive 34): verifyGitHubActionsWorkflowJwt has cyclomatic complexity 33 and cognitive complexity 34; 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":"convex/lib/githubActionsOidc.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"30c81cd052f1994b5b2069dba1ef16986e50c70b10608f3bf09fc660cc08fc63"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function upsertGitHubSkillCandidate (cyclomatic 33, cognitive 33): upsertGitHubSkillCandidate has cyclomatic complexity 33 and cognitive complexity 33; 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":"convex/githubSkillSync.ts"},"region":{"startLine":1501}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bab04f3f45a4d8581634df0085e56bf4059b24c7223cf97e951ba0255905869"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleAdminUpdatePublisherProfile (cyclomatic 32, cognitive 34): handleAdminUpdatePublisherProfile has cyclomatic complexity 32 and cognitive complexity 34; 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":"convex/httpApiV1/usersV1.ts"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"d52dc946838a7b2613b54db3d49227f67070884262d3bdad5f63c2e5a0024477"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizePromotionInput (cyclomatic 32, cognitive 33): normalizePromotionInput has cyclomatic complexity 32 and cognitive complexity 33; 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":"convex/promotions.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf851abd42125d6bbeda2bcabab80cdc418d783a9edd9752909a3c70cb8b933b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function listPackageInspectorScanBatch (cyclomatic 32, cognitive 31): listPackageInspectorScanBatch has cyclomatic complexity 32 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":"convex/packages.ts"},"region":{"startLine":10277}}}],"partialFingerprints":{"codehealthFindingId/v1":"65a28f114d59fd48f11528f26cf6de362dcdf5bc3595055ce2d0bcfd108d7bb8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 32, cognitive 23): main has cyclomatic complexity 32 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 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":"scripts/skills-sh-catalog/prove-500.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"68c739261e77b63b7fbedaeedb23c88067e55794a8372bc538704e21ba83cb4e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 31, cognitive 57): (anonymous) has cyclomatic complexity 31 and cognitive complexity 57; 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":"convex/skillPresentationBackfill.ts"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4af290ba04c22adc3171e7a25c4382059f294e1182bd9cabf9d9b62cc752433"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildGitHubSkillSourceSnapshot (cyclomatic 31, cognitive 49): buildGitHubSkillSourceSnapshot has cyclomatic complexity 31 and cognitive complexity 49; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive 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":"convex/lib/githubSkillSync.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f75884b67b1f0fa36ba090913eedf3bb3e59cd18ab6404247c5ea8af14140ba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function importGitHubSkillForUser (cyclomatic 31, cognitive 37): importGitHubSkillForUser has cyclomatic complexity 31 and cognitive complexity 37; 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":"convex/githubImport.ts"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"67437f9cedee85d58366e585dccc2411c1f1d2f34559a7eefb217d537ca1cd44"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runMirror (cyclomatic 31, cognitive 37): runMirror has cyclomatic complexity 31 and cognitive complexity 37; 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":"scripts/skills-sh-catalog/prove-mirror-test.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2b1cf97b03b59e194c5518e5f2ddd8fe578e5c76f63a44d36b7513fccacd7ce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 31, cognitive 32): handler has cyclomatic complexity 31 and cognitive complexity 32; 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":"convex/pluginCategoryRefresh.ts"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae700afb8ee6a7b390fad7da03dc39a6915be93328fbef58cd3d3b2f003ba024"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 31, cognitive 32): parseArgs has cyclomatic complexity 31 and cognitive complexity 32; 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":"scripts/ranking-metrics/import-test-ranking-metrics.ts"},"region":{"startLine":1010}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ccecb92febb48e7c8f23b30f2cee420fe075fa11c1dc50df6be43fd81f4a9d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TemplateDetailPage (cyclomatic 31, cognitive 26): TemplateDetailPage has cyclomatic complexity 31 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 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/TemplateDetailPage.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa6d7466187f39ac815d2c2d381fb7f65f6b31670c7f06069cd0307924d3d854"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function attestRuntime (cyclomatic 31, cognitive 17): attestRuntime has cyclomatic complexity 31 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 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":"scripts/security/run-clawscan-diagnostic.ts"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"87eebe8629c65ee8ac084a62f15f85eb540628be16779b7ac392262e59123964"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function completeScannerDiagnostic (cyclomatic 31, cognitive 13): completeScannerDiagnostic has cyclomatic complexity 31 and cognitive complexity 13; 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":"scripts/security/run-clawscan-original-diagnostic.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"bafd5a77a921d619658d3b064c3bcfe6c77b12632b089b7f933947169759039e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function autoBanPublisherAbuseCandidatesPageInternalHandler (cyclomatic 30, cognitive 52): autoBanPublisherAbuseCandidatesPageInternalHandler has cyclomatic complexity 30 and cognitive complexity 52; 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":"convex/publisherAbuse.ts"},"region":{"startLine":932}}}],"partialFingerprints":{"codehealthFindingId/v1":"234753f2ae46132f4dcfd4993f6dd3a6cc43431d649f1be806280f4a1ffd75bb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runPublisherAbuseScoreRunInternalHandler (cyclomatic 30, cognitive 44): runPublisherAbuseScoreRunInternalHandler has cyclomatic complexity 30 and cognitive complexity 44; 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":"convex/publisherAbuse.ts"},"region":{"startLine":1559}}}],"partialFingerprints":{"codehealthFindingId/v1":"7312c1b4f83fe036dfcd092e2aeae2256826f8ea5d173d44bbfe8bd6e2bbc2f7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cmdPublishPackage (cyclomatic 30, cognitive 44): cmdPublishPackage has cyclomatic complexity 30 and cognitive complexity 44; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/packages.ts"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"862ef583cb806f0eeccfb99f3c5113b171c378585b75753655822c05e9afe15f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 30, cognitive 42): handler has cyclomatic complexity 30 and cognitive complexity 42; 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":"convex/packages.ts"},"region":{"startLine":7598}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a70cc1f9686f87b50521e14b1bff59c0a7176de70633507ea47330e6b5f7b1b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatAuditMetadataSummary (cyclomatic 30, cognitive 42): formatAuditMetadataSummary has cyclomatic complexity 30 and cognitive complexity 42; 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/routes/-management/managementShared.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"20c21ae6896662e9250d7c33fe83d6d9e3ba40cef67f704848c8c2a5ecad7407"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildGitHubSkillSyncPlan (cyclomatic 30, cognitive 39): buildGitHubSkillSyncPlan has cyclomatic complexity 30 and cognitive complexity 39; 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":"convex/lib/githubSkillSync.ts"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"b04fbec0606615ef026cc37958088721bbc6e14204a833c3b47287ce100e3918"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function listCuratedPluginCategoryPage (cyclomatic 30, cognitive 38): listCuratedPluginCategoryPage has cyclomatic complexity 30 and cognitive complexity 38; 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":"convex/lib/pluginDiscoveryQueries.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f109e41b9360c654231aa526f769619b4815374a7291697ff903310c916d1d7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseLlmEvalResponse (cyclomatic 30, cognitive 37): parseLlmEvalResponse has cyclomatic complexity 30 and cognitive complexity 37; 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":"convex/lib/securityPrompt.ts"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"9defb3b933825652202cc20d581ff1ff9e98b2100d1ace803d0ca536af372e9c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 30, cognitive 34): (anonymous) has cyclomatic complexity 30 and cognitive complexity 34; 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":"convex/publishers.test.ts"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed2a8675280a9e1211d9ae73ddbbd37d59bb6f8352a1630b01ae3ec0decfc71"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 30, cognitive 31): handler has cyclomatic complexity 30 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 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":"convex/packages.ts"},"region":{"startLine":6961}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a329c12eb62f6954ab9ad4a43e4676669c5c33042cc89e3794d7c7def40c8ce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 30, cognitive 31): main has cyclomatic complexity 30 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 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":"scripts/security/solaris-bundled-diagnostic.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6a2824c9bf57e618b07f6a0016c2821033e268d557e6875fed12dd195271ca6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildPublisherOgSvg (cyclomatic 30, cognitive 29): buildPublisherOgSvg has cyclomatic complexity 30 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/og/publisherOgSvg.ts"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"d89bb5347407c8638e6a21dd990ec7b47eb1b1fcb75400f0a889e992b3971a41"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertPackageRecoveryEligibility (cyclomatic 30, cognitive 27): assertPackageRecoveryEligibility has cyclomatic complexity 30 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 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":"convex/lib/packagePublishRecovery.ts"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"370f1ef7393371e1931272fd20a5290ecc8cbf2578fca687a1ad9e2aae71600a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 30, cognitive 25): handler has cyclomatic complexity 30 and cognitive complexity 25; 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":"convex/devSeed.ts"},"region":{"startLine":4994}}}],"partialFingerprints":{"codehealthFindingId/v1":"f059d8ab8c83c220804c2fe913c9a6e1d1389c33f779595d19a0fd26b5506554"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 30, cognitive 25): handler has cyclomatic complexity 30 and cognitive complexity 25; 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":"convex/publishers.ts"},"region":{"startLine":3445}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6a12b881d5ff59acb540d02f8dcc03022af2d377b61eb0f9073d8f4c4cb52ce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function useUnifiedSearch (cyclomatic 30, cognitive 24): useUnifiedSearch has cyclomatic complexity 30 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/lib/useUnifiedSearch.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"66f2f4024c9620c02d451b2fdad886d9dc83976fd3910d828f7d97ed901f2aa8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 30, cognitive 22): handler has cyclomatic complexity 30 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":"convex/publishAttempts.ts"},"region":{"startLine":1394}}}],"partialFingerprints":{"codehealthFindingId/v1":"61dc31cc23c7a8449cf812b936243490459a77459b632b20b9a4ab8954fb414a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 30, cognitive 17): handler has cyclomatic complexity 30 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 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":"convex/skillsShCatalog.ts"},"region":{"startLine":2593}}}],"partialFingerprints":{"codehealthFindingId/v1":"85b95f4d4bec99c36c4d38e337676e17937ceab4e3c304202a5978b8424cb7b1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 29, cognitive 39): handler has cyclomatic complexity 29 and cognitive complexity 39; 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":"convex/skillStatEvents.ts"},"region":{"startLine":1316}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f3a0d7412a591f0bfa449209b2977d9a8d1ecf48695c8c104a310cec16e5791"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isUsableSkillSpectorReport (cyclomatic 29, cognitive 37): isUsableSkillSpectorReport has cyclomatic complexity 29 and cognitive complexity 37; 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":"scripts/security/skillSpectorReportPolicy.ts"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"e93525c049fb8d0585e99eb2af15a7b5bd4f6952328a6ae4601b9c934a4a6ca6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function installOriginalRuntime (cyclomatic 29, cognitive 32): installOriginalRuntime has cyclomatic complexity 29 and cognitive complexity 32; 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":"scripts/security/clawscan-diagnostic-runtime.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"a571dd1473f9e1be2723054c834d0b15227a51285002555cb4e4b8cd29e910f6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function InstallCommandCard (cyclomatic 29, cognitive 28): InstallCommandCard has cyclomatic complexity 29 and cognitive complexity 28; 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/SkillInstallSurface.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"a28f8bf8cfda4ff3262c171715c93cf14835295bda976ab3a85f675c9c2d5367"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PublisherAbuseSignalInspector (cyclomatic 29, cognitive 27): PublisherAbuseSignalInspector has cyclomatic complexity 29 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 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/routes/-management/AbusePage.tsx"},"region":{"startLine":993}}}],"partialFingerprints":{"codehealthFindingId/v1":"09235d0d973f40402e456c8e2ef620519804bf2c28ab79557d36f8ef0aa99e76"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyPullRequestCandidateLabels (cyclomatic 29, cognitive 23): classifyPullRequestCandidateLabels has cyclomatic complexity 29 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 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":"scripts/github/barnacle-auto-response.mjs"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2f50724eb4faef3b14de666a301e1f6bdf3ce08cc06103400b781305970fabd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildSkillsShMirrorObservation (cyclomatic 29, cognitive 21): buildSkillsShMirrorObservation has cyclomatic complexity 29 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 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":"server/skillsShCatalogSource.ts"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"80b1744cedec831870e5d2886972678a4904fde4329637b42fdf4a6ad497ccd8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 29, cognitive 18): (anonymous) has cyclomatic complexity 29 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":"convex/maintenance.ts"},"region":{"startLine":3841}}}],"partialFingerprints":{"codehealthFindingId/v1":"9116745bb33540ba0f62040819ed194e25d13c07d6b8ab1d999cb25a02be61cc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function discoverOAuth (cyclomatic 28, cognitive 39): discoverOAuth has cyclomatic complexity 28 and cognitive complexity 39; 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":"convex/lib/mcpPublicInspection.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c945315b57acd7665bf1b1b96ecbf7214254ede7d51293486fa105dd3b75857"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function packageManagerArtifacts (cyclomatic 28, cognitive 38): packageManagerArtifacts has cyclomatic complexity 28 and cognitive complexity 38; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/templates.ts"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c45e64220aff25ca82a5da198a93ffd87d2a1e2eefe3d2deec3d0698297f7af"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 28, cognitive 36): handler has cyclomatic complexity 28 and cognitive complexity 36; 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":"convex/securityScan.ts"},"region":{"startLine":3462}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ac2f410e2ba4f2281c58ca109e7afa8eb1de4eebc405a309ed157880e1e0674"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 28, cognitive 36): (anonymous) has cyclomatic complexity 28 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/skills.ts"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"711386a1ce261cef4bc063e3220c49f73f062a188e084fc28d6082838154d3de"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reusableAigAnalysis (cyclomatic 28, cognitive 32): reusableAigAnalysis has cyclomatic complexity 28 and cognitive complexity 32; 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":"convex/lib/aigAnalysis.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"a43dfca31619c7c12cb6f7d7cd92751bf3054febf78607d0264d70230ca36a06"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseManagedMcpDefinition (cyclomatic 28, cognitive 30): parseManagedMcpDefinition has cyclomatic complexity 28 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/managedMcp.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb54736eb5bbe26c8f71da5ef38c57b3e8612f744386c2177cf582ba4589bb7b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runProofBackend (cyclomatic 28, cognitive 29): runProofBackend has cyclomatic complexity 28 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive 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":"scripts/ui-proof-backend.mjs"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2c2bcb03cf16cd57d72abeff5f8bc550a56d759a8560bf98d3d5f27bf0c846d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scheduleGitHubSkillVerification (cyclomatic 28, cognitive 28): scheduleGitHubSkillVerification has cyclomatic complexity 28 and cognitive complexity 28; 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":"convex/githubSkillSync.ts"},"region":{"startLine":1958}}}],"partialFingerprints":{"codehealthFindingId/v1":"e493318464593790b49533d79ece69dfee82e4119953e10be6536b24e7b83c5b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runClawScan (cyclomatic 28, cognitive 28): runClawScan has cyclomatic complexity 28 and cognitive complexity 28; 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":"scripts/security/run-codex-scan-worker.ts"},"region":{"startLine":2305}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c4b1c32390830fcd5d226cb96099f433065a0fe9372b2b21ea728d2f9fd93b6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function matchCatalogText (cyclomatic 28, cognitive 27): matchCatalogText has cyclomatic complexity 28 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 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":"convex/lib/catalogTextMatch.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"e37a439d5252463b034abe2d5c4a4d658fddc87545350dcd03993f06352c73eb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 28, cognitive 27): (anonymous) has cyclomatic complexity 28 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 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/__tests__/deploy-test-workflow.test.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbc091bcecc7527bcd77a354ddd85dd4b34e8cd8879d51aaac7788e96a0fb3e2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 28, cognitive 26): (anonymous) has cyclomatic complexity 28 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 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":"scripts/security-dataset/huggingFaceExport.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c0a6960712aeaefc03bc75b8dda4934fc540694a238f2707cf3be8932066d04"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findCompletedMirrorRun (cyclomatic 28, cognitive 26): findCompletedMirrorRun has cyclomatic complexity 28 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 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":"scripts/skills-sh-catalog/prove-mirror-request.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab9e86f31c217fa4da101962ef17942991c1bd5cf06e010784165da5ecb21646"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readTemplatePackageHttp (cyclomatic 28, cognitive 25): readTemplatePackageHttp has cyclomatic complexity 28 and cognitive complexity 25; 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":"convex/lib/templatePackageHttpRead.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"1533031e9f891d278b4f22757f2d03b28f5da27fd4dc2897a8e31548c3e9d991"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SkillSecurityAuditRoutePage (cyclomatic 28, cognitive 25): SkillSecurityAuditRoutePage has cyclomatic complexity 28 and cognitive complexity 25; 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/routes/$owner/$slug/security-audit.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7631736220a3e3e0a949a3b44177ae6be6ef92de032065c1681fd4581a98b74"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inferPluginCategoriesFromManifest (cyclomatic 28, cognitive 23): inferPluginCategoriesFromManifest has cyclomatic complexity 28 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/pluginCategories.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"73853762b858285f368ecf389bf3a54293c6ad3a29844b3712beb646797bbb16"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 28, cognitive 23): (anonymous) has cyclomatic complexity 28 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 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":"server/routes/og/profile.png.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"365b1206336917e3d8ca4a18aaa1ba938a81a1398dfd4badcdf91e63bb278c07"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 28, cognitive 20): (anonymous) has cyclomatic complexity 28 and cognitive complexity 20; 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":"server/routes/og/skill.png.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9132f5cf102b1bf5fd688f018c1697988fdceef03e9ee744821e98291832960"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 28, cognitive 18): handler has cyclomatic complexity 28 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":"convex/skillsShCatalog.ts"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"44da87a845c7ac3c85bb5e4712c9cbc1ae70bff49843620d2945a764bf2ad540"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function beginSkillsShClaimHandler (cyclomatic 28, cognitive 16): beginSkillsShClaimHandler has cyclomatic complexity 28 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":"convex/skillsShClaims.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdc830f286ee3110e0ec5c0883565ce8762984bb1042d6faa66581e1d4f1e7a0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 27, cognitive 52): handler has cyclomatic complexity 27 and cognitive complexity 52; 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":"convex/securityScan.ts"},"region":{"startLine":2386}}}],"partialFingerprints":{"codehealthFindingId/v1":"47c91151c6b84d00ada756e84d98a3fe14d34d6e02cb510da06c7a063e13a1ca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cleanupEmptySkillsInternalHandler (cyclomatic 27, cognitive 49): cleanupEmptySkillsInternalHandler has cyclomatic complexity 27 and cognitive complexity 49; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive 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":"convex/maintenance.ts"},"region":{"startLine":2590}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a9ce7f20e3b52e29d022cb60b4bcf7c8d2664c34193babc53504f47e50a7dcc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 27, cognitive 45): handler has cyclomatic complexity 27 and cognitive complexity 45; 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":"convex/publishAttempts.ts"},"region":{"startLine":1105}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff619020e22fe0e715ead1a8f44c19a77c6188c620628b0219d05219f45b5a7c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processPrePublicationAttempt (cyclomatic 27, cognitive 38): processPrePublicationAttempt has cyclomatic complexity 27 and cognitive complexity 38; 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":"scripts/security/run-prepublication-worker.ts"},"region":{"startLine":1015}}}],"partialFingerprints":{"codehealthFindingId/v1":"6116744fdba4bf9d7b7bf5409e4e8376da9565e5bf490c05fd709e40128fdc09"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectPublicMcp (cyclomatic 27, cognitive 33): inspectPublicMcp has cyclomatic complexity 27 and cognitive complexity 33; 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":"convex/lib/mcpPublicInspection.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"04346d6f2dd6f36dca46ce7e9dc853666a6a5f4af8e1f400460ed48285fefe79"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 27, cognitive 30): handler has cyclomatic complexity 27 and cognitive complexity 30; 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":"convex/skillsShMirror.ts"},"region":{"startLine":1806}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7349edf34de0e42e823e746272830bcf0630de60914896451cca2dbf5478a9e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 27, cognitive 29): (anonymous) has cyclomatic complexity 27 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive 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/routes/plugins/publish.tsx"},"region":{"startLine":916}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8a1beca217fc5bd9d7b53cafe6fc7401d42a7f4e459d16dd532a4d8d5905cd6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 27, cognitive 28): handler has cyclomatic complexity 27 and cognitive complexity 28; 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":"convex/maintenance.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbac3bdab749c1b1278eab11a6bf780c6f774da8be50220baefc0109c2c10ae4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectPackageMetadataErrors (cyclomatic 27, cognitive 27): collectPackageMetadataErrors has cyclomatic complexity 27 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":"scripts/clawhub-cli-npm-release-check.mjs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"336769a7d9545cf945a40f6422d8ab5cd2c43ec7f1780106693af783fb6f2370"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 27, cognitive 26): (anonymous) has cyclomatic complexity 27 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 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":"convex/lib/packageRegistry.ts"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4540b3f32133cceb46509e43f254571d6dc3c749a26cd1a486a149df5278c32"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CliDeviceAuth (cyclomatic 27, cognitive 24): CliDeviceAuth has cyclomatic complexity 27 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/routes/cli/device.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"b58b9e2736205d86f283a5b1bd4e1afd346303cc56b49e1171ae16712090d6cb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildEvidencePacket (cyclomatic 27, cognitive 22): buildEvidencePacket has cyclomatic complexity 27 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":"convex/skillCards.ts"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec0ed6f12f21a1be89b0af5217f0241884d47867d383fa43ad4be656b859aebb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function diagnosticArtifactMetadata (cyclomatic 27, cognitive 22): diagnosticArtifactMetadata has cyclomatic complexity 27 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":"scripts/security/run-clawscan-diagnostic.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4112b2bd64389d16c31e7b4e6b8812f0ecd090236ca5612697da895bfc5683e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 27, cognitive 22): (anonymous) has cyclomatic complexity 27 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/routes/-management/SkillsPage.tsx"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5d38b70f796968f49f6233b7a5b1136b0f409d9345489944244f9317ed90f07"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 27, cognitive 18): handler has cyclomatic complexity 27 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":"convex/securityScan.ts"},"region":{"startLine":1651}}}],"partialFingerprints":{"codehealthFindingId/v1":"31f6202287f01fe2e293c9e04c6ff86aecfe717bb70452e6dce0993f968fba65"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SearchTypeahead (cyclomatic 27, cognitive 18): SearchTypeahead has cyclomatic complexity 27 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/Header.tsx"},"region":{"startLine":893}}}],"partialFingerprints":{"codehealthFindingId/v1":"85a6b2044cb14d68bbcc4e7f7de8a21ef3c7c765407bb3cc9c35667bbdc28515"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeAigAnalysis (cyclomatic 26, cognitive 36): normalizeAigAnalysis has cyclomatic complexity 26 and cognitive complexity 36; 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":"scripts/security/run-codex-scan-worker.ts"},"region":{"startLine":1359}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b1639fc60c9fa722d36959935bcddeb53388ad140113c78dd05ba06d8c4db17"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 26, cognitive 35): handler has cyclomatic complexity 26 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 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":"convex/uploads.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf00be7083d1245c983abf8c7d73f2d97a815079f57ac20e3ac6d092b0f6ced7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchPackages (cyclomatic 26, cognitive 34): fetchPackages has cyclomatic complexity 26 and cognitive complexity 34; 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/packageApi.ts"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d17b4eb043c20589089fdcb1c77d656c8598cc9da460606fedcb6e2dfa9e9b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function restorePackageDoc (cyclomatic 26, cognitive 31): restorePackageDoc has cyclomatic complexity 26 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 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":"convex/packages.ts"},"region":{"startLine":5680}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5c6000eb4d88545e227a7287f0d1e61e9af68a932e059d336f9e97300de8b0b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseSkillArchiveManifest (cyclomatic 26, cognitive 30): parseSkillArchiveManifest has cyclomatic complexity 26 and cognitive complexity 30; 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":"server/convexProxy.ts"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"11e3abca435d7cdd2a710961ad6b754739bd7bda445a4125037406ab0b93f548"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 26, cognitive 27): handler has cyclomatic complexity 26 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":"convex/skills.ts"},"region":{"startLine":3579}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f16f13aed91f3c55096e1db2bfdec345fdb285fe11e899c3f041aa2e947c0d0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function computeEnsureUpdates (cyclomatic 26, cognitive 26): computeEnsureUpdates has cyclomatic complexity 26 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":"convex/users.ts"},"region":{"startLine":957}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e6a06e41d07a5ca099a25185e1f6fb3347d6392f4acb579ff67602dab07aa73"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 26, cognitive 21): handler has cyclomatic complexity 26 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 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":"convex/skillsShCatalog.ts"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"844fac0fd95b910ea866af8c709dde5bc5ce1f9a398a23225fd0b70578f471a1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 26, cognitive 20): (anonymous) has cyclomatic complexity 26 and cognitive complexity 20; 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":"convex/searchWeeklyDigest.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a3c4e5b7ebf56af9fa0cc25d424d32a3d1c9e23283be8c4631ed17e4bf72ff7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function backfillSkillSummariesInternalHandler (cyclomatic 25, cognitive 47): backfillSkillSummariesInternalHandler has cyclomatic complexity 25 and cognitive complexity 47; 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":"convex/maintenance.ts"},"region":{"startLine":1057}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c7a0f98ac3f4a1a8b210b470e7ecccbd7c9187ce545fe6e3d3b1551e5af48b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function completeRun (cyclomatic 25, cognitive 45): completeRun has cyclomatic complexity 25 and cognitive complexity 45; 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":"scripts/skills-sh-catalog/sync.ts"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"f87ba49fc5c299d4a9434d04d6d2874b6903091e58a8107261761391181ae633"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function managedMcpV1Handler (cyclomatic 25, cognitive 36): managedMcpV1Handler has cyclomatic complexity 25 and cognitive complexity 36; 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":"convex/httpApiV1/managedMcpV1.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4b0c8fdcf495a9b36fe291027d566a56f90f29c2ab96cc7ad9aa78dcd181dd8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runFixture (cyclomatic 25, cognitive 33): runFixture has cyclomatic complexity 25 and cognitive complexity 33; 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":"scripts/security/clawscan-decisions.test.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9a51e4796ca17593454b3311cc04db1d1fe27dbd8e5c92e8394ef802a5dc8e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getGoogleAnalyticsPage (cyclomatic 25, cognitive 31): getGoogleAnalyticsPage has cyclomatic complexity 25 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 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/googleAnalytics.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3407d5055b98b52b7f8fc03aebdb61c2d7c50a46ce56b986cc3272d34db81a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 25, cognitive 27): handler has cyclomatic complexity 25 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":"convex/searchInsights.ts"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"43ba2719bde9d5e6b784d96ea0d46e674cf37cdabe97af7b0943c805e510e323"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SkillListingRow (cyclomatic 25, cognitive 24): SkillListingRow has cyclomatic complexity 25 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/SkillListingRow.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed0bd778dd1cef8e1f7c47237f76b3fd177493d74f5961787c3cd2e23e18c64"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AddPage (cyclomatic 25, cognitive 24): AddPage has cyclomatic complexity 25 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/routes/add.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3373c57f8785efea7757874daca0218adcd6b0af43cbdfd2a54880da6f6c435"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeSkillSpectorAnalysis (cyclomatic 25, cognitive 22): normalizeSkillSpectorAnalysis has cyclomatic complexity 25 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":"scripts/security/run-codex-scan-worker.ts"},"region":{"startLine":1162}}}],"partialFingerprints":{"codehealthFindingId/v1":"a449d3f7c076238f6adbf4d1e29d725ccc1f94f47e9839a3a9d9dae02fa35eed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadPluginsPageData (cyclomatic 25, cognitive 21): loadPluginsPageData has cyclomatic complexity 25 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 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/routes/plugins/index.tsx"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aef62dd8cf87cb01fb18092cd3f441cc426f035098a8ff2369aa2e7e05171dc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchSkillsShIdentityPage (cyclomatic 24, cognitive 62): fetchSkillsShIdentityPage has cyclomatic complexity 24 and cognitive complexity 62; 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":"server/skillsShCatalogSource.ts"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"82019ce999830ce2fde659c29c330e85b3f1099f9fad1a50175aa08515130fb7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyPluginTopics (cyclomatic 24, cognitive 40): classifyPluginTopics has cyclomatic complexity 24 and cognitive complexity 40; 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":"convex/lib/catalogClassifier.mjs"},"region":{"startLine":1886}}}],"partialFingerprints":{"codehealthFindingId/v1":"db2e2863686750a23aa0a507f32fe1a0ad13e825f2410eae0686196a9c4ee746"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runSkillsShSync (cyclomatic 24, cognitive 39): runSkillsShSync has cyclomatic complexity 24 and cognitive complexity 39; 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":"scripts/skills-sh-catalog/sync.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"261ed910b5fe292e62db433722eb2b7f9f2d2b5b3696eedb640684bcc2ee9a62"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function latestCompletedFindingsScans (cyclomatic 24, cognitive 37): latestCompletedFindingsScans has cyclomatic complexity 24 and cognitive complexity 37; 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":"convex/packages.ts"},"region":{"startLine":3529}}}],"partialFingerprints":{"codehealthFindingId/v1":"c46f81069dd851786e02b0c84c04616876561baad1b860308a69509bf9545d54"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 24, cognitive 35): handler has cyclomatic complexity 24 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 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":"convex/skillStatEvents.ts"},"region":{"startLine":1190}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ec1d7747f929e295fc381ddf80a130c865bf6faabd6fc4705ea5aac6a1f99f4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseAgenticRiskFindings (cyclomatic 24, cognitive 29): parseAgenticRiskFindings has cyclomatic complexity 24 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive 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":"convex/lib/securityPrompt.ts"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b7d021e313455ff3a774c756ad9515b50d7c21cd248e600acc9679063fa0e9a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleAdminRecoverPersonalPublisher (cyclomatic 24, cognitive 27): handleAdminRecoverPersonalPublisher has cyclomatic complexity 24 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":"convex/httpApiV1/usersV1.ts"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e2297651af9cf5710eb3999a23121fe3e7d8e1c6b988218d06349c29b84b06a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function advanceScheduledTemporalPercentileInternalHandler (cyclomatic 24, cognitive 27): advanceScheduledTemporalPercentileInternalHandler has cyclomatic complexity 24 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":"convex/publisherAbuseTemporalScan.ts"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e91a7c1dad6ede69cb61aa0bb7bcb56a86204bc48f4c34759e25dfcfe0ce1c0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 24, cognitive 26): (anonymous) has cyclomatic complexity 24 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":"packages/clawhub/test-artifact/cli.artifact.test.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"8068b05bb110c31828ce765893132ddcb0605e647c3a0d45d148ce41d53ada50"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function insertPackageInspectorFindings (cyclomatic 24, cognitive 25): insertPackageInspectorFindings has cyclomatic complexity 24 and cognitive complexity 25; 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":"convex/packages.ts"},"region":{"startLine":9950}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b34df25993c2495e9954e3c99c7825cd13bace9fd61dcacf78d65d732e39962"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applySkillsShTestClaimVerdictHandler (cyclomatic 24, cognitive 25): applySkillsShTestClaimVerdictHandler has cyclomatic complexity 24 and cognitive complexity 25; 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":"convex/skillsShClaims.ts"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e588f998882a3d8a615af9d264a1050d6432a5f4d1546d21a96672212b76a0c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 24, cognitive 25): handler has cyclomatic complexity 24 and cognitive complexity 25; 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":"convex/skillsShMirror.ts"},"region":{"startLine":1945}}}],"partialFingerprints":{"codehealthFindingId/v1":"879e97417ce78016ef368d4be82bffcdb4c8aa306ecbcdb55c2d96f341755a43"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function load (cyclomatic 24, cognitive 25): load has cyclomatic complexity 24 and cognitive complexity 25; 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/SkillDiffCard.tsx"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"13939ba7232373e6e500680b7249d0a6abe63359d0abb96cb11496e5f149bd6b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function listSkillsV1Handler (cyclomatic 24, cognitive 23): listSkillsV1Handler has cyclomatic complexity 24 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 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":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":1447}}}],"partialFingerprints":{"codehealthFindingId/v1":"b46ae5268a9220c3bd6cae580dd2eaf7558ff8f1585fc8d683ce01799630f612"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 24, cognitive 23): (anonymous) has cyclomatic complexity 24 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 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":"server/routes/ops/skills-sh/catalog-test.post.ts"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"cddcfdd05d424b862ea3ed266bc396f7d98d5a73022dd168d71e8cdc2407b0bd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseSkillsShMirrorProofSnapshotId (cyclomatic 24, cognitive 23): parseSkillsShMirrorProofSnapshotId has cyclomatic complexity 24 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 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":"server/skillsShCatalogSource.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa898e2ab9d67bf511fd1541c1a475fd6712a71495b7cbb6e97a66b4f65638f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildEntry (cyclomatic 24, cognitive 22): buildEntry 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":"convex/catalogFeed.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"9abf274e0727203d7d81a4cf1838038d6c4c78a027a11fb75918f3a54fff20e4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SkillFilesPanel (cyclomatic 24, cognitive 22): SkillFilesPanel 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/components/SkillFilesPanel.tsx"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5e846e80b4734ab2ce1a091ac5f6a6e97566fcbe60d5d16464dd26f3233f2b5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SkillSpectorContent (cyclomatic 24, cognitive 22): SkillSpectorContent 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/components/SkillSecurityScanResults.tsx"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"76fdf94e52a1005e7750ca2590cd8af06334df288336d5d357e80d61866c930f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MarketplaceIcon (cyclomatic 24, cognitive 21): MarketplaceIcon has cyclomatic complexity 24 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 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/MarketplaceIcon.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"571305c81c83a32775198966cde434f45afb57c386fe711e5957c69c19fc69ed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ReviewSkillCard (cyclomatic 24, cognitive 18): ReviewSkillCard has cyclomatic complexity 24 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/routes/import.tsx"},"region":{"startLine":1225}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e4ba57384ae5ef7c9d62677decf3a6243ed90e1a9c2ce31d03eb492c6855751"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 24, cognitive 12): handler has cyclomatic complexity 24 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":"convex/skillsShCatalog.ts"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd8a7c8eb29ccce2b94695d3037681afaeefda4f92ad252242aff4a084277993"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function selectSkillsShCatalogTestRows (cyclomatic 23, cognitive 39): selectSkillsShCatalogTestRows has cyclomatic complexity 23 and cognitive complexity 39; 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":"server/skillsShCatalogSource.ts"},"region":{"startLine":2789}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a4638b179792723e92084f4952d796d68a2c45df702ef93a53cf8877da705bd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseClawScanProgress (cyclomatic 23, cognitive 38): parseClawScanProgress has cyclomatic complexity 23 and cognitive complexity 38; 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":"scripts/security/clawscan-progress.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"d72ba19d3018dc7fc634056f96ea9a524c527a0f895b58635515b7e138a87c71"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pluginAutoCandidates (cyclomatic 23, cognitive 34): pluginAutoCandidates has cyclomatic complexity 23 and cognitive complexity 34; 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":"convex/lib/catalogClassifier.mjs"},"region":{"startLine":1411}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a3b210a39c24ebf98c7b18ee5171de4d289113528da3c378221497474f81ec9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cmdRescanAllSkills (cyclomatic 23, cognitive 33): cmdRescanAllSkills has cyclomatic complexity 23 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/moderation.ts"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"23b830dd4d7a1c7b44b8f2c2abaa83ae91ad2a60f5dd3d1b55bcc9216f401598"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateSanitizedSnapshot (cyclomatic 23, cognitive 30): validateSanitizedSnapshot has cyclomatic complexity 23 and cognitive complexity 30; 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":"scripts/staging-seed/validate-sanitized-snapshot.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"700e5fda7ebee72cb09110f6d29a4e7449d24c3082d5589e2797fd40aae625f7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 23, cognitive 29): handler has cyclomatic complexity 23 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive 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":"convex/securityScan.ts"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9f1e1af171fde56f22e2694205636bc7d506f3ab76f55282198d1caa0c8b512"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 27): (anonymous) has cyclomatic complexity 23 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":"convex/packages.ts"},"region":{"startLine":10803}}}],"partialFingerprints":{"codehealthFindingId/v1":"14e12bfc39dc7ea5e4ce2f812737913bea826ec683685422b0f35ad588221e36"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function featuredV1Handler (cyclomatic 23, cognitive 25): featuredV1Handler has cyclomatic complexity 23 and cognitive complexity 25; 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":"convex/httpApiV1/featuredV1.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba20955521a09b6732e83170c318aabd85a51f3045f2ae98047a685e94bc1824"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function transferPackageOwnerForUser (cyclomatic 23, cognitive 25): transferPackageOwnerForUser has cyclomatic complexity 23 and cognitive complexity 25; 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":"convex/packages.ts"},"region":{"startLine":9548}}}],"partialFingerprints":{"codehealthFindingId/v1":"a267e81c803f3f572cb472b77c51211f4ae0628bb1403612c3230a2a1d2ccd63"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renameOwnedSkillByActor (cyclomatic 23, cognitive 24): renameOwnedSkillByActor has cyclomatic complexity 23 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":"convex/skills.ts"},"region":{"startLine":9195}}}],"partialFingerprints":{"codehealthFindingId/v1":"f87d83a5ce8ee159ebeed4bf1c16e6b64894ec6234f4934b1a5281645197dced"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ensureOrgPublisherHandleWithActor (cyclomatic 23, cognitive 23): ensureOrgPublisherHandleWithActor has cyclomatic complexity 23 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":"convex/publishers.ts"},"region":{"startLine":1349}}}],"partialFingerprints":{"codehealthFindingId/v1":"6936772fbdc0bad1faeb36e1fc71194ae0da4b87f07433ff828d9f999a24270b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 23, cognitive 23): handler has cyclomatic complexity 23 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":"convex/users.ts"},"region":{"startLine":2499}}}],"partialFingerprints":{"codehealthFindingId/v1":"776e7864a3b587a3fa8bbbdac59099518aa6672a4d4173dac5f7cc4ef2b4a1d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function lexicalFallbackSkillsImpl (cyclomatic 23, cognitive 22): lexicalFallbackSkillsImpl has cyclomatic complexity 23 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":"convex/search.ts"},"region":{"startLine":1916}}}],"partialFingerprints":{"codehealthFindingId/v1":"c121943df14dea006e13ce62a1febabdd9f8a2339496fb2ad3edd400f25394fb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 21): (anonymous) has cyclomatic complexity 23 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 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":"convex/skillStatEvents.ts"},"region":{"startLine":935}}}],"partialFingerprints":{"codehealthFindingId/v1":"6590e17e4b320418ba700335bacb525fc703d6b0594db1e7280b24aa2a57c004"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ManagedMcpForm (cyclomatic 23, cognitive 21): ManagedMcpForm has cyclomatic complexity 23 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 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/routes/-management/ManagedMcpTools.tsx"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fd4fd68ce62f3d509a305e2f503470684bef2ebd0776b03e051ca67ce948fe3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function useSkillsBrowseModel (cyclomatic 23, cognitive 21): useSkillsBrowseModel has cyclomatic complexity 23 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 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/routes/skills/-useSkillsBrowseModel.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"55ffc67d68ff83ed32552685ab40cf376237aeaf90378d115010d55bbe728b5c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyControlledCanaryGitHubSource (cyclomatic 23, cognitive 20): verifyControlledCanaryGitHubSource has cyclomatic complexity 23 and cognitive complexity 20; 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":"convex/httpApiV1/skillsShCatalogV1.ts"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee2a928184d4982b25f960ab27cecf2af94e2b419f8c263e931805da26c5162"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 23, cognitive 20): handler has cyclomatic complexity 23 and cognitive complexity 20; 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":"convex/skills.ts"},"region":{"startLine":9640}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d1b98c1cf65d30be3db522c3976b269b691163b453d90edf046ca083437aa6b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateParentState (cyclomatic 23, cognitive 19): validateParentState has cyclomatic complexity 23 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":"convex/lib/openClawPublishAuthorization.ts"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b03827d8282c5ebccdcc02b7bb7663763e4558c57122ab829a459a18d377d53"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function adjustUserSkillStatsForSkillChange (cyclomatic 23, cognitive 19): adjustUserSkillStatsForSkillChange has cyclomatic complexity 23 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":"convex/lib/userSkillStats.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b654a04607874d7e3178d6b76e90ea11d6cd47ede552096d6ee08c2c161f4b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertCompletedMirrorRun (cyclomatic 23, cognitive 19): assertCompletedMirrorRun has cyclomatic complexity 23 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":"scripts/skills-sh-catalog/sync.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b756d8452310ba122b35cb62829e5608a6796308b733c6c44aea95e428ad569"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rollbackGitHubSkillCandidateHandler (cyclomatic 23, cognitive 17): rollbackGitHubSkillCandidateHandler has cyclomatic complexity 23 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 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":"convex/githubSkillSync.ts"},"region":{"startLine":2069}}}],"partialFingerprints":{"codehealthFindingId/v1":"09d1c525da1e099920cda937d98531a333f987bc65fe64d861ecaad0a1414471"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildSkillInstallTabs (cyclomatic 23, cognitive 15): buildSkillInstallTabs has cyclomatic complexity 23 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/SkillInstallCard.tsx"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ce1ff5c950fe298c7458a6ec0b94ecdb425cd468b527cf22cd453f223c7eac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 41): (anonymous) has cyclomatic complexity 22 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 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":"convex/githubAccountAgeBackfill.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bc2fe7d0c75771fe34f40d22933bee7f4d8935f52de5b8e0205dbe96a942d8f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 22, cognitive 40): handler has cyclomatic complexity 22 and cognitive complexity 40; 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":"convex/devSeed.ts"},"region":{"startLine":1314}}}],"partialFingerprints":{"codehealthFindingId/v1":"de67ef241c7d2c0a829c05651d576e677c53077821b8e23e4121db58563b4653"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function admitSkillCardClaims (cyclomatic 22, cognitive 33): admitSkillCardClaims has cyclomatic complexity 22 and cognitive complexity 33; 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":"convex/lib/skillCardClaims.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e1d7fe4f00f4609a1fa55da7db56045fe9ce7bbffcf5d694c385956041d42ff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatConfigSnippet (cyclomatic 22, cognitive 31): formatConfigSnippet has cyclomatic complexity 22 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 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/skillDetailUtils.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"365f1ff35d57c2cc3233211f114f38143a99e64d13859ea0011bad1fa5ef2c0c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isStructurallyValidJpeg (cyclomatic 22, cognitive 28): isStructurallyValidJpeg has cyclomatic complexity 22 and cognitive complexity 28; 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":"convex/lib/skillPresentation.ts"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"624d48f93023b94cd57b262e76c019a1e688008d18d1c46254c3196d194a8662"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runRoot (cyclomatic 22, cognitive 27): runRoot has cyclomatic complexity 22 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":"scripts/security/run-codex-scan-worker.ts"},"region":{"startLine":1752}}}],"partialFingerprints":{"codehealthFindingId/v1":"538cd0e5f10d19bbca7076e55ebf69c39dfdba28093d895fd3b764e89616f000"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareSkillInsertArgsForFinalization (cyclomatic 22, cognitive 26): prepareSkillInsertArgsForFinalization has cyclomatic complexity 22 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":"convex/lib/skillPublish.ts"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3b451c8df49180b527d230a09a58ffaaa8a981375a4d0236384c5ed247af804"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function projectLimitDetails (cyclomatic 22, cognitive 25): projectLimitDetails has cyclomatic complexity 22 and cognitive complexity 25; 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":"scripts/security/clawscan-diagnostic-skillspector.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff0710a703914e7ee7dfd4e14407d99a3b10320f692e637d1cc52d0bfa33b61f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseGitHubImportUrl (cyclomatic 22, cognitive 24): parseGitHubImportUrl has cyclomatic complexity 22 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":"convex/lib/githubImport.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ad9f93d7b1a194e4453f6f286b0662ee9890970250b6906c87d024343003734"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildPackagePluginCategoryDigestQuery (cyclomatic 22, cognitive 23): buildPackagePluginCategoryDigestQuery has cyclomatic complexity 22 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":"convex/packages.ts"},"region":{"startLine":1690}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dd7109429b9a66b2036514aba028638379495d7da4566413acfebc1af2d5edb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseSkillExportArchiveManifest (cyclomatic 22, cognitive 23): parseSkillExportArchiveManifest has cyclomatic complexity 22 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":"server/convexProxy.ts"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"0da1d24d057cb5b9f0c54bb2228f7eeb5e4442c78479c66656592214933ae992"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 23): (anonymous) has cyclomatic complexity 22 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/lib/useUnifiedSearch.ts"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"a06d528ae649510d36893d2993d1d10183a50599a66e2e2c4007a56f03248845"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 23): (anonymous) has cyclomatic complexity 22 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/routes/-settings.test.tsx"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f9b81e4a215a9750bf3830974b34065258002151ab601cc5ecd7dbc2a3a71ae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readSkill (cyclomatic 22, cognitive 22): readSkill has cyclomatic complexity 22 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 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":"convex/featuredArtifacts.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"18cc1d3ee996516f5d181f9fd36556fc37d37a4be121b964880c3a96909e75f7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 22): (anonymous) has cyclomatic complexity 22 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 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":"convex/search.ts"},"region":{"startLine":1284}}}],"partialFingerprints":{"codehealthFindingId/v1":"672ac7e8de2bbbb17457fe6422f4ac2c188ff74c4cbaa544a9bf975b56920f4a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArchiveMetricPayload (cyclomatic 22, cognitive 21): parseArchiveMetricPayload has cyclomatic complexity 22 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 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":"convex/downloads.ts"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"78ca48af3e71ed95057850c9d4fb43c02832f72f5d681aed302575abe46a73c2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildPackageReadiness (cyclomatic 22, cognitive 21): buildPackageReadiness has cyclomatic complexity 22 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 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":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":4598}}}],"partialFingerprints":{"codehealthFindingId/v1":"49299514fe112493b359886180856ceac78d7c1206dbb67aee9a674622446572"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 21): (anonymous) has cyclomatic complexity 22 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 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":"scripts/security/clawscan-decisions.test.ts"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"a25a0fe2f281bee2d99a38710779eb1198abd99d96d3fdecbf20b26277e6a1e2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildStaffVisibilityAlert (cyclomatic 22, cognitive 21): buildStaffVisibilityAlert has cyclomatic complexity 22 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 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/SkillDetailPage.tsx"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"aac5b63617b05134f29ee9f23d23af96a117d32f0d7e5ad8aedcc456c8931f2c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 20): (anonymous) has cyclomatic complexity 22 and cognitive complexity 20; 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":"convex/packageInspectorHttp.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a5abfafb0e3b76cb44bb09accaa6e6575da2c0ba4da7f337a01dde54cb4fb23"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 20): (anonymous) has cyclomatic complexity 22 and cognitive complexity 20; 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":"convex/packageInspectorHttp.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"9163d63638c58dec3ecb6125b03a2fd7cedcca7b4c07d221c289e13d27490442"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 22, cognitive 20): handler has cyclomatic complexity 22 and cognitive complexity 20; 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":"convex/securityScan.ts"},"region":{"startLine":1465}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3b755a6d451483e29f301b12a7c3c42d442595db39024d71cdfa451d7af9191"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function proxyConvexRequest (cyclomatic 22, cognitive 20): proxyConvexRequest has cyclomatic complexity 22 and cognitive complexity 20; 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":"server/convexProxy.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"5497926b0018a82f26cd117a55d4a61eb420ff17dd0213433af54ca8576881a8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function replacePackageSdkUsage (cyclomatic 22, cognitive 19): replacePackageSdkUsage has cyclomatic complexity 22 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":"convex/lib/packageSdkUsage.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"51afcac98c3c1884715b8e8f3b073649d02184e4234fca1a0514b3d04f5ed1a1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 15): (anonymous) has cyclomatic complexity 22 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":"scripts/ci-test-observations.mjs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1564138a03485e20e0a7c3ce2bc2c49e8f6ed42383e12be155cca45ec0b0031"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isCanonicalTrendingItem (cyclomatic 22, cognitive 14): isCanonicalTrendingItem has cyclomatic complexity 22 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/trendingApi.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"73215911854e3365c62e828f3cba5a931d3f4b3d4d7d90c7e24f5690a5d3bbc9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readSkillOrigin (cyclomatic 21, cognitive 34): readSkillOrigin has cyclomatic complexity 21 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/skills.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cd294deff36b529237c083d41ba98546cc75e4f857901b224ad5415a3c211c9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseFrontmatterLevelDeclarations (cyclomatic 21, cognitive 27): parseFrontmatterLevelDeclarations has cyclomatic complexity 21 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":"convex/lib/skills/index.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9c72b8494cb398fcbc9c87301c37ef26ba04186686724f5543fba756b460130"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function summarizeImpact (cyclomatic 21, cognitive 27): summarizeImpact has cyclomatic complexity 21 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":"scripts/package-inspector-nightly-scan.ts"},"region":{"startLine":1126}}}],"partialFingerprints":{"codehealthFindingId/v1":"608fade0b587986b8815f5fb8e9ae0c21c1a613f6c74388a80f563e24b89c86a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseForm (cyclomatic 21, cognitive 26): parseForm 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/routes/-management/PromotionsPage.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1eb6488c5d9f8fb60f052b8129fc94cc494caef65183af600c3437feccc15df"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function repairLegacyPublisherOwnershipForUserHandler (cyclomatic 21, cognitive 25): repairLegacyPublisherOwnershipForUserHandler has cyclomatic complexity 21 and cognitive complexity 25; 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":"convex/maintenance.ts"},"region":{"startLine":4044}}}],"partialFingerprints":{"codehealthFindingId/v1":"151cfc6af7234e18f3239ac395ecc539ab0f26f5c54a9ffb28ed17a6042fc4cf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 24): (anonymous) has cyclomatic complexity 21 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":"convex/githubSkillSync.test.ts"},"region":{"startLine":1567}}}],"partialFingerprints":{"codehealthFindingId/v1":"a30667939d768010333bc6e45dc8e9a4307c8c43d8d310b78567a95759f5d1db"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 22): (anonymous) has cyclomatic complexity 21 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 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":"convex/lib/canonicalSkillSearchResponse.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"af3fecadbfa5ff9988a64583dc83a75e294501ed61df4e7e02d0a7b256ea2bd6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function packageMatchesListFilters (cyclomatic 21, cognitive 21): packageMatchesListFilters 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":"convex/lib/packageCatalogRead.ts"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c9abc994414e543baf034e48ff9628bf969a750d9daca460524ca4d7007f755"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 20): (anonymous) has cyclomatic complexity 21 and cognitive complexity 20; 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":"convex/publishers.test.ts"},"region":{"startLine":5211}}}],"partialFingerprints":{"codehealthFindingId/v1":"70e2c7d56f23c9537e80691a611558e0c6f4bbb05ae40b5fd47c2252bd17bc86"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 20): (anonymous) has cyclomatic complexity 21 and cognitive complexity 20; 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":"scripts/security/run-codex-scan-worker-clawscan.test.ts"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"549c075ee178d9130840d9ba7903d72b7367f840a2b964ae6bf0bd0b1ef01e46"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 20): (anonymous) has cyclomatic complexity 21 and cognitive complexity 20; 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":"scripts/security/run-prepublication-worker.test.ts"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"334811b15f89788eddfdfefbf586f5a6932953690c87bb213aee4721cc400ffe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function FeaturedEditorial (cyclomatic 21, cognitive 19): FeaturedEditorial 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/routes/-management/FeaturedEditorial.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbcdda8ca9ea8dd592cce157a73f3bcda4ee1bf3e6203ffe7eb7ada361f15acc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 18): (anonymous) has cyclomatic complexity 21 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":"scripts/lib/runWorkerCommand.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"4999b047203f0e9010c7d65de60622b31e94357d3d13d6d2259c355fa8a350c9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertReviewed (cyclomatic 21, cognitive 18): assertReviewed has cyclomatic complexity 21 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":"scripts/plugin-category-operator.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"4463634c3845ae867fd1c1180a7247aea001df52842dc7d14484cb64de573dcd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SkillCard (cyclomatic 21, cognitive 18): SkillCard has cyclomatic complexity 21 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/SkillCard.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cf0e951873d14aad6eeabfff01b437d420ee59b2f4d956bc6452f068cefdde8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getOrStartScheduledTemporalScanInternalHandler (cyclomatic 21, cognitive 17): getOrStartScheduledTemporalScanInternalHandler has cyclomatic complexity 21 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 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":"convex/publisherAbuseTemporalScan.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"d58807780e850a9fd42dd74fee86757caed8349f13120b40c4509559d12469f2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getArchiveScanBySkillAndContentHashHandler (cyclomatic 21, cognitive 14): getArchiveScanBySkillAndContentHashHandler 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":"convex/githubSkillSync.ts"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"129398f6f1ec92876b45b1cf84c1a8cd52159c928aa1322d465de8df058d4b19"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertOperationalPackageRetryFinalization (cyclomatic 21, cognitive 12): assertOperationalPackageRetryFinalization has cyclomatic complexity 21 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":"convex/lib/publishAttemptOperationalRecovery.ts"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"323b99cd3cfe893622c4a2654b51f449398e8a0ad216f66fc75e268f9fac0c0c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 12): (anonymous) has cyclomatic complexity 21 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":"server/routes/ops/skills-sh/mirror-test.post.ts"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3972490f831a9d398cd442b58317c89299ab78d99aa10cfaeb2df5740aba64a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function repairSkillLineageCyclesInternalHandler (cyclomatic 20, cognitive 45): repairSkillLineageCyclesInternalHandler has cyclomatic complexity 20 and cognitive complexity 45; 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":"convex/maintenance.ts"},"region":{"startLine":3613}}}],"partialFingerprints":{"codehealthFindingId/v1":"9445ea95b16d6db14abdb1bc08790249e6d4c51aac8dfbd2768a4b4dcefb1379"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function backfillSkillBadgeTableInternalHandler (cyclomatic 20, cognitive 37): backfillSkillBadgeTableInternalHandler has cyclomatic complexity 20 and cognitive complexity 37; 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":"convex/maintenance.ts"},"region":{"startLine":2293}}}],"partialFingerprints":{"codehealthFindingId/v1":"910a1045e700bd588f995f5bfb28b137dd6acd37cb6e304ab32b2ef28741b0dd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 20, cognitive 34): handler has cyclomatic complexity 20 and cognitive complexity 34; 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":"convex/devSeed.ts"},"region":{"startLine":1585}}}],"partialFingerprints":{"codehealthFindingId/v1":"07f051af7ad2ec2a13f5da9b2bfa8d8515eee49df5f53b4dc33ff893c211ad67"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function storeArtifactFiles (cyclomatic 20, cognitive 32): storeArtifactFiles has cyclomatic complexity 20 and cognitive complexity 32; 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":"convex/httpApiV1/skillsShCatalogV1.ts"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"137891f17c62be4fe54ddce34646e1eb507de21b2d90fb030b106624b969ddfb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cancelAttempt (cyclomatic 20, cognitive 32): cancelAttempt has cyclomatic complexity 20 and cognitive complexity 32; 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":"convex/skillsShCatalog.ts"},"region":{"startLine":2952}}}],"partialFingerprints":{"codehealthFindingId/v1":"f13b198755052ca21fe2ed5541f8a5e00ff27cc909d8081231012c4307d6c4ab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cmdPackageModerationQueue (cyclomatic 20, cognitive 32): cmdPackageModerationQueue has cyclomatic complexity 20 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/packages.ts"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"9930289d71447e822ed37d5ad93f47fd2d5e7348d57ddcebffe749bcd298ac28"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recommendFeatured (cyclomatic 20, cognitive 29): recommendFeatured has cyclomatic complexity 20 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive 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":"convex/lib/featuredIntelligence.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"750ca1de4dabb5111efac7896e110277c24c6556882935da720a95f51410c5a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 20, cognitive 29): handler has cyclomatic complexity 20 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive 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":"convex/skills.ts"},"region":{"startLine":8449}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcce47d8105e5a86e10c09783429ce5ee468ea0205b7a162e7982e6e7aec7816"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseSecurityVerdictItems (cyclomatic 20, cognitive 27): parseSecurityVerdictItems has cyclomatic complexity 20 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":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"64aacce3b6149b2e8bcaa1f3e2d1bfdfb5b7d9a8b12cd69865919fe2e790ed32"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 20, cognitive 27): handler has cyclomatic complexity 20 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":"convex/packages.ts"},"region":{"startLine":4986}}}],"partialFingerprints":{"codehealthFindingId/v1":"c28f1c50dbebc3da38de632c80dabacbed50f85f415f8671f8339239aca6efa5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 26): (anonymous) has cyclomatic complexity 20 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":"convex/featuredArtifacts.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"189657d042ff90023fe196692c94e735b37a76022b8b12473074586503138634"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 20, cognitive 25): handler has cyclomatic complexity 20 and cognitive complexity 25; 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":"convex/packages.ts"},"region":{"startLine":11934}}}],"partialFingerprints":{"codehealthFindingId/v1":"e69a466097197dc4294eb270ecbf7d0e87472deacfbed40359bb33cab51891c1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function digestMatchesFilters (cyclomatic 20, cognitive 24): digestMatchesFilters 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":"convex/lib/packageCatalogRead.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"607e048e0e9025cd438f82a01fa7ef2566dfb333b194cd2936a46b12596aff27"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 23): (anonymous) has cyclomatic complexity 20 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":"convex/maintenance.ts"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"2444809bbcf908047925af865914754a9f03c77291db449b1b8ee5391e1b930b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function requestSkillRescanForActor (cyclomatic 20, cognitive 23): requestSkillRescanForActor has cyclomatic complexity 20 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":"convex/securityScan.ts"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d19787b17fc514de06b7b4c1081fe3d00cf93af602c30c5cb5afbf28bce5e86"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function revokeSkillVersionForUser (cyclomatic 20, cognitive 22): revokeSkillVersionForUser has cyclomatic complexity 20 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 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":"convex/skills.ts"},"region":{"startLine":8022}}}],"partialFingerprints":{"codehealthFindingId/v1":"33aa24e188e3f4549eafd3c6873ef4c0974e72848c66ab74b6b9f72132e55269"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 20, cognitive 21): handler has cyclomatic complexity 20 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":"convex/skills.ts"},"region":{"startLine":6894}}}],"partialFingerprints":{"codehealthFindingId/v1":"02328af28283831b0943ba207d1f88c67595ef055062c93279f8bb85eac6f6d2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function provePreviewAnalytics (cyclomatic 20, cognitive 21): provePreviewAnalytics has cyclomatic complexity 20 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":"scripts/lib/previewAnalyticsProof.ts"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"36077132227efef4cb17addc34d7813dc0c6720f4139dd9d9c1c81d6297c3669"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 20, cognitive 20): handler has cyclomatic complexity 20 and cognitive complexity 20; 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":"convex/packages.ts"},"region":{"startLine":7498}}}],"partialFingerprints":{"codehealthFindingId/v1":"41508a180e396c72cf7d8cdb7844d508915d4c7aff4fb8f60833ae371bfc32a5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 20, cognitive 20): handler has cyclomatic complexity 20 and cognitive complexity 20; 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":"convex/packages.ts"},"region":{"startLine":10574}}}],"partialFingerprints":{"codehealthFindingId/v1":"a79a348065a42f479461e668fdf46b43d1bea4e154b91e0117da24a53a43f53b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 20): (anonymous) has cyclomatic complexity 20 and cognitive complexity 20; 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":"scripts/security/clawscan-receipt.test.ts"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf9471f231934a5960ce47deb46c06a819d71939c585c20a0279b87978a8d413"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseMultipartPublish (cyclomatic 20, cognitive 19): parseMultipartPublish has cyclomatic complexity 20 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":"convex/httpApiV1/shared.ts"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"610fbcf73b874eae72ef5c0eead72c4944458433561c7c5e49cf2afa896c4c4d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recordPackageInspectorScan (cyclomatic 20, cognitive 19): recordPackageInspectorScan has cyclomatic complexity 20 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":"convex/lib/packageSdkUsage.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"3db70601a4951442ff3feba52962e189f772882c1bb57cf4635a366e7f6efd86"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolvePackageReleaseScanStatus (cyclomatic 20, cognitive 19): resolvePackageReleaseScanStatus has cyclomatic complexity 20 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":"convex/lib/packageSecurity.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee39cdc23f93343206d894f244a240e728480408d648e212d25305d6e6a8e4de"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadNotificationManifest (cyclomatic 20, cognitive 19): loadNotificationManifest has cyclomatic complexity 20 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":"scripts/package-inspector-nightly-scan.ts"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"c720982d84110387a58b5e5a868fc241da71a82c95b398100e626054ada1f28a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 19): (anonymous) has cyclomatic complexity 20 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/components/HomeListingSection.tsx"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4c019c5bad955a4596ff611a44a98daffb97f3d059477e8bca0a5452b2a3348"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SkillSpectorSection (cyclomatic 20, cognitive 19): SkillSpectorSection has cyclomatic complexity 20 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/components/SecurityAuditPage.tsx"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"f62f18cdf290167ebbea39ef698c509b6e8ce6bd5afc4bd3bbe94bb992f0bf94"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toPublicPackage (cyclomatic 20, cognitive 18): toPublicPackage has cyclomatic complexity 20 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":"convex/packages.ts"},"region":{"startLine":939}}}],"partialFingerprints":{"codehealthFindingId/v1":"6115719ae25c61ef5272f51a9a59e196c3e6be40e13fd6728d3528d2d7ac4108"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 20, cognitive 18): handler has cyclomatic complexity 20 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":"convex/pluginCategoryRefresh.ts"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d2d62737bbcec8e42d63ba818048975b72870125ede4079ba595f753604a30"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 20, cognitive 18): main has cyclomatic complexity 20 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":"scripts/run-playwright-local-auth.ts"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca77b27bed544796bc61ea0687d047db6d0b84c601e210450a58dccde2f8cd22"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 18): (anonymous) has cyclomatic complexity 20 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/routes/skills/-useSkillsBrowseModel.ts"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3d009ea61f49a643303a7b9c7bb4345a5ef846126c6da73f575ba58c33009ff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifySkillTemporalAbuseScore (cyclomatic 20, cognitive 17): classifySkillTemporalAbuseScore has cyclomatic complexity 20 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 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":"convex/lib/publisherAbuseScoring.ts"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1056c09143c73acd5decb0a7e616b6641fb487355c2317a10255724c59b3596"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeReportRequest (cyclomatic 20, cognitive 17): normalizeReportRequest has cyclomatic complexity 20 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 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":"convex/lib/searchReportContract.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9a1b8910efbac83485d7674a30285b3d3ebb1047bc931bb908ee33179fcd276"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildNativeCanonicalResult (cyclomatic 20, cognitive 17): buildNativeCanonicalResult has cyclomatic complexity 20 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 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":"convex/search.ts"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1f1044f562f4015e95d578c0d28890cbaf633f4cb43dc5dd4ec4b0e8c9ccdc2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 20, cognitive 16): handler has cyclomatic complexity 20 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":"convex/skills.ts"},"region":{"startLine":2795}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb391aa5a0bfcc686a8361cf57290276086e57375b32a3fe92d7a13617c63532"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateDigest (cyclomatic 20, cognitive 16): validateDigest has cyclomatic complexity 20 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":"scripts/skills-sh-catalog/prove-mirror-test.ts"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef962e8a02cd019f3aa68f86def32948e05c6673e821d5f400430dc0433df7e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getSelfDeletedAccountEligibility (cyclomatic 20, cognitive 15): getSelfDeletedAccountEligibility has cyclomatic complexity 20 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":"convex/users.ts"},"region":{"startLine":1200}}}],"partialFingerprints":{"codehealthFindingId/v1":"12e8cb10d868b0de54a2e8b667e27234559c44d689659bbd890c22c44380c697"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 20, cognitive 14): handler has cyclomatic complexity 20 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":"convex/publishAttempts.ts"},"region":{"startLine":1316}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ed159ac95ee7588d17e6096f69a3be4c568193351d9b634f90fa47f1473ecbd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseListSort (cyclomatic 20, cognitive 13): parseListSort has cyclomatic complexity 20 and cognitive complexity 13; 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":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":1401}}}],"partialFingerprints":{"codehealthFindingId/v1":"927d12a3286256c24fe72a0f5e1e61497a0f6f0502adcc4d5d82248c9e8053f5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildCanonicalCatalogMetadataPatch (cyclomatic 20, cognitive 9): buildCanonicalCatalogMetadataPatch has cyclomatic complexity 20 and cognitive complexity 9; 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":"convex/migrations.ts"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb3a7bc89ed77c7fc62f87b6cd8167c9a788597153ffae10510d19422eeb7970"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function publishSkillVersion (cyclomatic 19, cognitive 33): publishSkillVersion has cyclomatic complexity 19 and cognitive complexity 33; 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":"e2e/local-auth/helpers.ts"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d760f94a73d7cb0fb1e7f6f1e4374977c2285804c493831328674a5cbb3f945"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function nominateEmptySkillSpammersInternalHandler (cyclomatic 19, cognitive 32): nominateEmptySkillSpammersInternalHandler has cyclomatic complexity 19 and cognitive complexity 32; 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":"convex/maintenance.ts"},"region":{"startLine":2804}}}],"partialFingerprints":{"codehealthFindingId/v1":"efc60d0936addd8a257b01157b51179d660a554e493c613e174a979504a2b649"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseTarEntries (cyclomatic 19, cognitive 32): parseTarEntries has cyclomatic complexity 19 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/clawpack.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e9b7aad03da86011ee54a4151bff7204b5c082879607f254a9fa404b657f633"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function waitForPackagePublication (cyclomatic 19, cognitive 30): waitForPackagePublication has cyclomatic complexity 19 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/packages.ts"},"region":{"startLine":1248}}}],"partialFingerprints":{"codehealthFindingId/v1":"2562200ee1caaf30bf53f7dba8806527e0798bbf4016f44ec6d9f770f97dd7e8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findFirstTopLevelOperand (cyclomatic 19, cognitive 28): findFirstTopLevelOperand has cyclomatic complexity 19 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc742ba35bc3a559886c635209ec9a48d6daf0d048a4deaa5c2c6d120abd6954"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 19, cognitive 26): handler has cyclomatic complexity 19 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":"convex/skills.ts"},"region":{"startLine":2677}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c5958a0faa3c00abfae7832a06fe33d66dc715e2f661099a4c858b37064b587"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 19, cognitive 26): handler has cyclomatic complexity 19 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":"convex/skills.ts"},"region":{"startLine":5436}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e0ed537cc49beec6ebfab0aaadeb72b84a843bb34b7059911b6d85459e97b0d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function skillScanGetRouterV1Handler (cyclomatic 19, cognitive 24): skillScanGetRouterV1Handler has cyclomatic complexity 19 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":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":1200}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e6e9123f71c66db69a8959124ed180389c41ea9143d10e2ac7dd45fd89f8d31"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function listStablePackageDiscoveryPage (cyclomatic 19, cognitive 23): listStablePackageDiscoveryPage has cyclomatic complexity 19 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":"convex/packages.ts"},"region":{"startLine":3818}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eeac69a396ac894630d18c7e23727b94cc607f0dcc25dfd39613db475af7c93"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readCoverageRoster (cyclomatic 19, cognitive 23): readCoverageRoster has cyclomatic complexity 19 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":"scripts/package-inspector-nightly-scan.ts"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c6902d26b331298151951bc252c3cf4bd2abb4f0f04f5d214f2f7ebf1bcce27"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function syncGitHubSkillSourcesHandler (cyclomatic 19, cognitive 22): syncGitHubSkillSourcesHandler has cyclomatic complexity 19 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 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":"convex/githubSkillSync.ts"},"region":{"startLine":2842}}}],"partialFingerprints":{"codehealthFindingId/v1":"054c4a47e0c5c42533a1647e4f0f31a4d2954b674f093126b89dc83bcd6e7ad9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateSkillTagsForActor (cyclomatic 19, cognitive 22): updateSkillTagsForActor has cyclomatic complexity 19 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 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":"convex/skills.ts"},"region":{"startLine":8526}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4bfe0e424a266de2d70b7e8da06442d581751f5556b2f0db623948ae91ef2d0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 19, cognitive 22): handler has cyclomatic complexity 19 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 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":"convex/skillsShMirrorVisibility.ts"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"f37ddb59d799a6f3b32da3cbe454bae13445f626f73a552a20231e63af896d83"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 19, cognitive 21): handler has cyclomatic complexity 19 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":"convex/publishers.ts"},"region":{"startLine":4316}}}],"partialFingerprints":{"codehealthFindingId/v1":"123cd8a13c730a9edb188f65721e3a194130ff409b8855fac8e994d8c126ee98"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 19, cognitive 20): handler has cyclomatic complexity 19 and cognitive complexity 20; 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":"convex/skills.ts"},"region":{"startLine":3087}}}],"partialFingerprints":{"codehealthFindingId/v1":"b624ed101360e68d1de2b02537c12c0903f750ecc6a97329cbfd91e6441a1712"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchPublicGitHubRepoMetadata (cyclomatic 19, cognitive 19): fetchPublicGitHubRepoMetadata has cyclomatic complexity 19 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":"convex/githubSkillSync.ts"},"region":{"startLine":3130}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a283154a6824a15a745f194a4c4a22bcfadf11e51ebe31e29f856968dc08d2c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 19, cognitive 19): handler has cyclomatic complexity 19 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":"convex/packages.ts"},"region":{"startLine":6032}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0945e6335c5f122bfd76c9762836208c5b9950043a972db93dd500c8b394c79"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 19, cognitive 19): handler has cyclomatic complexity 19 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":"convex/skills.ts"},"region":{"startLine":4100}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eaffa48cabbcc5036b086e08d0894d7fde08a55443207dfe94226c898ecbd37"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function repointPackageLatestRelease (cyclomatic 19, cognitive 18): repointPackageLatestRelease has cyclomatic complexity 19 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":"convex/functions.ts"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"f163fe6f1b61371c6e3f07a575368d9e5fbb627e35d035f361f2077bc91b8ef4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleTransferRequest (cyclomatic 19, cognitive 18): handleTransferRequest has cyclomatic complexity 19 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":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":2736}}}],"partialFingerprints":{"codehealthFindingId/v1":"35fd5c926e7e0e7221181e16f434c866360195334eb4641c18a704547424af98"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function evaluateQuality (cyclomatic 19, cognitive 18): evaluateQuality has cyclomatic complexity 19 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":"convex/lib/skillQuality.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"27f9c77c6ae163cf656f5f0d6a24e01af51c819bd05ac1b4358ae0beaf3da4d1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getVerifiedClientIp (cyclomatic 19, cognitive 18): getVerifiedClientIp has cyclomatic complexity 19 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":"convex/lib/verifiedClientIp.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"2773d8101352950551e1e327f8ab4d0ed3186d7116e50669e590d021a8910e3e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildPackageTopicDigestQuery (cyclomatic 19, cognitive 18): buildPackageTopicDigestQuery has cyclomatic complexity 19 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":"convex/packages.ts"},"region":{"startLine":1793}}}],"partialFingerprints":{"codehealthFindingId/v1":"30392f3d67732a0a5c529facb334238e46a76828da178dfe6c0d98f120de45b7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 19, cognitive 18): handler has cyclomatic complexity 19 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":"convex/skills.ts"},"region":{"startLine":9840}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ce6da95bf6fe79ed9231ec90c9ca9b9ad7c91eefb52778f5ac9390c393db8a1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PackageSourceChooser (cyclomatic 19, cognitive 18): PackageSourceChooser has cyclomatic complexity 19 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/PackageSourceChooser.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"2159eca6569badd2251d2e8e73e81a38ad530270b7b45a5a7c2ee763a6698560"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyMonacoTheme (cyclomatic 19, cognitive 18): applyMonacoTheme has cyclomatic complexity 19 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/SkillDiffCard.tsx"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"447102025109076b10b83742177834d709134f563369e56567f10350905eb72f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PluginValidationFindingCard (cyclomatic 19, cognitive 18): PluginValidationFindingCard has cyclomatic complexity 19 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/routes/plugins/$name.tsx"},"region":{"startLine":876}}}],"partialFingerprints":{"codehealthFindingId/v1":"28c5241dc345d84e195840e7b275a331a444ea60e4a672684d1f4dd1b2aefe23"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function listPluginExportFamilyPage (cyclomatic 19, cognitive 17): listPluginExportFamilyPage has cyclomatic complexity 19 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 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":"convex/packages.ts"},"region":{"startLine":3335}}}],"partialFingerprints":{"codehealthFindingId/v1":"c575ff6b92e770a748b164fc07323851dfc9e679686c7b7e09276b555a7464c3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 17): (anonymous) has cyclomatic complexity 19 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 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":"convex/publishers.test.ts"},"region":{"startLine":8404}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddc110e60020c193df697f247416c2b6ec5a3a1fedb781dedca2f971a6a18740"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readSkillVersionPublicationProgress (cyclomatic 19, cognitive 16): readSkillVersionPublicationProgress has cyclomatic complexity 19 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":"convex/lib/skillPublicationProgress.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"989f938558fd48492c58d7363f96386ee2337bda32fb011d2536e95200929892"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyPluginCategories (cyclomatic 19, cognitive 15): classifyPluginCategories has cyclomatic complexity 19 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":"convex/lib/pluginCategoryClassification.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"e431624df3bf71902cda1067063a65bcf99342e108cf1731a9ac55bca0720efb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareCatalogRetry (cyclomatic 19, cognitive 15): prepareCatalogRetry has cyclomatic complexity 19 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":"convex/securityScan.ts"},"region":{"startLine":3182}}}],"partialFingerprints":{"codehealthFindingId/v1":"9abbd7d63ec2e90cae855c26dfdf77677a7714abbb97a70d4f5d6bf5e47f4674"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 14): (anonymous) has cyclomatic complexity 19 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":"convex/search.ts"},"region":{"startLine":1541}}}],"partialFingerprints":{"codehealthFindingId/v1":"88b4a0ba6d025ec423212de9225fc7ebe71c028c6ff73c7da8aef499fa9d1fb5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function skillArtifactStatus (cyclomatic 19, cognitive 14): skillArtifactStatus has cyclomatic complexity 19 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/artifacts/artifactStatus.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"483eed9610bced034d8b15006b0891629258864aba9ad46e0fa4534e4e34da19"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getChangedPersonalPublisherFields (cyclomatic 19, cognitive 13): getChangedPersonalPublisherFields has cyclomatic complexity 19 and cognitive complexity 13; 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":"convex/lib/publishers.ts"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"37613dda970ab5799b25d265b70082f8bccff12e7cbae91837796054ba10d3ab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveExploreSort (cyclomatic 19, cognitive 12): resolveExploreSort has cyclomatic complexity 19 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":"packages/clawhub/src/cli/commands/skills.ts"},"region":{"startLine":1391}}}],"partialFingerprints":{"codehealthFindingId/v1":"00811c84bcb7e86fcba8ba2796cba8291888eabdaacbc340f95d8f687acf873e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isMergedExportManifestEntry (cyclomatic 19, cognitive 12): isMergedExportManifestEntry has cyclomatic complexity 19 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":"server/convexProxy.ts"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"7210497c24d7e25702448a44b8e2d1377ec84ca5c3f7107ee6583185938709c9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ensureRetainedCurrentGitHubSkillCandidate (cyclomatic 19, cognitive 11): ensureRetainedCurrentGitHubSkillCandidate has cyclomatic complexity 19 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":"convex/githubSkillSync.ts"},"region":{"startLine":1664}}}],"partialFingerprints":{"codehealthFindingId/v1":"24874a60127a4145e305d4cb2e739c6b25734ae0272b062fbc7d53435117744c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 19, cognitive 11): handler has cyclomatic complexity 19 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":"convex/skillPresentationBackfill.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0f38331c1c7734b9b90f4e7d6e5c4bfa2e589412ce3acf23eba29b37de313f4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateSkillsShCatalogGitHubOwnerProof (cyclomatic 19, cognitive 11): validateSkillsShCatalogGitHubOwnerProof has cyclomatic complexity 19 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":"server/skillsShCatalogSource.ts"},"region":{"startLine":2616}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eeceb48cdde061a34cb23d238959017f2a3f98d0325cc51cf0ba22d094d3081"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 19, cognitive 10): handler has cyclomatic complexity 19 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":"convex/skillsShCatalog.ts"},"region":{"startLine":2705}}}],"partialFingerprints":{"codehealthFindingId/v1":"6149fbe00dce776e8f3acf5981e81854028fb38adf740a8ae22152f78eb88abb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 36): (anonymous) has cyclomatic complexity 18 and cognitive complexity 36; 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":"e2e/local-auth/exact-template-artifact.pw.test.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"661c97cd4e886220d263e67f9ccc7e3e455105e9837262a02fbab6a5b5a2a4d6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 18, cognitive 32): handler has cyclomatic complexity 18 and cognitive complexity 32; 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":"convex/devSeedPackageTrending.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"a27016517d396a41707ae97db4e3b7a23486b6b276d9a5f9fd658d7a20d418b8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function listSkillTopicFilteredPage (cyclomatic 18, cognitive 31): listSkillTopicFilteredPage has cyclomatic complexity 18 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 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":"convex/skills.ts"},"region":{"startLine":5019}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e655d1f77f3a9847364274cbda1f94c6e14ca0eaaedfd1d0574f1c2a173fac3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function listCommunitySkillCategoryPage (cyclomatic 18, cognitive 31): listCommunitySkillCategoryPage has cyclomatic complexity 18 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 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":"convex/skills.ts"},"region":{"startLine":6420}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e68baa71696cd52a2c1d54c20ce92636328ae506b72f83f6df26fe8a527b10b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function backfillSkillFingerprintsInternalHandler (cyclomatic 18, cognitive 30): backfillSkillFingerprintsInternalHandler has cyclomatic complexity 18 and cognitive complexity 30; 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":"convex/maintenance.ts"},"region":{"startLine":1952}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fe1c0d065912c7521f73ceffe8237880cd867c3535cf74ae9c8670421aa9e32"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function clearDemoRows (cyclomatic 18, cognitive 30): clearDemoRows has cyclomatic complexity 18 and cognitive complexity 30; 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":"convex/publisherAbuseDevSeed.ts"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"64ce803fe1a24bd97dedbc4deedd05628dbbbef95b4236a92d3c891982055ee4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateEntries (cyclomatic 18, cognitive 29): validateEntries has cyclomatic complexity 18 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive 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":"scripts/staging-seed/validate-sanitized-snapshot.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"37d7a894d8d38f0a057924ba3c07f014b2188aee6ec502f9efdf5ca85a94c074"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deepEqual (cyclomatic 18, cognitive 28): deepEqual has cyclomatic complexity 18 and cognitive complexity 28; 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":"convex/lib/skillBackfill.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"28a857acf32f7b94d725fd186502b080ecdb5be825280cdfe715515ec687e16e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertFirstPageContract (cyclomatic 18, cognitive 28): assertFirstPageContract has cyclomatic complexity 18 and cognitive complexity 28; 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":"scripts/canonical-trending/proof-contract.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"188221c7b00d6eeef06288e7fc5836db6dbff1562e82e08dd6f5046c5f4c4d2d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 18, cognitive 27): handler has cyclomatic complexity 18 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":"convex/publishers.ts"},"region":{"startLine":2726}}}],"partialFingerprints":{"codehealthFindingId/v1":"527f525982a1fa4875a27ad8a05e7f06cc339e84ec02948de3b1d6016d5b59a2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 26): (anonymous) has cyclomatic complexity 18 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":"convex/featuredSkills.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ec4b8492d6a697930626afa8ba4072574a746e59236910ac6c344884b13c35f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getPublisherAbuseOwnerSynchronyCandidateInternalHandler (cyclomatic 18, cognitive 26): getPublisherAbuseOwnerSynchronyCandidateInternalHandler has cyclomatic complexity 18 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":"convex/publisherAbuseOwnerSynchrony.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9574d930b297e865cba01095d2bf6c61438e7d7c5255ed79b655e93d82df9ae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function takeReadySourceJobs (cyclomatic 18, cognitive 26): takeReadySourceJobs has cyclomatic complexity 18 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":"convex/securityScan.ts"},"region":{"startLine":2880}}}],"partialFingerprints":{"codehealthFindingId/v1":"77905523d4d9fe80b0f08817c0a064b4e924fb7ed0871a4f49ec07c54834c9cd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function packagesDeleteRouterV1Handler (cyclomatic 18, cognitive 25): packagesDeleteRouterV1Handler has cyclomatic complexity 18 and cognitive complexity 25; 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":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":3321}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c20db071b7b10c93bb6557fa420c13db2f890e569f95d406f5720e2d47e030"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runScheduledTemporalPublisherAbuseScanInternalHandler (cyclomatic 18, cognitive 25): runScheduledTemporalPublisherAbuseScanInternalHandler has cyclomatic complexity 18 and cognitive complexity 25; 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":"convex/publisherAbuseTemporalScan.ts"},"region":{"startLine":1061}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a40082f0bf9e65bcca8b080620a53fde97a33f951a4e8039a50ba2136aa69f8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 18, cognitive 25): handler has cyclomatic complexity 18 and cognitive complexity 25; 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":"convex/securityScan.ts"},"region":{"startLine":3356}}}],"partialFingerprints":{"codehealthFindingId/v1":"77e4b0e7b0dfa0246cacbbf535439649aaa9ee6d36e37e03c13869650937961a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pollForDeviceToken (cyclomatic 18, cognitive 24): pollForDeviceToken has cyclomatic complexity 18 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":"packages/clawhub/src/deviceAuth.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"30aefd3812e5f994fac4dddc03ca910283ceac818f18e644253b9898ef90b8a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildSkillsShMirrorUpstreamScanners (cyclomatic 18, cognitive 24): buildSkillsShMirrorUpstreamScanners has cyclomatic complexity 18 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":"server/skillsShCatalogSource.ts"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c281ce9ff3f651b6dc4e91e5c0db76f3d133899d784e4c49b50d0994648af0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 18, cognitive 23): main has cyclomatic complexity 18 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":"scripts/ranking-metrics/export-prod-ranking-metrics.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b53207db34b578f5e9980681c626f500b87d96cd65e423f5e8a9cab86004c91"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleAdminReserve (cyclomatic 18, cognitive 22): handleAdminReserve has cyclomatic complexity 18 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 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":"convex/httpApiV1/usersV1.ts"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a83f51f7d5557945024a92c2d65969021509300857447cac2f214f1e4bd18de"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifySuspiciousPublishAttemptPublicState (cyclomatic 18, cognitive 22): classifySuspiciousPublishAttemptPublicState has cyclomatic complexity 18 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 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":"convex/migrations.ts"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b77e00aec59462fac54defba8104278c5e7ddfe32ca875d9520a5f4e0ecc9ab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 18, cognitive 22): handler has cyclomatic complexity 18 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 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":"convex/skills.ts"},"region":{"startLine":10243}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf48c13d6123afcc9e642e87af5bee0a5a490ba7d05cce7743cf0799db45cf50"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function storedAnalysisFromClawScanArtifact (cyclomatic 18, cognitive 22): storedAnalysisFromClawScanArtifact has cyclomatic complexity 18 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 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":"scripts/security/run-prepublication-worker.ts"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"034e9106d249d7625ee15115866da7e7822de59ca379ef817a30dc68449cb0fe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 21): (anonymous) has cyclomatic complexity 18 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":"convex/githubImport.runtime.test.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"025951b45d0201eee87224195e6250aea13eb15154afca553d90fa1e479469be"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scoreUser (cyclomatic 18, cognitive 20): scoreUser has cyclomatic complexity 18 and cognitive complexity 20; 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":"convex/lib/userSearch.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8d5bd6349a82422aa6398a8d1a20d8de2cbadee3b9bb6d5479411efa9f43cf5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function promotionsPostRouterV1Handler (cyclomatic 18, cognitive 19): promotionsPostRouterV1Handler 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":"convex/httpApiV1/promotionsV1.ts"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7bc17b5e594e2d31a86fbad0e28212df690cdc59614a8e8f6e60284a6fae889"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 19): (anonymous) 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":"convex/publishers.test.ts"},"region":{"startLine":2884}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0e36d6f11c15735bd786243cc82dd7dc9e8ac798c05d20c23c2eb27e34b1708"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 18, cognitive 19): parseArgs 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":"scripts/github/clawhub-rescan-auto-response.mjs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"42445161029b1ca5dff87a8d9d4e7c08d2aed544bdda280111e31f6bbce47858"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recoverPackagePublishAttemptV1Handler (cyclomatic 18, cognitive 18): recoverPackagePublishAttemptV1Handler has cyclomatic complexity 18 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":"convex/httpApiV1/packagePublishRecoveryV1.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a12901a8634d970d0196d46fdacd97ced3ee27876c28c35f0676c3efeff9577"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 18, cognitive 18): handler has cyclomatic complexity 18 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":"convex/skills.ts"},"region":{"startLine":2485}}}],"partialFingerprints":{"codehealthFindingId/v1":"eec5cf28cc6c72a810c5384f7e5ca190032e1f06ccd0625e61f1bbac9750d9e7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyUserBan (cyclomatic 18, cognitive 18): applyUserBan has cyclomatic complexity 18 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":"convex/users.ts"},"region":{"startLine":1783}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b5cad08b1928f43e02d2cc92bab9ae7f39434785bfc9a0e2c784e2d092c1220"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readCurrentTestMetadata (cyclomatic 18, cognitive 18): readCurrentTestMetadata has cyclomatic complexity 18 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":"scripts/ranking-metrics/import-test-ranking-metrics.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"aec64aad59b76c5e53202dd9ca515a7654be99717cfc3e654172c10936a2eebd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 18): (anonymous) has cyclomatic complexity 18 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/__tests__/skill-detail-page.test.tsx"},"region":{"startLine":2217}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b5c415062a6b21c2e0bfa3367aaae2bb1d7a57b063b56dbee8b2fe5d7abf95f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveDirectPackageSearchDigests (cyclomatic 18, cognitive 17): resolveDirectPackageSearchDigests has cyclomatic complexity 18 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 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":"convex/packages.ts"},"region":{"startLine":1475}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f96378ac593bbe56184f5079e23d52c9b2097d6fe62fe72cd2b6683d5adc6c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 17): (anonymous) has cyclomatic complexity 18 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 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":"convex/publishers.test.ts"},"region":{"startLine":2009}}}],"partialFingerprints":{"codehealthFindingId/v1":"501f7652a2458df13bee510a9b76666f26640b39bbd2b8b193869a79a22c6e30"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toPublisherListItem (cyclomatic 18, cognitive 17): toPublisherListItem has cyclomatic complexity 18 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 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":"convex/publishers.ts"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fe92b5a3615f16461fbbfe5d4522adfa934b144d6022770464a75529ba2c3fd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createHttpClient (cyclomatic 18, cognitive 17): createHttpClient has cyclomatic complexity 18 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/http.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c96f163f102661115529024af1ef9b15f61e426519b6b7c257fefa14328016b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cleanupConvexPreviews (cyclomatic 18, cognitive 17): cleanupConvexPreviews has cyclomatic complexity 18 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 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":"scripts/cleanup-convex-previews.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ad31fb8c13a1148ff96aab25da0f801bbd705fa214b396e3a5fb619b4d3c172"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DownloadsPage (cyclomatic 18, cognitive 17): DownloadsPage has cyclomatic complexity 18 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 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/routes/-management/DownloadsPage.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8656aaa5069b336aac2618d7f42a24d4af47c38e7a9f31bbf916a20eb279709"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 18, cognitive 16): handler 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":"convex/maintenance.ts"},"region":{"startLine":2995}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f9d63f7fcc6041eceea58482bc8a6cc34fe1ac4d20a0fa4d495c50babfd019a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconcileNativeSkill (cyclomatic 18, cognitive 15): reconcileNativeSkill 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":"convex/skillsShCatalog.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"406c310df68f17319499f3072384c587e514f64c9119c12851edc27c88baa94c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeAigFinding (cyclomatic 18, cognitive 15): normalizeAigFinding 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":"scripts/security/run-codex-scan-worker.ts"},"region":{"startLine":1315}}}],"partialFingerprints":{"codehealthFindingId/v1":"42a27daab5e45590abbd76ec36fd708e41bf817907ec14f5b26ef5a889c06c71"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveSkillPresentation (cyclomatic 18, cognitive 14): resolveSkillPresentation has cyclomatic complexity 18 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":"convex/lib/skillPresentation.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6123695c42d125e689da88f85db3f005f206c1f06527df290ccc3312c696b35"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 18, cognitive 14): main has cyclomatic complexity 18 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":"scripts/security/run-codex-scan-worker.ts"},"region":{"startLine":2994}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a6c4f2dfcf406b2f5de783797c6d52d65b4588ce89112f17eb9e73cfb3edae2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertStagingBuildEnv (cyclomatic 18, cognitive 14): assertStagingBuildEnv has cyclomatic complexity 18 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":"scripts/staging-build-env.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"31151deaa179b646d7ab8c6a9500166f2edf13bc197e798b44800bb2ddfd7581"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 18, cognitive 13): handler has cyclomatic complexity 18 and cognitive complexity 13; 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":"convex/securityScan.ts"},"region":{"startLine":1590}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c53ae9fb400dfcfacbf8b4bbb21723a457b0f50a6e01f90c4c36215c83073ef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 18, cognitive 13): handler has cyclomatic complexity 18 and cognitive complexity 13; 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":"convex/skills.ts"},"region":{"startLine":3967}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d9d9383f9543986c20b0ed838f0cfa6286e1d2f8ad238416ce3d07a041c4dbf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pushPackageAttention (cyclomatic 18, cognitive 13): pushPackageAttention has cyclomatic complexity 18 and cognitive complexity 13; 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/dashboard/dashboardAttention.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"313dc90030d668080afad244683e7b3e11240e79162f8e990b19f62ecc7b776b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 17, cognitive 39): handler has cyclomatic complexity 17 and cognitive complexity 39; 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":"convex/searchInsightsFixtures.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"ead2e2890859e897496179c018060b9e3393d2cfb36beccb30d3b58018577bd6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function advance (cyclomatic 17, cognitive 30): advance has cyclomatic complexity 17 and cognitive complexity 30; 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":"convex/lib/skillZip.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"a19a98ba50888b22198fbbe41e55f24d3dabb3e3ff4efe5b11b1797517b2b803"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 17, cognitive 27): handler has cyclomatic complexity 17 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":"convex/packages.ts"},"region":{"startLine":5941}}}],"partialFingerprints":{"codehealthFindingId/v1":"be5a913ddd6a446300500ea2913a4c109b974e9226adac01bfb3e59530f23b03"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectSkillPackageCatalogPage (cyclomatic 17, cognitive 27): collectSkillPackageCatalogPage has cyclomatic complexity 17 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":"convex/skills.ts"},"region":{"startLine":5676}}}],"partialFingerprints":{"codehealthFindingId/v1":"6266abbaf98048c4eff9fe07b43aaa998707943f797beb2e7758220b6273aaf8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 26): (anonymous) has cyclomatic complexity 17 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":"convex/pluginCategoryRefresh.ts"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"75d3437a9f89dbcf8757c732ff6e99ed6b3491ef8f204849091df04fd32b949e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 17, cognitive 26): handler has cyclomatic complexity 17 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":"convex/skillCards.ts"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e20eb03cb3b7cff4afd9e5fe51da20e33760e6e44afb776d28297a385caf3d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cmdSendStaffEmail (cyclomatic 17, cognitive 24): cmdSendStaffEmail has cyclomatic complexity 17 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":"packages/clawhub-admin/src/commands/email.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"107413a15c788776642e8446ac8ff0f665092b9aaae906832734fb857fe801f7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 17, cognitive 23): handler 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":"convex/devSeedDownloadAnalytics.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"35713ef31529c9356c87172459f50bc6d3c993fea6d773171e2f1a803e6c54d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findSource (cyclomatic 17, cognitive 23): findSource 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":"scripts/setup-worktree.ts"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"1529978b3ba9d5f6f5babb030f5c5f35962dc945777876268b7acd28fbbae9bc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sanitizeDerivedSnapshot (cyclomatic 17, cognitive 23): sanitizeDerivedSnapshot 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":"scripts/staging-seed/snapshotPolicy.ts"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"76474a18c9d98d720ae3afb81ef2a7f1ea3b65f3ad5cf0f35b819ae4ab664381"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseProofUiArgs (cyclomatic 17, cognitive 23): parseProofUiArgs 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":"scripts/ui-proof.mjs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"e62cf34cf09894b3c87c55b0f74df4464f07a4b971fdc931f454bc95d0ef9d6c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectPackageItem (cyclomatic 17, cognitive 22): inspectPackageItem has cyclomatic complexity 17 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 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":"scripts/package-inspector-nightly-scan.ts"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"d75c0fbdd46fd984ffd31ea2c0781bebe54d966dc0526b1e017df4819e605faa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 17, cognitive 21): handler has cyclomatic complexity 17 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":"convex/packages.ts"},"region":{"startLine":7727}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b065525601ce7dff0a81a76e3378fb0c2eb24f95cc521672f89ca9a434913e0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cssColor4ToHex (cyclomatic 17, cognitive 21): cssColor4ToHex has cyclomatic complexity 17 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/components/SkillDiffCard.tsx"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"980e08321915fd773c4ec8898f43b00d2701daa70b18cdd39c7d25fac7de505f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 20): (anonymous) has cyclomatic complexity 17 and cognitive complexity 20; 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":"convex/packages.ts"},"region":{"startLine":2762}}}],"partialFingerprints":{"codehealthFindingId/v1":"67cc3e5d9c72e49fabe08fb5b1ea4f1b08f12aab62e817fdaa7f8d8f88c07478"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 20): (anonymous) has cyclomatic complexity 17 and cognitive complexity 20; 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/homeListingData.ts"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"26d69d59743052bc58b7c7c6ad18f08a221b18371d4f557e028cf63161fec81b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveDefaultRouteRateLimit (cyclomatic 17, cognitive 19): resolveDefaultRouteRateLimit has cyclomatic complexity 17 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":"convex/lib/httpRouteRateLimit.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"770c6841a86a9251902a838f95e5900492accadc402d9a411a1f4f7031007a4f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 17, cognitive 19): handler has cyclomatic complexity 17 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":"convex/publishers.ts"},"region":{"startLine":2433}}}],"partialFingerprints":{"codehealthFindingId/v1":"97db58e022b90afba80fd8e44c00972b688c36ebd9aed217ce54ee867dfa595c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 19): (anonymous) has cyclomatic complexity 17 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/routes/import.tsx"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"679f003250b88dc8dd3a66c141d664e4e6193422762484ef05d5202d6611da38"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 18): (anonymous) has cyclomatic complexity 17 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":"convex/githubSkillSync.ts"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"21af5957c5c90769bd35e878c3ef878ce8b09219f6a1cab67cfbf68f4dc54bfc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 17, cognitive 18): handler has cyclomatic complexity 17 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":"convex/skills.ts"},"region":{"startLine":3191}}}],"partialFingerprints":{"codehealthFindingId/v1":"6269183fdfe585fed1ee235234bdd3da66ef06387a0c7cfd3dd1eb272edb8c8e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cmdValidatePackage (cyclomatic 17, cognitive 18): cmdValidatePackage has cyclomatic complexity 17 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":"packages/clawhub/src/cli/commands/packages.ts"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ce005e3048b9876b75c8351412aa705ab77f9523e108776600bcf5b04f5f99b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 17, cognitive 18): parseArgs has cyclomatic complexity 17 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":"scripts/ranking-metrics/export-prod-ranking-metrics.ts"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"f353010b714f385515514f4900076e4bbef1210e24b6534b9a0baeec8e685fe7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update (cyclomatic 17, cognitive 18): update has cyclomatic complexity 17 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/lib/googleAnalytics.ts"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"27ca9d185adcac867f8e9e48dedc68db7a7c2190e1e3a80a3cf24a7dac40c2b5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyGitHubSkillHandler (cyclomatic 17, cognitive 17): verifyGitHubSkillHandler has cyclomatic complexity 17 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":"convex/githubSkillSync.ts"},"region":{"startLine":2452}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc3fa986ae754418d5b0037e0b2da7ce1869700c9641ba767e0e1970627b3830"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 17): (anonymous) has cyclomatic complexity 17 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":"convex/httpApiV1.skillVisibility.test.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b3b75b46a51c44700861c1456090c6d2090167dc683fc6febc0f38cb3ebc6cb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 17, cognitive 17): handler has cyclomatic complexity 17 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":"convex/search.ts"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"50d8448a5fd6f43249b2291ba3b9fcc724fc4efa0b3df43f683f1ea143c57c1e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 17, cognitive 17): handler has cyclomatic complexity 17 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":"convex/skills.ts"},"region":{"startLine":2885}}}],"partialFingerprints":{"codehealthFindingId/v1":"19aae44015923541fc39faab6bdae905654c090ad46d99a5a683420b1495f02e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildPluginArtifact (cyclomatic 17, cognitive 17): buildPluginArtifact has cyclomatic complexity 17 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":"scripts/local-clawscan-dry-run.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe39f048fc47e51e51bf0d702dc4e749c66981f29192bf212860d87d30839185"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifySearchIntent (cyclomatic 17, cognitive 16): classifySearchIntent has cyclomatic complexity 17 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":"convex/lib/searchIntentClassifier.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1ea443b160d831a325a05f6fc61661b4889793addf25e34b9785eae6a38e63f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 17, cognitive 16): handler has cyclomatic complexity 17 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":"convex/packages.ts"},"region":{"startLine":2268}}}],"partialFingerprints":{"codehealthFindingId/v1":"12201de11553f463cd7ee98f691dfc23661f9efb7b382140004c25aa7782a0ce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveTrustedPublishSource (cyclomatic 17, cognitive 16): resolveTrustedPublishSource has cyclomatic complexity 17 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":"convex/packages.ts"},"region":{"startLine":7797}}}],"partialFingerprints":{"codehealthFindingId/v1":"51ee47a0cd5cfdd24cef90852b282eb8c34ec4e074dc2747ca1eebc8cc657a0b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 17, cognitive 16): handler has cyclomatic complexity 17 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":"convex/skills.ts"},"region":{"startLine":2127}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f7f698a678dc07977883d60d80ad624de92856488d6c77ac0bc698e45b50e30"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 17, cognitive 16): handler has cyclomatic complexity 17 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":"convex/skills.ts"},"region":{"startLine":6970}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9fdcbed4d3d20e31c9418b88cb56b00ea92a3a65a041b1eb8eb4b1b751ae801"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ensurePublisherHandleWithActor (cyclomatic 17, cognitive 16): ensurePublisherHandleWithActor has cyclomatic complexity 17 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":"convex/users.ts"},"region":{"startLine":2243}}}],"partialFingerprints":{"codehealthFindingId/v1":"55b06db8f1b0c54ad72b1ff2e67e6e0b7a44f29509c838d9944a59baed42623e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readSkillsShResolverMetadata (cyclomatic 17, cognitive 16): readSkillsShResolverMetadata has cyclomatic complexity 17 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":"packages/clawhub/src/cli/commands/skills.ts"},"region":{"startLine":1527}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce2a38b80be1f34cb70913d1dcdc66dc49ef6d2d7ba4583a3c7dc93610d261f4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CatalogMetadataFields (cyclomatic 17, cognitive 16): CatalogMetadataFields has cyclomatic complexity 17 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/CatalogMetadataFields.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"6297a4bc7d66ac7c906e20379201bcd3dbd2f9388255710e7a8c5adbd723280c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SecurityAuditPage (cyclomatic 17, cognitive 16): SecurityAuditPage has cyclomatic complexity 17 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/SecurityAuditPage.tsx"},"region":{"startLine":1114}}}],"partialFingerprints":{"codehealthFindingId/v1":"99c511252f4aa9eb2bba559100c1eeb676f13b31d2a93c6261fb2d8355766c32"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getPluginBrowseSnapshotKind (cyclomatic 17, cognitive 15): getPluginBrowseSnapshotKind has cyclomatic complexity 17 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":"convex/lib/pluginBrowseSnapshot.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"209ccccfe7693ed823253dbd8bb566bd795e07821e1eb312e8cfd9e0f38a95b8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifySkillMatch (cyclomatic 17, cognitive 15): classifySkillMatch has cyclomatic complexity 17 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":"convex/search.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ea6227ccff6624d69c410eb9f47b58d866aa651dda8a5b10233d951a553277d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function enqueuePackageReleaseScan (cyclomatic 17, cognitive 15): enqueuePackageReleaseScan has cyclomatic complexity 17 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":"convex/securityScan.ts"},"region":{"startLine":2654}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc539dfe1544a311e50fc05f9f4af3dd3b7f2b471bfb8d5e96fbe5fa244720d4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runLane (cyclomatic 17, cognitive 15): runLane has cyclomatic complexity 17 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":"scripts/ui-proof.mjs"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"e590a83e69fdac4495a1061e78252aec24ec0efc39e8f3e49c06a7773686f186"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyTemplateCategories (cyclomatic 17, cognitive 14): classifyTemplateCategories has cyclomatic complexity 17 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":"convex/lib/templateCategoryClassification.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"d751907d5c87f3897533172466b87b4e3e5c4c4ee89d0dfca11bc6f0670c9630"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildSource (cyclomatic 17, cognitive 14): buildSource has cyclomatic complexity 17 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":"packages/clawhub/src/cli/commands/packages.ts"},"region":{"startLine":3057}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb00095558f3ea42dfeda6c666d0b04ddeca9b63ffd93000ec2dd6c2b324603c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AigFindingCard (cyclomatic 17, cognitive 14): AigFindingCard has cyclomatic complexity 17 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/SecurityAuditPage.tsx"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2215b764af2728148abc56562b28294a384658cd814d33ee1a3ed4e8c588b3f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 14): (anonymous) has cyclomatic complexity 17 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/SkillVersionsPanel.tsx"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff56473cfbcb6a8aabee50bfa25f8937bd119d4fd3cac6ba864721742f85d292"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function derivePluginPrefill (cyclomatic 17, cognitive 14): derivePluginPrefill has cyclomatic complexity 17 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/pluginPublishPrefill.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a0ade48d4f593a6d1da9514b2156ad5ffe54e20b0711a247684b5bd66f1a3f4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decodePublicPageCursor (cyclomatic 17, cognitive 13): decodePublicPageCursor has cyclomatic complexity 17 and cognitive complexity 13; 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":"convex/lib/packagePageCursor.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca2317c26cf21dbe3b518ce67112144ab9576ba5869078f57a905d75b9afce96"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 13): (anonymous) has cyclomatic complexity 17 and cognitive complexity 13; 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":"convex/skills.ts"},"region":{"startLine":2614}}}],"partialFingerprints":{"codehealthFindingId/v1":"24627330cf3b5a80af843dac9ab29e5dc87cac0d06f02eff04b54d77efe24968"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveDigestLatestVersionForSkill (cyclomatic 17, cognitive 13): resolveDigestLatestVersionForSkill has cyclomatic complexity 17 and cognitive complexity 13; 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":"convex/skills.ts"},"region":{"startLine":5354}}}],"partialFingerprints":{"codehealthFindingId/v1":"29bd9f3a301c60cabd4c4c513feb2acb9e4f02dfe2bc909da5ef4046a926fc4f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildSkillStatPatch (cyclomatic 17, cognitive 13): buildSkillStatPatch has cyclomatic complexity 17 and cognitive complexity 13; 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":"convex/statsMaintenance.ts"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae41fae06337a8c5971b5ca844a8953981006e312cc9bb9f8291684386fe6295"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PluginVersionsPanel (cyclomatic 17, cognitive 13): PluginVersionsPanel has cyclomatic complexity 17 and cognitive complexity 13; 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/PluginVersionsPanel.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d65bb8afe8348ba4875a33f2db49a7949ba9834ca8f6d2f04ab2f324b009caf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseDeploymentMetadata (cyclomatic 17, cognitive 10): parseDeploymentMetadata has cyclomatic complexity 17 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":"scripts/lib/frontendBuildMetadata.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5434f0b3daf6ec696557eeb225cde605510f5ed5560f44985bc2aa510fdf4d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateExperimentRequest (cyclomatic 17, cognitive 10): validateExperimentRequest has cyclomatic complexity 17 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":"scripts/skills-sh-catalog/deploy-overlap-experiment.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"5833ee0360b0145e96cc131c8fbda3e80aae3ff512c3f1468c00d1abe650de45"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractMetadata (cyclomatic 16, cognitive 32): extractMetadata has cyclomatic complexity 16 and cognitive complexity 32; 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":"scripts/docs-list.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4ffed49cc2077a47538e867184eab90d5d54ec2c519ace0995cd24627c1361c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 16, cognitive 29): handler has cyclomatic complexity 16 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive 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":"convex/downloadAnalytics.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d1b3cbe9e30521ab241f5290b07861e1274048d20004d7fde0e139baff9995c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function backfillUserStatsInternalHandler (cyclomatic 16, cognitive 29): backfillUserStatsInternalHandler has cyclomatic complexity 16 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive 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":"convex/maintenance.ts"},"region":{"startLine":1152}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6eddcce36e47504bf23b6a32def871e689c12a418138fe046c575c85e0fc948"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateSource (cyclomatic 16, cognitive 29): validateSource has cyclomatic complexity 16 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive 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":"scripts/setup-worktree.ts"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"643126a259fbc09edc3e06b936cc804301c4fae1b0af28ef15f5e17afaec04e0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 16, cognitive 27): handler has cyclomatic complexity 16 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":"convex/publishAttempts.ts"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"22ee7bca55eddd5b7c8a2a1bb0a5a69dcd1ad1b66d90e805b47e7f33c4cbf4ec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateRealScanArtifacts (cyclomatic 16, cognitive 27): validateRealScanArtifacts has cyclomatic complexity 16 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":"convex/skillsShCatalog.ts"},"region":{"startLine":2852}}}],"partialFingerprints":{"codehealthFindingId/v1":"c92d689aca4dde5a83fb18d57310713ad66256e7b93038195006773dfa7a3b9a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchHomeSkillListing (cyclomatic 16, cognitive 27): fetchHomeSkillListing has cyclomatic complexity 16 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/lib/homeListingData.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"47b6a415e479574142d93fa640980aa6639d55a25a07217ade8e8d221710125d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 16, cognitive 26): handler has cyclomatic complexity 16 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":"convex/packages.ts"},"region":{"startLine":3625}}}],"partialFingerprints":{"codehealthFindingId/v1":"325c2b833c507fc04ce620a0122d4cd546f1483a44148d090b3f490ccb394cfa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractResponseText (cyclomatic 16, cognitive 25): extractResponseText has cyclomatic complexity 16 and cognitive complexity 25; 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":"convex/lib/openaiResponse.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c9017c0255e76b196b0852d4a98996053c41141ec9f410be287ec7502f79131"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 16, cognitive 24): main 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":"scripts/dev-workers.ts"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"a486caca118103b366cd2f0ab6ace81286a62ced622ea7add341193a3ce9cca3"}},{"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/routes/skills/-useSkillsBrowseModel.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"f204e4ebd7ec47ea31a4a9938e2eecc5712c39d8688eeaa69d64191758a257c6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readMonthlyAdoption (cyclomatic 16, cognitive 23): readMonthlyAdoption has cyclomatic complexity 16 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":"convex/featuredIntelligence.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"85f3094a90370d966c9f41bd5d0dff20a75244a6f526e5a8a8155c658688746e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function searchReportsV1Handler (cyclomatic 16, cognitive 23): searchReportsV1Handler has cyclomatic complexity 16 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":"convex/httpApiV1/searchReportsV1.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c525c4e3e499c0e573f2a7dc77e9f954c8b81744cdb2e75509b802345446571"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function takeVisiblePackageCategoryDigestPage (cyclomatic 16, cognitive 22): takeVisiblePackageCategoryDigestPage has cyclomatic complexity 16 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 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":"convex/packages.ts"},"region":{"startLine":1925}}}],"partialFingerprints":{"codehealthFindingId/v1":"f488120d5c830e17a9d1d8d9af6f02190b0c69ea4323edcae0a675a4d0a28061"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cmdListPromotions (cyclomatic 16, cognitive 22): cmdListPromotions has cyclomatic complexity 16 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 is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/promotions.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"49a3278b39e6616860b73b45385f6901403cd3452dfd2b67c9295352274e7f01"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function wrapText (cyclomatic 16, cognitive 22): wrapText has cyclomatic complexity 16 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 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":"server/og/registryOgSvg.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d6c37dcc3ceb8851732ca4717dec3e7b94d18f077e08985378aff288e735c90"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 16, cognitive 21): handler has cyclomatic complexity 16 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":"convex/maintenance.ts"},"region":{"startLine":3783}}}],"partialFingerprints":{"codehealthFindingId/v1":"1807b711aa700f458ee237d3302e9f911b40a1534ee99f690bc134f29840617e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function operate (cyclomatic 16, cognitive 21): operate has cyclomatic complexity 16 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":"scripts/plugin-category-operator.ts"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"98e5a4fa7d7a2b7f501cdc30609768f92cb2a7e1f0a9a4e2e63c133f492c5138"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ensureLocalSeedUser (cyclomatic 16, cognitive 20): ensureLocalSeedUser has cyclomatic complexity 16 and cognitive complexity 20; 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":"convex/devSeed.ts"},"region":{"startLine":2124}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d4cd682a50ecdf4c57df9ae77dcce9c55948fbdf00e1b753f6141f10e207c31"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 20): (anonymous) has cyclomatic complexity 16 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/packages.ts"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d346436873bb59a8cc4b81641095942c38f54f041b33ea2e492f56e4c4bf51"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 16, cognitive 20): main has cyclomatic complexity 16 and cognitive complexity 20; 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":"scripts/security/run-prepublication-worker.ts"},"region":{"startLine":1369}}}],"partialFingerprints":{"codehealthFindingId/v1":"abfcfb793cf5665a8b7e7fd51d81dca612fea3a8114acd78d6f2a01f86242f24"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyRateLimit (cyclomatic 16, cognitive 19): applyRateLimit has cyclomatic complexity 16 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":"convex/lib/httpRateLimit.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cbd537c273495d49c55c282abf9305586a453486801c7d9a2e9bf148f594c83"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function primary (cyclomatic 16, cognitive 19): primary has cyclomatic complexity 16 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/__tests__/helpers/githubWorkflowExpression.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"b16ea2387c3e6d740f1182e30527a79c0394d0382ca3c7781426bff033b0fa86"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function searchHomeTrendingSkillListing (cyclomatic 16, cognitive 19): searchHomeTrendingSkillListing has cyclomatic complexity 16 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/lib/homeListingData.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"7abdfcebbf8714e1ff9ed97511de0063423239e995f4317d71d0333d2e663406"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createPublisherV1Handler (cyclomatic 16, cognitive 18): createPublisherV1Handler has cyclomatic complexity 16 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":"convex/httpApiV1/publishersV1.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3e8e162c4f0483c9363c5d0d927e76688772fb194471163a36728210ea06808"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toPublicPackageListItem (cyclomatic 16, cognitive 18): toPublicPackageListItem has cyclomatic complexity 16 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":"convex/lib/packageCatalogRead.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c6c90eb92f1125d9c8e09a6ccba0c2531927de7df9e191afc0719f556a7d6be"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function publisherSkillMetricsForScoring (cyclomatic 16, cognitive 18): publisherSkillMetricsForScoring has cyclomatic complexity 16 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":"convex/publisherAbuse.ts"},"region":{"startLine":2398}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e4cc1f04e4b8796c964ed05e0438b1b1d36aa989e825fb4b9475cae5ad6b72"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseClawPack (cyclomatic 16, cognitive 18): parseClawPack has cyclomatic complexity 16 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":"packages/clawhub/src/clawpack.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"79ab5b8d5178176ba9a31ed2895214d970ebdd57e1dcfc2769cdc1e033368b97"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeHttpErrorBody (cyclomatic 16, cognitive 18): normalizeHttpErrorBody has cyclomatic complexity 16 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":"packages/clawhub/src/http.ts"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"88e94fc31f59e01d0894b5fa81688cea197bc37bba0b72894be239467f53aa7a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function discoverSkillEvals (cyclomatic 16, cognitive 18): discoverSkillEvals has cyclomatic complexity 16 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":"scripts/evaluations/skill-evaluation-runtime.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4a6813ddc0c92248acbfab3b216f95d6289e7e2f754df8c61d666fc20d3f5d1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inferSkillSpectorPatternCategory (cyclomatic 16, cognitive 18): inferSkillSpectorPatternCategory has cyclomatic complexity 16 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/components/SecurityAuditPage.tsx"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ad015c934c49fa4664d96b51faaed59e26ca04b65e1902d8a3cd40d0bf98253"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cliPublishHandler (cyclomatic 16, cognitive 17): cliPublishHandler has cyclomatic complexity 16 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":"convex/httpApi.ts"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f1fe203c8a0e8ef04e830eeb9f0a1ac78ddad93e7339cf1c9dc8b8d192a9075"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function canReadSkillVersionFiles (cyclomatic 16, cognitive 17): canReadSkillVersionFiles has cyclomatic complexity 16 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":"convex/lib/skillFileReadAccess.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"08b3581d16e1eaf144c3c760c3ddf768588b9cfaf1d2a6e584a106c4a52260a2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatStructuredHttpError (cyclomatic 16, cognitive 17): formatStructuredHttpError has cyclomatic complexity 16 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":"packages/clawhub/src/http.ts"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b96676332afb817d52003d97fcbb2d58cb7a7d273886e30126c8c7dc253ae26"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function analyticsEventParameters (cyclomatic 16, cognitive 17): analyticsEventParameters has cyclomatic complexity 16 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/lib/analyticsEvents.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"caef8b32745daeacb520f479c1ac306396e29f27d276df06c9c4ab8381bf07b7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleAdminReclassifyBan (cyclomatic 16, cognitive 16): handleAdminReclassifyBan has cyclomatic complexity 16 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 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":"convex/httpApiV1/usersV1.ts"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"69ebdc20fb746847a62ba12077c9bbf1dd9a72061186a27a7210a06dc5fad631"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function streamClawPackRelease (cyclomatic 16, cognitive 16): streamClawPackRelease has cyclomatic complexity 16 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 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":"convex/lib/packageArchiveHttp.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"253eb779b6a0d8657ff379d117aa10e00982fc59cf9af51e61dc7416731c2828"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 16, cognitive 16): handler has cyclomatic complexity 16 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 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":"convex/publishers.ts"},"region":{"startLine":4255}}}],"partialFingerprints":{"codehealthFindingId/v1":"06631601d35b817bfc8c578b422bc07bec576a8a5c5bfa14549505631550706c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deferredWorkflow (cyclomatic 16, cognitive 16): deferredWorkflow has cyclomatic complexity 16 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 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/googleAnalytics.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"46b4e655a6e7a811f19b52a0d6f4b997c53acfc3b6cae9636332d2bf2d7bdf52"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildSkillInstallResolution (cyclomatic 16, cognitive 15): buildSkillInstallResolution 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":"convex/lib/installResolver.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"192293e9e8fd610e2dae0b42aa8b2feb0a8b686b812ae59a81dfa3dc730fdd0f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildManagedMcpBundle (cyclomatic 16, cognitive 15): buildManagedMcpBundle 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":"convex/lib/managedMcpBundle.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"00ed5d8c9e387b56a836963e2fb9b4ed3258b8fb8e112ad903f8e59c296adaef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 16, cognitive 15): handler 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":"convex/securityScan.ts"},"region":{"startLine":3599}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a2c993cc4cee5a1ecde8d8f5dbf1d396aa7b9a254f894f7177474029ecd4058"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runPublishedTemplateDryRun (cyclomatic 16, cognitive 15): runPublishedTemplateDryRun 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":"scripts/templates-feed-openclaw-e2e.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0dc1ec0061ed4dd7c25c7a3e385f646f7915dd1c018c630f9ca43065d615e14"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchGitHubRepoTreeSnapshot (cyclomatic 16, cognitive 15): fetchGitHubRepoTreeSnapshot 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":"server/skillsShCatalogSource.ts"},"region":{"startLine":1099}}}],"partialFingerprints":{"codehealthFindingId/v1":"184796cb68f656e265bc6e43a79d48ca4e3f53d4d79ad0629ffbd8d745b6ceab"}},{"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/components/TemplateDetailPage.tsx"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c9ab07f642ec17172dd49052e2cae0f6040e0c99adfb604024d9392bc4773ab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Sparkline (cyclomatic 16, cognitive 15): Sparkline 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/dashboard/DashboardDownloadsInsights.tsx"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"d04d10cd1b14d4f6a145b796627ae36ec95c414def77bd986a39e378d50d9af9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Stars (cyclomatic 16, cognitive 15): Stars 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/routes/stars.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"e00a6fba99a96aacf24c3497cd544e97f3ede11e49abe6c22a72fa24cbf16bc6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toOwnedPublicRepoListItem (cyclomatic 16, cognitive 14): toOwnedPublicRepoListItem has cyclomatic complexity 16 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":"convex/githubImport.ts"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"1343a1ffb86d8e9bda143e2c92a0d84046a1afbde1b44584b28ce7cf88a306be"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleAdminEnsurePublisher (cyclomatic 16, cognitive 14): handleAdminEnsurePublisher has cyclomatic complexity 16 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":"convex/httpApiV1/usersV1.ts"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a1aa1b7f27c4f1e701cea58aeb7200cdbbaae17cfafc24512458a1473cf89e8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 14): (anonymous) has cyclomatic complexity 16 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/PluginVersionsPanel.tsx"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"06c35d42bdc9e6473adbee566455ce7a42f602ebca19a0ce1ca9802fe5dad3f1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function bindExpiredFinalizationRecovery (cyclomatic 16, cognitive 13): bindExpiredFinalizationRecovery has cyclomatic complexity 16 and cognitive complexity 13; 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":"convex/lib/publishAttemptOperationalRecovery.ts"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"47585867bc7cf0327b3c2121fbb9afb5857bed81559d9d16546f572b879284ee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseInstallSpec (cyclomatic 16, cognitive 13): parseInstallSpec has cyclomatic complexity 16 and cognitive complexity 13; 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":"convex/lib/skills/index.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"7803c6f8b64d070be46e7c0a7a50b3f7f91b0acafb5600520d3485606c05ad0e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SkillsIndex (cyclomatic 16, cognitive 13): SkillsIndex has cyclomatic complexity 16 and cognitive complexity 13; 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/routes/skills/index.tsx"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"704a59a416bde2edd1408921414d4913d20f415cb88f208e98a56bae641747cc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 13): (anonymous) has cyclomatic complexity 16 and cognitive complexity 13; 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/routes/skills/publish.tsx"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"bba706c03ff13a5c225c0ab484363ba7e39963c4dab1bef9e2a0f5c0f5b39533"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deleteOwnedPackageReleaseForActor (cyclomatic 16, cognitive 12): deleteOwnedPackageReleaseForActor has cyclomatic complexity 16 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":"convex/packages.ts"},"region":{"startLine":6360}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0be10c98e2223692e77f5699861331ee97976adfb11eca76e377f54173bac76"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hydratePublisherInvite (cyclomatic 16, cognitive 12): hydratePublisherInvite has cyclomatic complexity 16 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":"convex/publishers.ts"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"66feca617069c7f1c476c83eb1cde4da96b8212889cc47c4cb47ae3061725f65"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deleteOrgPublisherForOwner (cyclomatic 16, cognitive 12): deleteOrgPublisherForOwner has cyclomatic complexity 16 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":"convex/publishers.ts"},"region":{"startLine":2157}}}],"partialFingerprints":{"codehealthFindingId/v1":"963ee2fda86b89dc6bea44891f265df0c21b26e98197234b114e7a57139d7651"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 16, cognitive 12): handler has cyclomatic complexity 16 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":"convex/skills.ts"},"region":{"startLine":9129}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c5eab1b0983d736cf2b4b91523433e5703c04c7999b6549607a6231fa1379d3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 12): (anonymous) has cyclomatic complexity 16 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":"scripts/security-dataset/convexExport.ts"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"66e4ad5cd46662dd6468612bb1e7aadbef93720e47d7b6eb55a1a3a5861fca3e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 12): (anonymous) has cyclomatic complexity 16 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/routes/-management/UsersPage.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6904688521b93747ae2c76710d1883af84c6fe9f065b927e69168836dfbf5fb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 11): (anonymous) has cyclomatic complexity 16 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":"convex/githubSkillSync.ts"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a5046ae5e83728943fd303911db5f4225a917ae0f954bc6bf4915ca56cb3d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decisionsJudgeAccounting (cyclomatic 16, cognitive 11): decisionsJudgeAccounting has cyclomatic complexity 16 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":"scripts/security/clawscan-decisions.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"e83697d5ae10bfc76b9ff44b90fc37b41d4205283e59c66e209608b700caac5c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 11): (anonymous) has cyclomatic complexity 16 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":"server/routes/og/plugin.png.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb916242b3b60d05651355b0eabe9d588b2440777379424231a80846ed17e36"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertManualPackagePublisher (cyclomatic 16, cognitive 9): assertManualPackagePublisher has cyclomatic complexity 16 and cognitive complexity 9; 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":"convex/lib/packagePublishRecovery.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"cba32fb5faae3f287297835782c423553e8a5907a0625384b26ffeae87ed297b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveSkillBySlugOrAliasForOwner (cyclomatic 15, cognitive 30): resolveSkillBySlugOrAliasForOwner has cyclomatic complexity 15 and cognitive complexity 30; 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":"convex/lib/skillPageRead.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8b2bb89348669af3e76603e454175dc81fffaa160dd8bbe0fbc100f51733d39"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function waitForReport (cyclomatic 15, cognitive 27): waitForReport has cyclomatic complexity 15 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":"packages/clawhub-admin/src/commands/searchInsights.ts"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3792dc73f68f33be7cb38400797480f2e50a40dcbda44d6574de5e146b3aa5c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 15, cognitive 26): handler has cyclomatic complexity 15 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":"convex/securityScan.ts"},"region":{"startLine":4071}}}],"partialFingerprints":{"codehealthFindingId/v1":"46c5a932c0ad2a3978e70ebd7c484578e1ec75352091d205e087e2dd2b28421b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseSrcset (cyclomatic 15, cognitive 25): parseSrcset has cyclomatic complexity 15 and cognitive complexity 25; 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/srcset.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc37c686fb6bb4a60a3807d32d17c4198ad2ad3c3b59b0586c5f24ece737f4d1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cmdExportPackageValidationReport (cyclomatic 15, cognitive 24): cmdExportPackageValidationReport has cyclomatic complexity 15 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":"packages/clawhub-admin/src/commands/packages.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab0af2b2e6ccba1437cf4c05a884310323758676267ac068fee981840189002"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function routePreviewRequest (cyclomatic 15, cognitive 24): routePreviewRequest has cyclomatic complexity 15 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":"scripts/lib/previewAnalyticsProof.ts"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"57c1c64500a0e4fcfe57bd85ad8e81ab4eeae0106152e38f8fffcf6dee99b04a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseExperimentalTemplateFeed (cyclomatic 15, cognitive 23): parseExperimentalTemplateFeed has cyclomatic complexity 15 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":"packages/schema/src/experimentalTemplateFeed.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"805505df8907ca3613d8ae0bb785814f84b699609335fcc2622111bca0f1a113"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 15, cognitive 22): handler has cyclomatic complexity 15 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 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":"convex/packages.ts"},"region":{"startLine":12009}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd3a2aba02a752e5e87c11db51e540d40194609d9d48060b5f661856fc155f07"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findJsonValueEnd (cyclomatic 15, cognitive 22): findJsonValueEnd has cyclomatic complexity 15 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 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":"scripts/security-dataset/convexOutput.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"6304f681d06a7446f4da65aa920aabc95fd07465fd78eaea724d7d58faf7a5c1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseMultipartPackagePublish (cyclomatic 15, cognitive 21): parseMultipartPackagePublish has cyclomatic complexity 15 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":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":1060}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b035b78848469246576494554340edad926cc54d6dbec1a244667803a05658"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 21): (anonymous) has cyclomatic complexity 15 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":"convex/packageInspectorHttp.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"fffdc3a549f998eb3c0b7652404e615c0d785b1d371d986ebab824efac1494c6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 15, cognitive 21): handler has cyclomatic complexity 15 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":"convex/skills.ts"},"region":{"startLine":7461}}}],"partialFingerprints":{"codehealthFindingId/v1":"51bca314142f79542ced2f0e7a65f43e387e730d5921803c0b117ff14625e0e7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cmdListPackageMigrations (cyclomatic 15, cognitive 21): cmdListPackageMigrations has cyclomatic complexity 15 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":"packages/clawhub-admin/src/commands/packages.ts"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"52127316a9b6d4dbb9d6ff1daf1500172a890461423275bc851b4b35d668b785"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 15, cognitive 21): main has cyclomatic complexity 15 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":"scripts/vercel-build.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fe18111967ae14ae1d54033d2428f30ecafad7b20469900f3e10a8d458f3623"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertCanManageOwnedResource (cyclomatic 15, cognitive 19): assertCanManageOwnedResource has cyclomatic complexity 15 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":"convex/lib/publishers.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"f911e016dd7793c1a17b8831ea99e62ff49b213f4322f8a1bf4f7a774dbdb33d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 15, cognitive 19): handler has cyclomatic complexity 15 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":"convex/skillsShCatalog.ts"},"region":{"startLine":2262}}}],"partialFingerprints":{"codehealthFindingId/v1":"340209f851f48eed27db2a4e6dd297e53772dd88bc3e6ddc75ce47aa422232dd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 19): (anonymous) has cyclomatic complexity 15 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":"convex/versionFileAccess.test.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"f48466cb6f4492e54d80a2ba1b04d20d4cfeb8bad22c932ecb01d5a32f8c5bcb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function downloadLegacyPackageFiles (cyclomatic 15, cognitive 19): downloadLegacyPackageFiles has cyclomatic complexity 15 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":"scripts/package-inspector-nightly-scan.ts"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"a49c5286429372b5cc35e2dae30930123034150d9e6eba8f73bb9d12af641806"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleAdminOfficialPublisherPost (cyclomatic 15, cognitive 18): handleAdminOfficialPublisherPost has cyclomatic complexity 15 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":"convex/httpApiV1/usersV1.ts"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a075aa42952fb21beedd8a79c44f0e20def3dd21fe1a26bf625622abdb51491"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function terminalizeBlockedCatalogRetry (cyclomatic 15, cognitive 18): terminalizeBlockedCatalogRetry has cyclomatic complexity 15 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":"convex/securityScan.ts"},"region":{"startLine":3226}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8d4b494ce8d09f40f3b71aa2f5efc64afc6401b5fc3e81c033664c37bee817c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getSkillsShFixtureEnvironmentPolicy (cyclomatic 15, cognitive 17): getSkillsShFixtureEnvironmentPolicy 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":"convex/lib/skillsShCatalogEnvironment.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"7315a6d47e0fde6a66b59c335d8616983bf8c5d431ae22e8012f6e35d8217b13"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runPackagePublishPostFinalizeFollowups (cyclomatic 15, cognitive 17): runPackagePublishPostFinalizeFollowups 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":"convex/packages.ts"},"region":{"startLine":9230}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d57e809b17750918c02f3b664393b6d38c17343e8214c0d9235a25b621455b8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function quarantineMaliciousLatestSkillVersion (cyclomatic 15, cognitive 17): quarantineMaliciousLatestSkillVersion 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":"convex/skills.ts"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"af1085a5b5bff8bca11b50965b493daa7ae2f625366204d47813cab3ebe88d4f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 15, cognitive 17): handler 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":"convex/skills.ts"},"region":{"startLine":4378}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6cf3b5e8c3347eaa285cf25133ca50f6465293290cb337b8005a8b53cf0522c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCsvRecords (cyclomatic 15, cognitive 17): parseCsvRecords 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":"packages/clawhub-admin/src/commands/orgs.ts"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf28b2d79dc6b906f9c1b993e5052a62602967befca5222b127795a4d02e5233"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateSkillsShVerification (cyclomatic 15, cognitive 17): validateSkillsShVerification 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":"packages/clawhub/src/cli/commands/inspect.ts"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe8714a5c6dd329b97ff0c180d1b6868666964fa031fc19022be80606141ebe6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processClaimedEvaluation (cyclomatic 15, cognitive 17): processClaimedEvaluation 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":"scripts/evaluations/run-skill-evaluation-worker.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0a5a51851bba6b955f7e9b833d9b028e14530a6d1884d0bfd5227ae05bd0a8a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PluginListItem (cyclomatic 15, cognitive 17): PluginListItem 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/components/PluginListItem.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"47609bcf6ed57391a15627eef8629ad1fa33806163866b4cc39c459882296d54"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 16): (anonymous) has cyclomatic complexity 15 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 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":"convex/publishAttempts.ts"},"region":{"startLine":1591}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d7a3921c0e53b21775a6f02836cc34daf398c7fb2a5c962445dc6875099fd5c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 16): (anonymous) has cyclomatic complexity 15 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 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":"convex/skillStatEvents.ts"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea8dda30f3acf18ee9776ff28db7bc9f43352719374a68530b9cef850b389ecf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 15, cognitive 16): handler has cyclomatic complexity 15 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 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":"convex/statsMaintenance.ts"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"f541289f831dd14a21579aa11228ebae060231a66d7c72939605bcf3b69993d8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findRecoverableMirrorRun (cyclomatic 15, cognitive 16): findRecoverableMirrorRun has cyclomatic complexity 15 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 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":"scripts/skills-sh-catalog/prove-mirror-request.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"96d26e537de00ed440e402aa8b14f7e0bd35a14b06c9ca8551dde70de5f7b648"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolvePublisherByOwnerHandle (cyclomatic 15, cognitive 15): resolvePublisherByOwnerHandle has cyclomatic complexity 15 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":"convex/lib/skills/slugResolution.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"be472f7999f1fa49e21f81934791b999f558ab8717c7b23db5640594c2ec55d7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 15, cognitive 15): handler has cyclomatic complexity 15 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":"convex/packages.ts"},"region":{"startLine":7288}}}],"partialFingerprints":{"codehealthFindingId/v1":"04364cdc453dab7cd1021d7c02ca6f1951201df257f4f14aa81150f7fc6a53cc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 15): (anonymous) has cyclomatic complexity 15 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":"convex/publishers.test.ts"},"region":{"startLine":2304}}}],"partialFingerprints":{"codehealthFindingId/v1":"b96cc3e8de13ccb202541dbfed96fb2bde7b1958b7efc977eecde45bac982fd3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hydrateClaimedCodexScanJob (cyclomatic 15, cognitive 15): hydrateClaimedCodexScanJob has cyclomatic complexity 15 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":"convex/securityScan.ts"},"region":{"startLine":3657}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e7aa01e74eff66a794e311366c9edb86a7c7f79f80f467447c6e31f06263a2d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 15, cognitive 15): handler has cyclomatic complexity 15 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":"convex/skillCards.ts"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"41dd13cbd0c7377677fe2e47f21a5ea94e8dd6acef77d68b8d714e4a1fd8be04"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 15, cognitive 15): handler has cyclomatic complexity 15 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":"convex/skillsShCatalog.ts"},"region":{"startLine":2337}}}],"partialFingerprints":{"codehealthFindingId/v1":"18b5779486d1f591cc38c6349f7867623b78398ee9417b6435af22845ba2030a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cmdDownloads (cyclomatic 15, cognitive 15): cmdDownloads has cyclomatic complexity 15 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":"packages/clawhub-admin/src/commands/downloads.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"71bd6c75f51fba04d686c96ed53bc8a7c408dc3b648d5d3a5c4b86a50164bb56"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 15, cognitive 14): handler 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":"convex/catalogFeed.ts"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"e38f5c38046f3d833af954e7841bae85fb65a286439f71dd49f87786be81fa5f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 15, cognitive 14): handler 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":"convex/featuredSkills.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"175084ca410ffd747f0e75dc03462ff1387e7becb86cdae43507b35b1c0ff79b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function npmMirrorGetHandler (cyclomatic 15, cognitive 14): npmMirrorGetHandler 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":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":4508}}}],"partialFingerprints":{"codehealthFindingId/v1":"331e50a91948046d3177b23c3ca8a99c767451621bf1380d03edcae4bf4af2a6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyCanonicalSkillSearchMatch (cyclomatic 15, cognitive 14): classifyCanonicalSkillSearchMatch 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":"convex/lib/canonicalSkillSearch.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"d248295493816738239f9a4fc2523db3f8f85cdafe495e0b2930d2a765fe84db"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function generateWithOpenAI (cyclomatic 15, cognitive 14): generateWithOpenAI 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":"convex/lib/changelog.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"38871b5f3b38b849cafb8dbfbf2f24ab6c8f1b877a55dec15b18b6d85f5efd77"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 15, cognitive 14): handler 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":"convex/packages.ts"},"region":{"startLine":9375}}}],"partialFingerprints":{"codehealthFindingId/v1":"b815d3bbdc53ca2af11faad6145ea3c7644c092b5ab8f6f20b2644a5d5cc9c6e"}},{"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":"convex/publishers.test.ts"},"region":{"startLine":2200}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2590c993e2c9e194d468bb839c3a6f70034784acfaf1c7da43beb5712263a94"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function makePersonalPublisherRecoveryCtx (cyclomatic 15, cognitive 14): makePersonalPublisherRecoveryCtx 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":"convex/publishers.test.ts"},"region":{"startLine":8047}}}],"partialFingerprints":{"codehealthFindingId/v1":"2997c73376315ab52202c6ab8ef50e399b7297eb0fdbb0a55fafa5b71100f142"}},{"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":"convex/publishers.test.ts"},"region":{"startLine":8370}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fea66e4c513f04c5edeb59a29648229527c36e07bf38b928b0ed4e15ee3af88"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getPersonalPublisherRecoveryOwnerMigrationPlan (cyclomatic 15, cognitive 14): getPersonalPublisherRecoveryOwnerMigrationPlan 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":"convex/publishers.ts"},"region":{"startLine":1607}}}],"partialFingerprints":{"codehealthFindingId/v1":"05de3ebfa326ad8cc8014e580496b5a752377f3d8be4efcec9b50b144e971f27"}},{"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":"convex/securityScan.test.ts"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9446276e093f825968419e2fc7b7740e595422e40423d5c5244c26b4c89fef0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function unbanUserForBanAppealService (cyclomatic 15, cognitive 14): unbanUserForBanAppealService 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":"convex/users.ts"},"region":{"startLine":1896}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eac6e825a4d68b32b0d05808948f91034b3c147f290035064ca97e8231617a1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function unbanUserWithActor (cyclomatic 15, cognitive 14): unbanUserWithActor 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":"convex/users.ts"},"region":{"startLine":1982}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b5a3c368df150dc5867b258263aa3ce4282d4c07112c8e75a8d79ed0b316f95"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function printOwnerPublication (cyclomatic 15, cognitive 14): printOwnerPublication 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":"packages/clawhub/src/cli/commands/inspect.ts"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"30aaf3d05bdab141dc5cb8af33dbe7fe8cb9450183e65d77ff441d758318151f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reportInstalledSkillsTelemetryIfEnabled (cyclomatic 15, cognitive 14): reportInstalledSkillsTelemetryIfEnabled 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":"packages/clawhub/src/cli/commands/installTelemetry.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5cbfa082718f3278f613ed7d547c25525d93bdb7e800b514a83db4420adea0e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cmdTriageSkillReport (cyclomatic 15, cognitive 14): cmdTriageSkillReport 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":"packages/clawhub/src/cli/commands/skills.ts"},"region":{"startLine":1315}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc45ed79bf2d72a912e23fa5ec2a1455d8ae6aa259dbecaefe1e0730e1ca9f0a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertPreviewPolicy (cyclomatic 15, cognitive 14): assertPreviewPolicy 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":"scripts/lib/previewAnalyticsProof.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"4093f6c39453e39c6a655b848aead85309fc022a70e8c9452fbb89c58f8dd022"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function writeJobDiagnostic (cyclomatic 15, cognitive 14): writeJobDiagnostic 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":"scripts/security/run-codex-scan-worker.ts"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1c804ad51e323f62fce1b2ae811c81c95c9894387d31634949095a02e9ca40a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function nativeScannerDiagnostic (cyclomatic 15, cognitive 14): nativeScannerDiagnostic 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":"scripts/security/run-prepublication-worker.ts"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5e170acf8ade22e77fbc637e72ec5e371e6a5ee903184e215ac7a94bfd2cb4c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function HomeListingEmptyPanel (cyclomatic 15, cognitive 14): HomeListingEmptyPanel 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/HomeListingSection.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"3519ead30a3770cb9a8fe08cbba1489b394256a950fd6d31da991a15be8861d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DashboardDownloadsInsights (cyclomatic 15, cognitive 14): DashboardDownloadsInsights 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/dashboard/DashboardDownloadsInsights.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"596db222562988af8483c77183b0fc5814ca6924bcf3dcb20e26a954248dab04"}},{"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/routes/-management/AbusePage.tsx"},"region":{"startLine":1393}}}],"partialFingerprints":{"codehealthFindingId/v1":"b16d4245d0bb464133306b799d0732d50be5e3a40e909aacdabf88c8c94cc33c"}},{"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/routes/skills/publish.tsx"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bfe7f31dad98deaec2e259ef8eed24debc074b51a3b1f23dd1357b8deaea598"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeModerationFromSkill (cyclomatic 15, cognitive 13): normalizeModerationFromSkill has cyclomatic complexity 15 and cognitive complexity 13; 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":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5888e3fae17106c585821dc9b3ec0e3026a77ff92646eb36d428ea82e96d848"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function searchSkillsV1Handler (cyclomatic 15, cognitive 13): searchSkillsV1Handler has cyclomatic complexity 15 and cognitive complexity 13; 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":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":1311}}}],"partialFingerprints":{"codehealthFindingId/v1":"fea37ca9a2985e7df93d952fbd3492e6d0cf89367ca9943523e88b547ccca665"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildExternalCanonicalTrendingCandidate (cyclomatic 15, cognitive 13): buildExternalCanonicalTrendingCandidate has cyclomatic complexity 15 and cognitive complexity 13; 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":"convex/lib/canonicalTrending.ts"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"25a05ad70b34af6afe9b912bcd6f82da66dd630fd83d724da211083d145c5404"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 13): (anonymous) has cyclomatic complexity 15 and cognitive complexity 13; 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":"convex/lib/httpRateLimit.test.ts"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5d619a7329885aeba53cad5fd1f49e84480507ce56e5cca6da97a3e6eb3621d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decodeIndexCursor (cyclomatic 15, cognitive 13): decodeIndexCursor has cyclomatic complexity 15 and cognitive complexity 13; 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":"convex/lib/indexCursor.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d2b1375424b3f50ab822e89a95309403959cd0663c7856e9a355c11d544949"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deliverSearchDigest (cyclomatic 15, cognitive 13): deliverSearchDigest has cyclomatic complexity 15 and cognitive complexity 13; 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":"convex/lib/searchDigestDelivery.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b7641eb1335b49b015fd54f4228d77218c4baa377022e636f6062119d0ce4d1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 15, cognitive 13): handler has cyclomatic complexity 15 and cognitive complexity 13; 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":"convex/publishers.ts"},"region":{"startLine":3531}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c1630580e5a010ac40a1d083dfaa9ecdadc1b03e8d0ba649ffa572d997eb868"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deleteOwnedSkillVersionForActor (cyclomatic 15, cognitive 13): deleteOwnedSkillVersionForActor has cyclomatic complexity 15 and cognitive complexity 13; 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":"convex/skills.ts"},"region":{"startLine":7774}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d1dc2dcc4f9debf42218b00d5382e58778463e486d6387f45aeef70ac07de16"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function detectPackageFamily (cyclomatic 15, cognitive 13): detectPackageFamily has cyclomatic complexity 15 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/packages.ts"},"region":{"startLine":2574}}}],"partialFingerprints":{"codehealthFindingId/v1":"6186e329d981cb8e67273277e1e925f8711a714cd15eb16e5e7ef0b7d25ff46c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hasKnownClawScanChildFinality (cyclomatic 15, cognitive 13): hasKnownClawScanChildFinality has cyclomatic complexity 15 and cognitive complexity 13; 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":"scripts/security/clawscan-docker-cleanup.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f3b9e2923042786b909af4708d26c6e0df35ecb76dce2fc87ce972a859754f1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 13): (anonymous) has cyclomatic complexity 15 and cognitive complexity 13; 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":"scripts/security/skillspector-exception-diagnostic.ts"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b4756b90a23220db31781a8baa52c50f73a2252dea49dbc5f8a94398ed64e7a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeRelativeSkillPath (cyclomatic 15, cognitive 13): normalizeRelativeSkillPath has cyclomatic complexity 15 and cognitive complexity 13; 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/skillReadmeLinks.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6736d55c7775c08dab95c1b5718a73ce98fd4ff5820de838de46988c7837cc2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 15, cognitive 12): handler 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":"convex/searchWeeklyDigest.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"43fe48eb1a3e29e66e75e20bea66e655896899872041f1540322210dc068abda"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseSkillRefOrFail (cyclomatic 15, cognitive 12): parseSkillRefOrFail 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":"packages/clawhub-admin/src/commands/featured.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"6df4c10032ffe14baa14651076e9290648f6372da72824853448d906dc68d057"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function withClawScanDockerCleanup (cyclomatic 15, cognitive 12): withClawScanDockerCleanup 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":"scripts/security/clawscan-docker-cleanup.ts"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5f3be44f89eeae2955ce1995ce7130ef2fec92d8e1c4b2866806b8ccbcb056e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function clawScanCheckResult (cyclomatic 15, cognitive 12): clawScanCheckResult 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":"scripts/security/run-prepublication-worker.ts"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"de47bf542a76f08e82c5ce60f87254ef588c997f561e2c5a2b9ec62742741073"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCatalogTestRequest (cyclomatic 15, cognitive 12): parseCatalogTestRequest 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":"server/routes/ops/skills-sh/catalog-test.post.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b5b8951de75ad37628ae4a22d3d5f245edb5213955549f85b1000da5a13f864"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function digestToOwnerInfo (cyclomatic 15, cognitive 11): digestToOwnerInfo has cyclomatic complexity 15 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":"convex/lib/skillSearchDigest.ts"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9662a8606de66e8b9a1fb549896fc7523df8d3b305512d3b4706d53f62cec5d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isPrivateIpv4 (cyclomatic 15, cognitive 11): isPrivateIpv4 has cyclomatic complexity 15 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":"server/og/fetchImageDataUrl.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"37d3318656663903cfcf53c99a973aecb3325ac39e3f487b3282e330fbdd3bf9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function skillSecurityStatus (cyclomatic 15, cognitive 11): skillSecurityStatus has cyclomatic complexity 15 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/dashboard/artifactStatusLabels.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"e96389bc3aba433a60ba411d834c199da934ed59e46cb1c8632c89c7310170c9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function computeSkillTemporalAbuseScoreForWindows (cyclomatic 15, cognitive 10): computeSkillTemporalAbuseScoreForWindows has cyclomatic complexity 15 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":"convex/lib/publisherAbuseScoring.ts"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb94ad2776510dabd597169a2d265a27855619aa1f57b2b209bd719937243a55"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decodeCanonicalTrendingCursor (cyclomatic 15, cognitive 9): decodeCanonicalTrendingCursor has cyclomatic complexity 15 and cognitive complexity 9; 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":"convex/lib/canonicalTrending.ts"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e4cefb6d24c51ab7a09ad1d0d94460eb5d2f8c10636c4864f2fbd544081408e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 15, cognitive 9): handler has cyclomatic complexity 15 and cognitive complexity 9; 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":"convex/packages.ts"},"region":{"startLine":10154}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf6ac8263f14b95ab5840a3bf9adcb58af2f8b13bc0d3f0cc5d0a82abe8c64d2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function consumeSkillPublishUploads (cyclomatic 15, cognitive 9): consumeSkillPublishUploads has cyclomatic complexity 15 and cognitive complexity 9; 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":"convex/skillPublishUploads.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"d41b337596b64abcd8d4d441847a19be6fe0cb64d9cf337557853cde27444e26"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 32): (anonymous) has cyclomatic complexity 14 and cognitive complexity 32; 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":"convex/search.ts"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"56f27ff5d364788bf27800554824247eab3ad78e62bb2b622554328603c22555"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchSkillsShProofText (cyclomatic 14, cognitive 27): fetchSkillsShProofText 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":"server/skillsShCatalogSource.ts"},"region":{"startLine":1805}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e53101e6eae692ee0f20e5f1149a2dd1c35333cee1f38fe852c1d3ed1a9c8e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyCatalogInternalHandler (cyclomatic 14, cognitive 25): classifyCatalogInternalHandler has cyclomatic complexity 14 and cognitive complexity 25; 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":"convex/catalogClassificationNode.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"35f3deb594b7bf4e80bc38b2caf7b9779df1547b0e8b0e49323364d139c1960f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 14, cognitive 24): handler has cyclomatic complexity 14 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":"convex/statsMaintenance.ts"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3504fefeb19ae9e58ea65a00fb1f3d7658622ebf66903686b9527a21dc44098"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scoreTextCategory (cyclomatic 14, cognitive 23): scoreTextCategory has cyclomatic complexity 14 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":"convex/lib/catalogClassifier.mjs"},"region":{"startLine":1601}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e37a99e1569d1d80bc91da41e310a08ce9a455892535e82f728c2b77292023"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 23): (anonymous) has cyclomatic complexity 14 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":"server/skillsShCatalogSource.ts"},"region":{"startLine":2262}}}],"partialFingerprints":{"codehealthFindingId/v1":"e19ce15cb0e4f52b198dde32627a1c071bff9bf8348ee2b2531ddd30bc6b9a01"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 14, cognitive 22): handler has cyclomatic complexity 14 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 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":"convex/devTemplateAuditFixtures.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"eea7cd36974a42ad9c15ba86f705171e079413ecb6dbe3b9c72c45929b85365d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 22): (anonymous) has cyclomatic complexity 14 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 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":"convex/packages.catalogVisibility.runtime.test.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"076461e2874d88db87bbc386d34e0eaf780b65c6bc9dbdc951209abea80720ce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseBrowseTopicFromSearchInput (cyclomatic 14, cognitive 22): parseBrowseTopicFromSearchInput has cyclomatic complexity 14 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 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/browseTopicSearch.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1a04c9c7fae62293d3f71334103aa3c44880eb54670087965105b7e49046f0e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function listOfficialFirstPackageCategoryPage (cyclomatic 14, cognitive 21): listOfficialFirstPackageCategoryPage has cyclomatic complexity 14 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":"convex/packages.ts"},"region":{"startLine":4356}}}],"partialFingerprints":{"codehealthFindingId/v1":"212cfe9de6c2b160b942b340debaddc45c1b49bd1bc6764525b8b4f8d31705b6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cmdListPackageReports (cyclomatic 14, cognitive 21): cmdListPackageReports has cyclomatic complexity 14 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":"packages/clawhub-admin/src/commands/packages.ts"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d3b0a1c0b0c472f66a0e7cae56263871622b106f7d414b8cb53b8f746c525c0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildGitHubSkillCatalogDisplay (cyclomatic 14, cognitive 19): buildGitHubSkillCatalogDisplay has cyclomatic complexity 14 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":"convex/lib/publisherCatalogDisplay.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"9898e467b55192a05d5027ed3cf717bb1236387ee8a141b90772432bb2dbd3b9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 19): (anonymous) has cyclomatic complexity 14 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":"scripts/security/run-prepublication-worker.test.ts"},"region":{"startLine":1052}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d2d2fc2b2b7a677ad019a6576336e4c44fc92c46b59cd9d5293aee4a77f87d3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toJsonValue (cyclomatic 14, cognitive 18): toJsonValue has cyclomatic complexity 14 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":"convex/lib/skills/skillMarkdown.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f2f17d9fb41be542cddf03839d99d0c1d9cc5fe68e0ddc0c3649f485fdaf03"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 14, cognitive 18): handler has cyclomatic complexity 14 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":"convex/packages.ts"},"region":{"startLine":3072}}}],"partialFingerprints":{"codehealthFindingId/v1":"e51c1074e9187d51257b71aebab6e4deed5835037053dfecc4e6466a9ec45b03"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatReportError (cyclomatic 14, cognitive 18): formatReportError has cyclomatic complexity 14 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/components/SkillDetailPage.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4fd68ef16afa9a288ad63749d8ab4d161b12cd9d37ab302855a2e92515e565f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function defaultDashboardPriority (cyclomatic 14, cognitive 18): defaultDashboardPriority has cyclomatic complexity 14 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/components/dashboard/dashboardCatalog.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"c82eafdfce4383e3bbd1035440cb8850e070b3d494deac4ac079b76551910648"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function finalizePublisherAbuseScoresPageInternalHandler (cyclomatic 14, cognitive 17): finalizePublisherAbuseScoresPageInternalHandler has cyclomatic complexity 14 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":"convex/publisherAbuse.ts"},"region":{"startLine":1440}}}],"partialFingerprints":{"codehealthFindingId/v1":"034cbe5c3ff0908fa6c824dd26ae3db0e6c06ef6fd2ee10ad305fc38cdd17714"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 17): (anonymous) has cyclomatic complexity 14 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":"packages/clawhub/src/cli.package-recovery.test.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"02cd73a354eb05ecaf6d21c73125d67104231e270e54eb99b5e5d29daf369d30"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertSkillsShTargetOwnership (cyclomatic 14, cognitive 17): assertSkillsShTargetOwnership has cyclomatic complexity 14 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":"packages/clawhub/src/cli/commands/skills.ts"},"region":{"startLine":1677}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f2a5ea2ae628eff4bd073e6c0d16a3adbaba4f0d12d7896f2be730e8184ada"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runStep (cyclomatic 14, cognitive 17): runStep has cyclomatic complexity 14 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":"scripts/seed.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2c58171b8120af547476c1be052bcfeb10148806d1e11467c691a4fabbdce6e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readPlugin (cyclomatic 14, cognitive 16): readPlugin has cyclomatic complexity 14 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 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":"convex/featuredArtifacts.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"c337d3ef3d0be56414a82b8d761232d1b77027fcb59339c6a995f1569696977c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function skillsDeleteRouterV1Handler (cyclomatic 14, cognitive 16): skillsDeleteRouterV1Handler has cyclomatic complexity 14 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 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":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":3430}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7f93f6611e8ddbc9498bbab3319a574b5d50d42e541ec28cde4a2f4f69e2c0e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveRefCommit (cyclomatic 14, cognitive 16): resolveRefCommit has cyclomatic complexity 14 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 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":"convex/lib/githubImport.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"ece76e2f187dd2d1119e8fde26c669d66b3bbe995108e4c1030e11c42ca51948"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 14, cognitive 16): handler has cyclomatic complexity 14 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 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":"convex/maintenance.ts"},"region":{"startLine":3138}}}],"partialFingerprints":{"codehealthFindingId/v1":"8240304dfe7e811d0cc1b025134e93fe4d886537234680be38bc228d1c67e12d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 14, cognitive 16): handler has cyclomatic complexity 14 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 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":"convex/skills.ts"},"region":{"startLine":7146}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba0370a66e68b9370e264818c52814a0184e8f9102e1fb3ea078097c434ef94"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 16): (anonymous) has cyclomatic complexity 14 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 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":"scripts/security/scanner-installation.test.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"9227dc6a3734fee57c5dbae89a3c8b66435af7b80273c15a8bc62dc04636d910"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function expectedVercelEnvironmentForConvexSite (cyclomatic 14, cognitive 15): expectedVercelEnvironmentForConvexSite has cyclomatic complexity 14 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":"convex/lib/clawhubVercelOidc.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"aabe00e563e35ceb5e80747a6790c3773e86fbc535789860c1aab786922c8bc6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 15): (anonymous) has cyclomatic complexity 14 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":"convex/lib/openClawPublishAuthorization.test.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"61053708cbf01b1a4e8f817e97d9fd3e461c1509e924bd32e4d56b71d289e8dd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 15): (anonymous) has cyclomatic complexity 14 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":"convex/skills.ts"},"region":{"startLine":8296}}}],"partialFingerprints":{"codehealthFindingId/v1":"41d94727827af92c1fe50acc0003f8a675193df62a65e2cd360b505a9f9b3f5a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cmdPublishManagedMcp (cyclomatic 14, cognitive 15): cmdPublishManagedMcp has cyclomatic complexity 14 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":"packages/clawhub-admin/src/commands/managedMcp.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"426aee52752e0b1bc7de00c271f4f3b0a197e3798d79012b2cbece25ba7f2a15"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cmdRecoverPersonalPublisher (cyclomatic 14, cognitive 15): cmdRecoverPersonalPublisher has cyclomatic complexity 14 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":"packages/clawhub-admin/src/commands/moderation.ts"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"85f6317887b75b227b7be7b180c8af650077c4bc93915327aae2f91f96fd89c1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 14, cognitive 15): parseArgs has cyclomatic complexity 14 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":"scripts/staging-seed/sanitize-prod-snapshot.ts"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"a84eff41cc674113a400e5e4aef6ef84ef1acef70a6557e45d3201999e3209b6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onClick (cyclomatic 14, cognitive 15): onClick has cyclomatic complexity 14 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/GoogleAnalytics.tsx"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a20dc3ff1469ac1b788e6a5ba67d246d4cf5ac65bd56f94f5f04e60325f0ad5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parsePromotionInputPayload (cyclomatic 14, cognitive 14): parsePromotionInputPayload has cyclomatic complexity 14 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":"convex/httpApiV1/promotionsV1.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"659a2dd0e412ce5485bd1c0cff57c39afa5abbc038264676119b541b063d658f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function compareCatalogItemsForSort (cyclomatic 14, cognitive 14): compareCatalogItemsForSort has cyclomatic complexity 14 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":"convex/lib/catalogPage.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"79ccca9ad769f8d32ad9b7c57399f569b6291123c1d8623b1d7f360d7c417743"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readInitialPublicPluginPage (cyclomatic 14, cognitive 14): readInitialPublicPluginPage has cyclomatic complexity 14 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":"convex/lib/pluginBrowseRead.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea6c8c407786dad4f177df87258de7565cb2cd1619100598f4ef81e6f31047e8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function listMergedPluginExportPage (cyclomatic 14, cognitive 14): listMergedPluginExportPage has cyclomatic complexity 14 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":"convex/packages.ts"},"region":{"startLine":3406}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ba42e52228e3be61ace59d53512d914e33bbdcafa0ec0f9cbc44ff8854e5193"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function skillVersionPageToLatestExportRows (cyclomatic 14, cognitive 14): skillVersionPageToLatestExportRows has cyclomatic complexity 14 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":"convex/securityDataset.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"5673faf327fbe676a4f9ad27313f42d5f89fb3fae3c6fa0105251df3c7b2662f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 14): (anonymous) has cyclomatic complexity 14 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":"convex/securityScan.test.ts"},"region":{"startLine":1285}}}],"partialFingerprints":{"codehealthFindingId/v1":"695380f9da459b8696038d0e74fc7ffed65b3058cf1e891c69d9ae2e88c6b51a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 14): (anonymous) has cyclomatic complexity 14 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":"convex/skillStatEvents.ts"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7b653f0559947b187b36bf0b476254e9da68586de3773ee30b044f9ab67ec72"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 14, cognitive 14): handler has cyclomatic complexity 14 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":"convex/skillsShCatalog.ts"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3c078e5bbda722651ea4f9015ecacaf5c42e01db5c03451e6c8720d4a9b2a67"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolvePackagePublishToken (cyclomatic 14, cognitive 14): resolvePackagePublishToken has cyclomatic complexity 14 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":"packages/clawhub/src/cli/commands/packages.ts"},"region":{"startLine":3006}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2d2c594747bea305d99cc10e5c741c5ca7e0cdb83e515825c7f75ff0f681d14"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inferPublicCorpusPluginCategories (cyclomatic 14, cognitive 13): inferPublicCorpusPluginCategories has cyclomatic complexity 14 and cognitive complexity 13; 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":"convex/devSeed.ts"},"region":{"startLine":1962}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ac89f9179bf26607dfe97af1ee2c48580869d6a449cc7dbc438bb4b2fc7ece9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 14, cognitive 13): handler has cyclomatic complexity 14 and cognitive complexity 13; 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":"convex/devSeed.ts"},"region":{"startLine":4776}}}],"partialFingerprints":{"codehealthFindingId/v1":"9034afe081a81eaba7932e692951217a31bf551cb8293fc2eba3bd0b29f62e34"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 13): (anonymous) has cyclomatic complexity 14 and cognitive complexity 13; 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":"convex/maintenance.publishRecovery.runtime.test.ts"},"region":{"startLine":890}}}],"partialFingerprints":{"codehealthFindingId/v1":"e12b140a4195e532a17eaf2da4d288d97e3f5ca06172e67f38da71bfdcee3eb8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 13): (anonymous) has cyclomatic complexity 14 and cognitive complexity 13; 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":"convex/pluginCategoryRefresh.runtime.test.ts"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd9661623805030914a1cb8688631e22946931e272f97d099fb101318d775bb7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 13): (anonymous) has cyclomatic complexity 14 and cognitive complexity 13; 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":"convex/publishers.test.ts"},"region":{"startLine":2110}}}],"partialFingerprints":{"codehealthFindingId/v1":"40d3512c1e203ddc5c0b26b7238ebb1e6cff972d73048457ef021c650cbc640e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 13): (anonymous) has cyclomatic complexity 14 and cognitive complexity 13; 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":"convex/search.ts"},"region":{"startLine":1352}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5d74e6be723b8788ba1070c0bbfe7e74c6a51b44ce79cc36a4b3101b5277683"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 13): (anonymous) has cyclomatic complexity 14 and cognitive complexity 13; 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":"convex/search.ts"},"region":{"startLine":1859}}}],"partialFingerprints":{"codehealthFindingId/v1":"016e5d4715893a8df9ac13d72da48f6718e969cc2c18769b4d3be039e1dd5dac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function envelope (cyclomatic 14, cognitive 13): envelope has cyclomatic complexity 14 and cognitive complexity 13; 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":"convex/searchReports.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae90596be36b50625379149fecff0a163a14556d4b98cf707f5328955b3fba60"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startReport (cyclomatic 14, cognitive 13): startReport has cyclomatic complexity 14 and cognitive complexity 13; 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":"convex/searchReports.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c6bc9f7b6037bd279db703e0fb1647018e248d13aa2bf191e4ae4d47f59caa8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 14, cognitive 13): handler has cyclomatic complexity 14 and cognitive complexity 13; 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":"convex/skillStatEvents.ts"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2da6f004b9a308b940fe83fe039cd56310aa52c967e3c103c1e735473592725"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function completeMockPrePublicationChecks (cyclomatic 14, cognitive 13): completeMockPrePublicationChecks has cyclomatic complexity 14 and cognitive complexity 13; 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":"e2e/local-auth/helpers.ts"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"e49ef3fad62ee6937a4caf085f020e65c493fea6cf8d7d030a37a4db473d1d27"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadSmokeSkillFixture (cyclomatic 14, cognitive 13): loadSmokeSkillFixture has cyclomatic complexity 14 and cognitive complexity 13; 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":"scripts/lib/smokeSkillFixture.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d4fed754900cc39adaa2f75235610a5e7928ff1b4a304564e6df1ae1f6716aa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function remove (cyclomatic 14, cognitive 13): remove has cyclomatic complexity 14 and cognitive complexity 13; 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":"scripts/security/template-qualification-workspace.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"a799e9b2f46662fa370119ca1b4019c6f8a9151369260f630ba6eef943832198"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildRegistryOgSvg (cyclomatic 14, cognitive 13): buildRegistryOgSvg has cyclomatic complexity 14 and cognitive complexity 13; 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":"server/og/registryOgSvg.ts"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"659e090f359573838f6d3491533aa82ea4b7187eae02b5b38c64190c2c2a6aca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 13): (anonymous) has cyclomatic complexity 14 and cognitive complexity 13; 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":"server/skillsShMirrorClassification.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"25ea8ec9e47ed4ffb563aed19ddee1899b682e399f1c468d235ee52d253026a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SkillCardPreview (cyclomatic 14, cognitive 13): SkillCardPreview has cyclomatic complexity 14 and cognitive complexity 13; 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/SkillCardPreview.tsx"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f36e94b20232c89a8055de5922f848e3dd876fd5973f32eaee3e66d03f86c8c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function publishSettledResults (cyclomatic 14, cognitive 13): publishSettledResults has cyclomatic complexity 14 and cognitive complexity 13; 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/useUnifiedSearch.ts"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ed0ed78889c871fd80201f1298fb571104ad841ee8becb82a1f97604abe88f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ManagedMcpTools (cyclomatic 14, cognitive 13): ManagedMcpTools has cyclomatic complexity 14 and cognitive complexity 13; 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/routes/-management/ManagedMcpTools.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"e68fd831d76be028672acf0007449448314eb4f65faff969b619258790aae4fe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function publishSkillPayloadForApiUser (cyclomatic 14, cognitive 12): publishSkillPayloadForApiUser 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":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":2622}}}],"partialFingerprints":{"codehealthFindingId/v1":"204db1993ec918c43107d85584f4dcb600539af27fc78ab95e17b7d8e9ca9e67"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toPackageVersionResponse (cyclomatic 14, cognitive 12): toPackageVersionResponse 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":"convex/lib/packageReadProjection.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0a1be42440eb8f622d953240120a704792ca075d1658645a47381c11843281a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertPluginScanEvidence (cyclomatic 14, cognitive 12): assertPluginScanEvidence 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":"convex/lib/pluginScanRouting.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7bfeb1ad9de625166917fcbb905ef925705b5d96060e48f75898d33a41efc27"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 14, cognitive 12): handler 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":"convex/skillEvaluations.ts"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"a080648229891643bccd77203c259a5cbbe8cacd08177ecea63cfad43cef427a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 14, cognitive 12): handler 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":"convex/skillEvaluations.ts"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f0a27189ed543417326bbceac60b238b4bf8c67e73a0a87c90f89eafec58ffe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 14, cognitive 12): handler 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":"convex/users.ts"},"region":{"startLine":1702}}}],"partialFingerprints":{"codehealthFindingId/v1":"1983b19d15b585584a623ddd9cb923a7340019abd844219dfe51978ea85fe5e7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeModeration (cyclomatic 14, cognitive 12): normalizeModeration 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":"packages/clawhub/src/cli/commands/inspect.ts"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"a05d1dcc3cef9120bb69a61decbf833ef081f5463f09d2bd8c219d71e6fac805"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isSafePublicHttpsOgImageUrl (cyclomatic 14, cognitive 12): isSafePublicHttpsOgImageUrl 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":"server/og/fetchImageDataUrl.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"725b54c8f94984f82e423741488f0f5004c072aa26f498054b18bd395a4219f3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AigSection (cyclomatic 14, cognitive 12): AigSection 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/components/SecurityAuditPage.tsx"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b32008e80e3a3fad4b09af43eaeb130e5026ed0720ed8bad850b85d4884f585"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SkillListItem (cyclomatic 14, cognitive 12): SkillListItem 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/components/SkillListItem.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"53f52c8757c52ab73e7bd091618f82a685c313af0e0176beb99dbca43a1b3f6c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 12): (anonymous) 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/routes/-management/ReportsPage.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a552fc1df518532b9148232f0e988e00632e00f5e32d0099a153e78f7b3d954"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 14, cognitive 11): handler 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":"convex/devSeed.ts"},"region":{"startLine":4944}}}],"partialFingerprints":{"codehealthFindingId/v1":"95a7ec0777f6d536c39aced46774b7082dd61f8f8435fe1a2df8d484b521ba7b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getGitHubHandoffBlock (cyclomatic 14, cognitive 11): getGitHubHandoffBlock 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":"convex/lib/githubHandoff.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"0937264bf416c9d4c4c5d1a4008fd71d4d3d359769bb3ba4a5b2e59613773d68"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 14, cognitive 11): handler 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":"convex/packages.ts"},"region":{"startLine":7118}}}],"partialFingerprints":{"codehealthFindingId/v1":"44d7e66b4ae9a63c0d6c8ef03de5afe030f7d36b9234268780c7861e660d155f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 14, cognitive 11): handler 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":"convex/packages.ts"},"region":{"startLine":9869}}}],"partialFingerprints":{"codehealthFindingId/v1":"a21db0a0b694090c1b0aed86096eaa82018919e8543c3f3b7afe5971718164bf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 14, cognitive 11): handler 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":"convex/uploads.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"618d50103407acec968c4d254f895977c6c1bca64924904a80026d0773f8e614"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getActionablePublisherAbuseAutobanNomination (cyclomatic 14, cognitive 11): getActionablePublisherAbuseAutobanNomination 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":"convex/users.ts"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcfc83bd10acaa317f452fe1697f67483bcf17bb395449173c093e15131f06ae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DocsAuth (cyclomatic 14, cognitive 11): DocsAuth 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/routes/auth/docs.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"04ef12f20287f58d2cbf5fce80279d95227b4e4fb6a5d112077b3527d11e7996"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildNativeCanonicalTrendingCandidate (cyclomatic 14, cognitive 10): buildNativeCanonicalTrendingCandidate has cyclomatic complexity 14 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":"convex/lib/canonicalTrending.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0e4db0a2cbd8b8e44e66657f33802a380d0c32c374f4eb64c9fe66cbb928b7a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 14, cognitive 10): handler has cyclomatic complexity 14 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":"convex/skillsShMirrorVisibility.ts"},"region":{"startLine":977}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ff03e4195701711852e54518cd99dac3348fdd2d0d196d501ddf6cb70abe93e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toBanAppealContextResult (cyclomatic 14, cognitive 10): toBanAppealContextResult has cyclomatic complexity 14 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":"convex/users.ts"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f60eb736ceb6e31b60c8b0e721612160e0f7513365d11ac64dc001990ca8782"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isSkillExportArchiveEntry (cyclomatic 14, cognitive 10): isSkillExportArchiveEntry has cyclomatic complexity 14 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":"server/convexProxy.ts"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b831be548f5c2452be41e93426744164de2e5d1bfbc1b42c62ad62c1f59db7f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 14, cognitive 9): handler has cyclomatic complexity 14 and cognitive complexity 9; 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":"convex/maintenance.ts"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee060133150136c995c2721d609fe5efb9f845943a712aab05c6887ea669f4e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 9): (anonymous) has cyclomatic complexity 14 and cognitive complexity 9; 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":"scripts/security/clawscan-decisions.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc4b99e81914646a2490967fbe2052c7cca1abda6def1838fae902c65a765afe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runConvexPage (cyclomatic 13, cognitive 28): runConvexPage has cyclomatic complexity 13 and cognitive complexity 28; 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":"scripts/security-dataset/export-snapshot.ts"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b71382de094da4f0f0dc14aff0fdfe9851d864b457e7faad3ea216e31b3445"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tokenize (cyclomatic 13, cognitive 26): tokenize has cyclomatic complexity 13 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/__tests__/helpers/githubWorkflowExpression.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2ef96277f96d9ad593fa4bec55f705d29e8a451bee0b14069ccb64cad3922ed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function generateEmbeddings (cyclomatic 13, cognitive 25): generateEmbeddings has cyclomatic complexity 13 and cognitive complexity 25; 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":"convex/lib/embeddings.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f5feb9b2ad0955a3997dbd81d4dc9a1509df3292dfba9022db61822f6cba1c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 24): (anonymous) has cyclomatic complexity 13 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":"convex/featuredSelections.runtime.test.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8c81ff6b64a17019f9a15f989bb69eb1aa186ed27e9706b5a00937fa7898b2f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 13, cognitive 22): handler has cyclomatic complexity 13 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 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":"convex/skills.ts"},"region":{"startLine":3427}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6afd48bdf4023444c341489baafc3625bd2033326b6210a2beead2ce4be5f7d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 21): (anonymous) has cyclomatic complexity 13 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":"scripts/lib/runWorkerCommand.cleanup.test.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"39b11063a3e6fe2aa25226604f995d880ade746e2158b6a9ee05ef1964769741"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveClawScanTarget (cyclomatic 13, cognitive 21): resolveClawScanTarget has cyclomatic complexity 13 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":"scripts/security/run-codex-scan-worker.ts"},"region":{"startLine":2478}}}],"partialFingerprints":{"codehealthFindingId/v1":"1adb62c993b5461c077ac14f4677800a4f30ac7552f134561bcbc12af7986ce4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getUserPublisherOgAffiliations (cyclomatic 13, cognitive 20): getUserPublisherOgAffiliations has cyclomatic complexity 13 and cognitive complexity 20; 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":"convex/publishers.ts"},"region":{"startLine":1002}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d4fa9332a76b3d65851a1c7437173d21f9a80109f2ea6e46607311f03867fc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 19): (anonymous) has cyclomatic complexity 13 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":"convex/packages.catalogVisibility.runtime.test.ts"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"81d9509354a8923bc37890d0509019ab4396c3eaa070e75123496ba6f32198bf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isPortableAvatar (cyclomatic 13, cognitive 19): isPortableAvatar has cyclomatic complexity 13 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":"packages/schema/src/templates.ts"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"374e84ba7ef5487ea3bcb1a1245da213990e2ecd13ef36ba53cdf84ee94b8614"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function publishSkillV1Handler (cyclomatic 13, cognitive 18): publishSkillV1Handler has cyclomatic complexity 13 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":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":2562}}}],"partialFingerprints":{"codehealthFindingId/v1":"d26a4e2e74c202165733b9c5933719d5f4f66085c9bd9ebdd80993fa2cf4dffb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getReadablePackageByName (cyclomatic 13, cognitive 18): getReadablePackageByName has cyclomatic complexity 13 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":"convex/packages.ts"},"region":{"startLine":2081}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c84d1257484a7154374e41684352afa3b6aac2eca22d63e1394f4cd3f52596e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 13, cognitive 18): handler has cyclomatic complexity 13 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":"convex/skills.ts"},"region":{"startLine":5125}}}],"partialFingerprints":{"codehealthFindingId/v1":"0911fbe61de51dcf8d7b8afcba0c20c4553fe9329eba079752dfffd5e2e2ea4d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cmdListSkillReports (cyclomatic 13, cognitive 18): cmdListSkillReports has cyclomatic complexity 13 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":"packages/clawhub/src/cli/commands/skills.ts"},"region":{"startLine":1282}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a3d902ddfcc6e078a2faa038c31a4729c1d21ddac401ed9f7016569b5ae32f5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runEndorPluginScan (cyclomatic 13, cognitive 18): runEndorPluginScan has cyclomatic complexity 13 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":"scripts/security/run-endor-plugin-scan.ts"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"176f578fd9232aa8bd427b947256d986c1361525354d4f8a1c1f794f7e9a2e34"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadPluginDetail (cyclomatic 13, cognitive 18): loadPluginDetail has cyclomatic complexity 13 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/routes/plugins/$name.tsx"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"40c07bb90f135b73ee7b6bc085eebcb3665134f5600f806e86214de77b060ee5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchGitHubZipBytes (cyclomatic 13, cognitive 17): fetchGitHubZipBytes has cyclomatic complexity 13 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":"convex/lib/githubImport.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4b056a03a22016ad6543f3db675800f673f11ae745fa191ddc2c43aada2ed6d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isStructurallyValidPng (cyclomatic 13, cognitive 17): isStructurallyValidPng has cyclomatic complexity 13 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":"convex/lib/skillPresentation.ts"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"66178255ab7911636d973176c5674e60f8b1ceecd34cd492ec283ca6da81cc4b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function backfillSkillBadgesInternalHandler (cyclomatic 13, cognitive 17): backfillSkillBadgesInternalHandler has cyclomatic complexity 13 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":"convex/maintenance.ts"},"region":{"startLine":2189}}}],"partialFingerprints":{"codehealthFindingId/v1":"80f80f6527c2f9f06188842a46bf8d9e381d7f8fb994a6386a37826b755a1f75"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getUserFacingConvexError (cyclomatic 13, cognitive 17): getUserFacingConvexError has cyclomatic complexity 13 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/lib/convexError.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ae2f1a3665c19d77ddad208b32e263a9397e8f4013ce5514a6c93aa293bbb2e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readAppliedPendingSkillDocDeltas (cyclomatic 13, cognitive 16): readAppliedPendingSkillDocDeltas has cyclomatic complexity 13 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 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":"convex/migrations.ts"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed92f476382bd267f0b904b67482371b75dcc3ff225ab520cdd578227bf88b79"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 13, cognitive 16): handler has cyclomatic complexity 13 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 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":"convex/skillsShMirror.ts"},"region":{"startLine":1690}}}],"partialFingerprints":{"codehealthFindingId/v1":"45cb053280fe40a92c1522edd0bc62ec530576c4d6a00af969dcd5d463b81827"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 16): (anonymous) has cyclomatic complexity 13 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 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":"convex/skillsShMirrorVisibility.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"99c9fc2c55f5416d87826311d15a9a222ac95f8bb763ed09e8a4842b83a1d1d0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 15): (anonymous) has cyclomatic complexity 13 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":"convex/githubSkillSync.test.ts"},"region":{"startLine":1645}}}],"partialFingerprints":{"codehealthFindingId/v1":"7da5c22c4a1bf8d9c36527d8491569545b43c793232fd4c3890cab9b677b6de4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertPackageRuntimeIdAvailable (cyclomatic 13, cognitive 15): assertPackageRuntimeIdAvailable has cyclomatic complexity 13 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":"convex/lib/packageRuntimeIdentity.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd516ba866d739e4384151ddaf3151af409e0c5248015aba4b6b273d8190eaea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function makeDigestCtx (cyclomatic 13, cognitive 15): makeDigestCtx has cyclomatic complexity 13 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":"convex/packages.public.test.ts"},"region":{"startLine":1382}}}],"partialFingerprints":{"codehealthFindingId/v1":"92f552a595cded52dc7a350770828981307d8f12d145f8592a64e1ab5a8aace6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function upsertPublisherAbuseReviewNomination (cyclomatic 13, cognitive 15): upsertPublisherAbuseReviewNomination has cyclomatic complexity 13 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":"convex/publisherAbuse.ts"},"region":{"startLine":2462}}}],"partialFingerprints":{"codehealthFindingId/v1":"614569394ea990a5cc6fb671e1e482d69497f4c96418257304315b65e82ce777"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 13, cognitive 15): handler has cyclomatic complexity 13 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":"convex/skills.ts"},"region":{"startLine":11096}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e368d7a02f1c100594bc6495c799d5eda1c7a643057d0629659a6b1400917d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 13, cognitive 14): handler has cyclomatic complexity 13 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":"convex/maintenance.ts"},"region":{"startLine":3242}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e24d30bc4299eb19e3afb65dd330a38eff012e29328697ace4be65518460f2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hardDeletePackageDoc (cyclomatic 13, cognitive 14): hardDeletePackageDoc has cyclomatic complexity 13 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":"convex/packages.ts"},"region":{"startLine":5417}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad09dc9cc06f682fbb2685c0622df14e487cd9a237be52d00804849f083a2710"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setPromotionStatusForActor (cyclomatic 13, cognitive 14): setPromotionStatusForActor has cyclomatic complexity 13 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":"convex/promotions.ts"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"556fd83884fc89b7a954fc45eb91a06bed5161252b0554caaa2011ff013736fe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadPublicLatestVersionForDigest (cyclomatic 13, cognitive 14): loadPublicLatestVersionForDigest has cyclomatic complexity 13 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":"convex/skills.ts"},"region":{"startLine":5316}}}],"partialFingerprints":{"codehealthFindingId/v1":"86d31bdae40640405b3b0268db748796fb94055de6236834e76eb5576e90b657"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 13, cognitive 14): handler has cyclomatic complexity 13 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":"convex/skillsShCatalog.ts"},"region":{"startLine":1912}}}],"partialFingerprints":{"codehealthFindingId/v1":"5224989a316668cd3f2b4e6a73ab2067866469d4663c32958bff6d6eed16c709"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cmdReclassifyBan (cyclomatic 13, cognitive 14): cmdReclassifyBan has cyclomatic complexity 13 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":"packages/clawhub-admin/src/commands/moderation.ts"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"76fc91334a509f54e83328462c5777a255d6a4ab6f886b468208fbace768cb08"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runSkillEvaluationWorker (cyclomatic 13, cognitive 14): runSkillEvaluationWorker has cyclomatic complexity 13 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":"scripts/evaluations/run-skill-evaluation-worker.ts"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2e4cf5c2b6c4a53c5e876481f0275db7c29172c105283b395f0c7817c19c326"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runDiagnosticProcess (cyclomatic 13, cognitive 14): runDiagnosticProcess has cyclomatic complexity 13 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":"scripts/security/run-clawscan-diagnostic.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"2471d3295264d7ce4c9a1b75e8cd98483f5466167aad88b6a20c91c1b2772bcb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchSkillPageData (cyclomatic 13, cognitive 14): fetchSkillPageData has cyclomatic complexity 13 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/lib/skillPage.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"f90c4a27c692ca26a59da2cd308fea2e5021d35df565eef0db08486cfb437db0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onSaveOrgProfile (cyclomatic 13, cognitive 14): onSaveOrgProfile has cyclomatic complexity 13 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/routes/settings.tsx"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"b767e44e65208592f5d0b10b8b4507db1bcbebc035e1ee7ebc70fe40a2c7e69c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getSkillHandler (cyclomatic 13, cognitive 13): getSkillHandler has cyclomatic complexity 13 and cognitive complexity 13; 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":"convex/httpApi.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6cf7b6efb9a2aa5b5edfe381b8ed49616c5b3b704bec77f375303e28b3d892e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 13, cognitive 13): handler has cyclomatic complexity 13 and cognitive complexity 13; 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":"convex/packageSdkUsage.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"96f23d9032a9d52026bae133dece9364ee50442532eb78828a2c0442c7c9ded9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decodeStablePackageDiscoveryCursor (cyclomatic 13, cognitive 13): decodeStablePackageDiscoveryCursor has cyclomatic complexity 13 and cognitive complexity 13; 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":"convex/packages.ts"},"region":{"startLine":3224}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9309bb0ca571807ef12df073230b892af51ebf293dcfe756839644362fb890a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTemporalPublisherAbuseScanInternalHandler (cyclomatic 13, cognitive 13): runTemporalPublisherAbuseScanInternalHandler has cyclomatic complexity 13 and cognitive complexity 13; 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":"convex/publisherAbuse.ts"},"region":{"startLine":1940}}}],"partialFingerprints":{"codehealthFindingId/v1":"d78b361df80678cfd52f339e63b0b957c7d1c32278e35be7cdf5282bf4780f5c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function advanceScheduledTemporalCandidatesInternalHandler (cyclomatic 13, cognitive 13): advanceScheduledTemporalCandidatesInternalHandler has cyclomatic complexity 13 and cognitive complexity 13; 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":"convex/publisherAbuseTemporalScan.ts"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"925196bd2eddce6efea1ceb6106867e7aeee7c233d52ae404eaa92810d6d4318"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isOwnerInitiatedSkillHideForAdminTransfer (cyclomatic 13, cognitive 13): isOwnerInitiatedSkillHideForAdminTransfer has cyclomatic complexity 13 and cognitive complexity 13; 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":"convex/skills.ts"},"region":{"startLine":11385}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a4e627928b65a8c5e48beddf53ea61b9e80b5b94cf52b50aeb117eb8e02450c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 13, cognitive 13): parseArgs has cyclomatic complexity 13 and cognitive complexity 13; 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":"scripts/dev-worktree.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"50fe63e6b3f7c83d52b7d29201ff91d399556c6f215182b64f9816ea015ac551"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleSearchKeyDown (cyclomatic 13, cognitive 13): handleSearchKeyDown has cyclomatic complexity 13 and cognitive complexity 13; 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/Header.tsx"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"a03a1b0d2fead103853395b2acfa1655926d45a8ef0d562c492590d6d691dc55"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function retainTopCanonicalTrendingCandidates (cyclomatic 13, cognitive 12): retainTopCanonicalTrendingCandidates has cyclomatic complexity 13 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":"convex/lib/canonicalTrending.ts"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"c169ec9027da79901e09317e97bfcab75470aa3aa4ac2fd2135c4efba75f9a82"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateSkillPresentationIcon (cyclomatic 13, cognitive 12): validateSkillPresentationIcon has cyclomatic complexity 13 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":"convex/lib/skillPresentation.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d60f74cd7c6e7453f337f2f7771b34d63c390243c57ec21aec0b352b3742489"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 12): (anonymous) has cyclomatic complexity 13 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":"convex/packages.public.test.ts"},"region":{"startLine":12483}}}],"partialFingerprints":{"codehealthFindingId/v1":"e75377349f13b885b0ba7d2a0da30e4c47f11ef8f1e0bc73028b025135a5b991"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 12): (anonymous) has cyclomatic complexity 13 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":"convex/packages.ts"},"region":{"startLine":7058}}}],"partialFingerprints":{"codehealthFindingId/v1":"e07f0ab7f7b895777cc26f22672e992ce221563c4a38ee33aec781bc536a445e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function summarizePublisherForAbuseReview (cyclomatic 13, cognitive 12): summarizePublisherForAbuseReview has cyclomatic complexity 13 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":"convex/publisherAbuse.ts"},"region":{"startLine":3219}}}],"partialFingerprints":{"codehealthFindingId/v1":"c72f486bbb418935573aefec074bb9c143b35bba995ca19fecb43166d5a4de61"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 12): (anonymous) has cyclomatic complexity 13 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":"convex/publishers.test.ts"},"region":{"startLine":2590}}}],"partialFingerprints":{"codehealthFindingId/v1":"7da9e347ed959b86b91c3896fe3d261d3c340603354fb65058b2a46d352ec86b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 12): (anonymous) has cyclomatic complexity 13 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":"convex/publishers.test.ts"},"region":{"startLine":2692}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdb5c8ba692fcb5816f56820e9ddb168dc5af020a22a4defc1d9fdddaeed83ce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 13, cognitive 12): handler has cyclomatic complexity 13 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":"convex/publishers.ts"},"region":{"startLine":2289}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a576e9f4f34de19e001eb19d00478376dd26582c46d50675148c04a34cb64af"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 13, cognitive 12): handler has cyclomatic complexity 13 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":"convex/publishers.ts"},"region":{"startLine":3705}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e536641d8add38a09cf0f4a228b24b42db93c716abef54f9f3323be0ac39aac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 12): (anonymous) has cyclomatic complexity 13 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":"convex/skillPresentationBackfill.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6f161a2b2c30b39f58d62f2763cb2d1f2a4007652eb06e325b5d2655782ba18"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 12): (anonymous) has cyclomatic complexity 13 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":"convex/skills.backportLatest.test.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb586ac17b309f3b28134183cd61249de57f449159e580b5fe9819839c6b5222"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 12): (anonymous) has cyclomatic complexity 13 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":"convex/skills.rateLimit.test.ts"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"746233f9752d6a1deea89d9f681acb4602fa4d1bf20a6cec7a85b83c2d5e3079"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 12): (anonymous) has cyclomatic complexity 13 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":"convex/skills.rateLimit.test.ts"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"911b4943dbef5edf2ea9cc5b19043ab8d1d4968cfbc610e806ae52aa6569f89a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 12): (anonymous) has cyclomatic complexity 13 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":"convex/skills.rateLimit.test.ts"},"region":{"startLine":980}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcc2bc12f80e49ad053344a38fbb51e45ba99e98e0f7f9f02be06953337690d0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 12): (anonymous) has cyclomatic complexity 13 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":"convex/skills.rateLimit.test.ts"},"region":{"startLine":1163}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef1401215d4d9d51c7923c615932eb713389ccd0c8be050160acac18aca6fe61"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decodeSkillCatalogCursor (cyclomatic 13, cognitive 12): decodeSkillCatalogCursor has cyclomatic complexity 13 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":"convex/skills.ts"},"region":{"startLine":5567}}}],"partialFingerprints":{"codehealthFindingId/v1":"958ebc4a5d78af3122fd12e4603c5ffdd1ee0fac90bb41dbb8f3b104bd1ad4e1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 13, cognitive 12): handler has cyclomatic complexity 13 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":"convex/users.ts"},"region":{"startLine":2410}}}],"partialFingerprints":{"codehealthFindingId/v1":"45e4cb2e46211baf2449745b55475b7087e0ac4a6469b6897d07952cb7866695"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 12): (anonymous) has cyclomatic complexity 13 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":"packages/clawhub-admin/src/commands/packages.ts"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"6263511f3c6bba6904eb8369001db8dd11563acd18a41f8728db488bb0fc361c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cmdPackPackage (cyclomatic 13, cognitive 12): cmdPackPackage has cyclomatic complexity 13 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":"packages/clawhub/src/cli/commands/packages.ts"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"0324d935e5b8caea0cc050030721400919f9704f607c47f86cc49cb322f1c584"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildLabelRows (cyclomatic 13, cognitive 12): buildLabelRows has cyclomatic complexity 13 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":"scripts/security-dataset/normalize.ts"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b4c131aeb496a92c6bc40931bad800c6f984fdb8296b90fbe09a56850a6b84d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 12): (anonymous) has cyclomatic complexity 13 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":"scripts/security/clawscan-decisions.test.ts"},"region":{"startLine":846}}}],"partialFingerprints":{"codehealthFindingId/v1":"600648a79c1051779af554d38b3529417ced2d0923af8f5de0082cb85a482591"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 12): (anonymous) has cyclomatic complexity 13 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":"scripts/security/clawscan-receipt.test.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dff13e993879e2b775e0ebe19b64f260681e66c171e78c6c96fc98af3d1f49e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 12): (anonymous) has cyclomatic complexity 13 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":"scripts/security/run-codex-scan-worker-clawscan.test.ts"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f500ef0b99b30abd8247f356a750095ed744aea2b87a833d14b0afc9771de9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 12): (anonymous) has cyclomatic complexity 13 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":"server/skillsShMirrorMalformedRows.test.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbb7c9b82790a833f4c2af5e0e0f06b3e1614f691c4a9ca49efd8d73f64e9819"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SkillOwnershipPanel (cyclomatic 13, cognitive 12): SkillOwnershipPanel has cyclomatic complexity 13 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/SkillOwnershipPanel.tsx"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"32c7853132f917486a8c0cddbfa6b228541bb35893b9debc5d5f79b5704ef03c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveRelativeSrc (cyclomatic 13, cognitive 12): resolveRelativeSrc has cyclomatic complexity 13 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/rehypeProxyImages.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"60d789a283010d31683417abc829fe77d89f5f89c5a1041b6913f75126efd1d4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PluginSecurityAuditPage (cyclomatic 13, cognitive 12): PluginSecurityAuditPage has cyclomatic complexity 13 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/routes/plugins/$name/security-audit.tsx"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d6f12fd4cb1490f3f2343130ba2e993b2038992be2d74762f38d0b1869dcc53"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 12): (anonymous) has cyclomatic complexity 13 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/routes/plugins/publish.tsx"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"55f59125fba19c6f226a38afe3565b79175eb3ab55b9198573085e5d05441ad4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 12): (anonymous) has cyclomatic complexity 13 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/routes/skills/publish.tsx"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"526a73c062c7418a65488f8af3b7114d23dd1d7e5e8dc7aa877d82e5bb869981"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 12): (anonymous) has cyclomatic complexity 13 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/routes/skills/publish.tsx"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"13d14df9d1f4938feffea582ff737f913d9fb7f045d2a2822d4d3dba26fb38b8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseOpenAiSkillPresentation (cyclomatic 13, cognitive 11): parseOpenAiSkillPresentation 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":"convex/lib/skillPresentation.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a0f7cdad17f7fb9d04a7e64d6604400250048608aacad7aca41991c02ef9c43"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 13, cognitive 11): handler 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":"convex/packages.ts"},"region":{"startLine":2389}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a044e963e20cfae9dce0ff48ff6fdf41b15142a40697df0178eaf1b31ebd816"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 13, cognitive 11): handler 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":"convex/packages.ts"},"region":{"startLine":2451}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dd50ed7486b69b2f8dbb00f445250253b847d4a78c994ff02e229dd254ea92e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 13, cognitive 11): handler 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":"convex/skills.ts"},"region":{"startLine":9966}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e7d5ecf4e2019c333e5c5128677d87e84c42b7c940ba110d89b096b46cf780b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 13, cognitive 11): handler 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":"convex/skillsShCatalog.ts"},"region":{"startLine":1776}}}],"partialFingerprints":{"codehealthFindingId/v1":"fddbe201f8959ff0c6a68666203ffc03b0c64d6f3aa21bbebbbc13ef59420d11"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createClawPackFromFolder (cyclomatic 13, cognitive 11): createClawPackFromFolder 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":"packages/clawhub/src/cli/commands/packages.ts"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b294f4d90e6c1f3b1003ac30586b158fb397fec00d038c31bbb0e54df5b0282"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 11): (anonymous) 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":"scripts/security/prepublication-worker-workflow.test.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ceeb740408102d403349940dab8cc9f6ddab66c482e473e00e7a46c25f4b4b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 13, cognitive 10): handler has cyclomatic complexity 13 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":"convex/devSeed.ts"},"region":{"startLine":4708}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3e3a6a60fde999a6c8c2ce0519ae9773e904af155f558a3f325826d0c2d5304"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 13, cognitive 10): handler has cyclomatic complexity 13 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":"convex/skillCards.ts"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ee6b346a6725fcc6b7c0b8373301dea88847355c0ad29ffdb61edccd24cc5e7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isAuditFinding (cyclomatic 13, cognitive 10): isAuditFinding has cyclomatic complexity 13 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":"scripts/design-audit/report.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"25b0409e37bdbd66de5a9d2a348231a37ae090b0f33d1c9c8f36fe75b35f5c2b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hasValidStagingEdgeSecret (cyclomatic 13, cognitive 9): hasValidStagingEdgeSecret has cyclomatic complexity 13 and cognitive complexity 9; 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":"convex/lib/clawhubVercelOidc.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5afe5be546d46c9d09d116e9149f2003a246baf1e13ff14f1439ac71c9de9a2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 9): (anonymous) has cyclomatic complexity 13 and cognitive complexity 9; 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/routes/plugins/index.tsx"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"da5f8566f7809419474d6bcba26d85c098c303fd3b3f1e1d7848fa97b6ab244e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function retireLegacyLocalOwnerPublishers (cyclomatic 12, cognitive 25): retireLegacyLocalOwnerPublishers has cyclomatic complexity 12 and cognitive complexity 25; 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":"convex/devSeed.ts"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"88e67a41f7465e07da063d5a2945d0b6693af688f83a06276cea3dc191086927"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readJson (cyclomatic 12, cognitive 25): readJson has cyclomatic complexity 12 and cognitive complexity 25; 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":"convex/lib/mcpPublicInspection.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"a550e1d1d0c759b027a88ab939279bae3c3587776daf9e997b76b2ce0971145f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 12, cognitive 22): handler has cyclomatic complexity 12 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 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":"convex/searchInsightsFixtures.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"1efddc16396745fe8f48d8d28943b6d0701f3b8400cf56aead2d1c1f1c4c8de2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addTopicTextEvidence (cyclomatic 12, cognitive 21): addTopicTextEvidence has cyclomatic complexity 12 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":"convex/lib/catalogClassifier.mjs"},"region":{"startLine":1834}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd1d376fa0d21f549a347a51e8df2c612ed92448ac524af95bac8f0896b14beb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateTargets (cyclomatic 12, cognitive 21): validateTargets has cyclomatic complexity 12 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":"scripts/ranking-metrics/rankingDataset.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c5e363212a48d740effcc923b8f41558305869e8daf6f040461151dfefcb11b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 20): (anonymous) has cyclomatic complexity 12 and cognitive complexity 20; 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":"server/skillsShCatalogSource.ts"},"region":{"startLine":2382}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d449de7b9dfab3b4ecd6f59c093ddec2a2b3a052df7506c73c0cf3dd798090c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function appendFindings (cyclomatic 12, cognitive 20): appendFindings has cyclomatic complexity 12 and cognitive complexity 20; 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/routes/plugins/$name.tsx"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"81dd37cfc720c4ad9cd2b1fd32e4f18c0d6991dfee3d8b5698cbf999af167cf4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function repairLegacyPluginSkillSpectorBatchInternalHandler (cyclomatic 12, cognitive 19): repairLegacyPluginSkillSpectorBatchInternalHandler has cyclomatic complexity 12 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":"convex/maintenance.ts"},"region":{"startLine":1448}}}],"partialFingerprints":{"codehealthFindingId/v1":"c744953631ab1eb00a936526a2d496dbac2ccf65b4f24cbe09f5e6bb91d96500"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveSourceInput (cyclomatic 12, cognitive 19): resolveSourceInput has cyclomatic complexity 12 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":"packages/clawhub/src/cli/commands/github.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"769da94557029c0cfb9f160c949ac4e4542cbf48162045e342de074597fdf069"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateOpenClawExternalCodePluginPackageContents (cyclomatic 12, cognitive 19): validateOpenClawExternalCodePluginPackageContents has cyclomatic complexity 12 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":"packages/schema/src/openclawContract.ts"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b8ee2effe013a0aefc3ff030069bbfa369c196c5938e32f27deb8db053506ca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function waitForProofEndpoint (cyclomatic 12, cognitive 19): waitForProofEndpoint has cyclomatic complexity 12 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":"scripts/ui-proof-backend.mjs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a8c85b6d2415683166c3ef7e9dd8b62de80b922c50e2bdad4c6214c349aa60"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function blendCanonicalTrendingPools (cyclomatic 12, cognitive 18): blendCanonicalTrendingPools has cyclomatic complexity 12 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":"convex/lib/canonicalTrending.ts"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2f0de9ac0d23ca0d189753efe663076f0f4d4d19d112348e694412411b01d7d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 18): (anonymous) has cyclomatic complexity 12 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":"convex/packages.communityTemplates.runtime.test.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"4605540763a9607c32ecba913a1501624a90e6b881c002a1c15e994347977e46"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function finishTrendingRun (cyclomatic 12, cognitive 18): finishTrendingRun has cyclomatic complexity 12 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":"scripts/skills-sh-catalog/prove-trending-test.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5fe340d6717b37955aa17ea4dbede89f88140ee4c71f109daa682743f47d68c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 18): (anonymous) has cyclomatic complexity 12 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/lib/rehypeProxyImages.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"5624fd1d135c64d769e7bde123ff76d2233967a507caa64427d83c41fc716fa6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 17): (anonymous) has cyclomatic complexity 12 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":"convex/curatedPluginDiscovery.runtime.test.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"325ed0fdb440c80ff70dd12ba370cc16ee6859410876e7498b4ca3ae9ec7b569"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mayHaveVisiblePackageCategoryDigest (cyclomatic 12, cognitive 17): mayHaveVisiblePackageCategoryDigest has cyclomatic complexity 12 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":"convex/packages.ts"},"region":{"startLine":1877}}}],"partialFingerprints":{"codehealthFindingId/v1":"c253bb24f0b8cf356813ea024f19db463f84bdd12289e8f9a6662c0dbc445d09"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readRefreshManifests (cyclomatic 12, cognitive 17): readRefreshManifests has cyclomatic complexity 12 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":"convex/pluginCategoryRefresh.ts"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"5585d694d4cd7adc3a90d35fcfdcff4e6ea04e6e0f9eb4aa7378bd174535b775"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 12, cognitive 17): handler has cyclomatic complexity 12 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":"convex/skills.ts"},"region":{"startLine":5845}}}],"partialFingerprints":{"codehealthFindingId/v1":"db4162feb40281d5659a17db20f0fcfc14ec98e8c7ac822f365274e179e66161"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mergeDailyTable (cyclomatic 12, cognitive 17): mergeDailyTable has cyclomatic complexity 12 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":"scripts/ranking-metrics/import-test-ranking-metrics.ts"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"836645e4a1045d2efcdec4e9b63eb1e18267174897da1ff092bb511f11fab034"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function linkFromSource (cyclomatic 12, cognitive 17): linkFromSource has cyclomatic complexity 12 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":"scripts/setup-worktree.ts"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b4e8b5515d29435650bde53ed5be71fdc0b821555ea752e3c20dabdc2d17980"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 12, cognitive 17): main has cyclomatic complexity 12 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":"scripts/skills-sh-catalog/capture-frozen-snapshot.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3b0f3a941dd29b48cd1af90d7e1ea1a2797d15dc879529abf35ea1ba3527950"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readRedactedBundleFiles (cyclomatic 12, cognitive 16): readRedactedBundleFiles has cyclomatic complexity 12 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 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":"convex/lib/securityDatasetContent.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"410dbeb1615abff9b774ba8660532759f67ea72836b72f45f4d35b21842d3b4f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 12, cognitive 16): handler has cyclomatic complexity 12 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 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":"convex/packages.ts"},"region":{"startLine":12093}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ac0efb5777744b8ecd881e6d176c529f7a08bc2f86862c526bf5e7fe9a20e4b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function printPackagePublication (cyclomatic 12, cognitive 16): printPackagePublication has cyclomatic complexity 12 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 is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/packages.ts"},"region":{"startLine":1891}}}],"partialFingerprints":{"codehealthFindingId/v1":"469ed39ba323b6995e90a1c83210eff36ec50ee807655a5282db00a8d9a3da4d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectValue (cyclomatic 12, cognitive 16): inspectValue has cyclomatic complexity 12 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 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":"scripts/security-dataset/validate-guardrails.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"b04f85891c7c4220a9b61db60253f4da635120e1c4dc43b35b95930e95e3e81d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ensureLocalSeedOwner (cyclomatic 12, cognitive 15): ensureLocalSeedOwner 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":"convex/devSeed.ts"},"region":{"startLine":2074}}}],"partialFingerprints":{"codehealthFindingId/v1":"7012c9c3ad1cd38677b240a52d0cfb7f1c07c0c22dabe61f89be8f9aef5a9639"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleAdminReclaimDeletedOrgHandle (cyclomatic 12, cognitive 15): handleAdminReclaimDeletedOrgHandle 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":"convex/httpApiV1/usersV1.ts"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"b812b66f6ab4ff039f152442abb6918f9b50dc6f1928c8e4538ef49fd17d2f58"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 15): (anonymous) 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":"convex/searchWeeklyDigest.ts"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"839da1312dcc6162ba336b86d60b396376d176f516f691497212f4fcc8e8f2c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function printPackageInspectorFindings (cyclomatic 12, cognitive 15): printPackageInspectorFindings 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":"packages/clawhub/src/cli/commands/packages.ts"},"region":{"startLine":1337}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae4ee693ba45f1b4245cefa9844943832dad9bb8e9ffc6e32113c81fc7ae2fe1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cmdList (cyclomatic 12, cognitive 15): cmdList 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":"packages/clawhub/src/cli/commands/skills.ts"},"region":{"startLine":1113}}}],"partialFingerprints":{"codehealthFindingId/v1":"238bc6a88d2eda818ae956ce87ab5bc50fe95241b0aefbac08f40f82aceba454"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stripInlineComment (cyclomatic 12, cognitive 15): stripInlineComment 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":"scripts/dev-worktree.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3cd9f896cdd63cd791b50705ed24783bb0a46a0bb2bb1c08b8eb4ac890921e2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 12, cognitive 15): parseArgs 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":"scripts/extract-changelog-release.mjs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"74e41e6d817e632b1bfb3b01108d4fc877d7aed61c9289d863275fa83d2effca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizePackageRoot (cyclomatic 12, cognitive 15): normalizePackageRoot 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":"scripts/security/run-endor-plugin-scan.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"977324c78eb0819dee8806aeb3ad10d40885c182bce58f88a9dda7bd690283e7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyFetchedGitHubSkillSourceSnapshot (cyclomatic 12, cognitive 14): applyFetchedGitHubSkillSourceSnapshot has cyclomatic complexity 12 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":"convex/githubSkillSync.ts"},"region":{"startLine":2636}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e54e0cfb72df321cd5076c097c8b7d5976123a16b53bf484cce68ececb47339"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 12, cognitive 14): handler has cyclomatic complexity 12 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":"convex/packages.ts"},"region":{"startLine":12293}}}],"partialFingerprints":{"codehealthFindingId/v1":"e82219b20e949c19c32dba097f9a1dd4a5d0b60a6c60411fbe0f19a1f5363a2d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 12, cognitive 14): handler has cyclomatic complexity 12 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":"convex/skills.ts"},"region":{"startLine":2975}}}],"partialFingerprints":{"codehealthFindingId/v1":"60eea5a4375aa65bdeb9e8da20a27dfad49ae498ca1c63ccf3d9291b0e726c5e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveSkillsShCatalogInstall (cyclomatic 12, cognitive 14): resolveSkillsShCatalogInstall has cyclomatic complexity 12 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":"packages/clawhub/src/cli/commands/skills.ts"},"region":{"startLine":1480}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ec6bd1c911710a0d4af4bab91d5844496d67c5229860d65138ad50727b692ef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 12, cognitive 14): main has cyclomatic complexity 12 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":"scripts/dev-worktree.ts"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"399a7a081c823b52e4259c3fe8762cf858e62480556efe4aa83a984ab28d377b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runBundledSkillSpector (cyclomatic 12, cognitive 14): runBundledSkillSpector has cyclomatic complexity 12 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":"scripts/security/run-codex-scan-worker.ts"},"region":{"startLine":1715}}}],"partialFingerprints":{"codehealthFindingId/v1":"04c621dd44dc0b6b6437fb7977df32065e48ded0ea2ea97bc6380675c5c2e427"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveVercelBuildPlan (cyclomatic 12, cognitive 14): resolveVercelBuildPlan has cyclomatic complexity 12 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":"scripts/vercel-build.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"c402d05eb668ba03f9de4597d950d6a5aedf0212d23883f1cb195d77de972a3a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deleteForPublisherHandler (cyclomatic 12, cognitive 13): deleteForPublisherHandler has cyclomatic complexity 12 and cognitive complexity 13; 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":"convex/githubSkillSources.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"b98a06c31939a0b6f7f08bd31cfa6481314c77ecab8cfcbbc2fda0fd15a3863a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleSkillScanBatchSubmit (cyclomatic 12, cognitive 13): handleSkillScanBatchSubmit has cyclomatic complexity 12 and cognitive complexity 13; 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":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f34af5d9f39d822bcda0cdd7a8bb275c043b1c3d208c4794b5990f433c04de8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function detectPublisherAbuseOwnerSynchrony (cyclomatic 12, cognitive 13): detectPublisherAbuseOwnerSynchrony has cyclomatic complexity 12 and cognitive complexity 13; 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":"convex/lib/publisherAbuseOwnerSynchrony.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1aff848e39f40d7674434b9417724b3bb020dacd8d785affb9159af175101db"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 12, cognitive 13): handler has cyclomatic complexity 12 and cognitive complexity 13; 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":"convex/packages.ts"},"region":{"startLine":9723}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f221e9ef832aa2f985fad2781322834d27dd560ef6deb478e78d19af71c395c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 12, cognitive 13): handler has cyclomatic complexity 12 and cognitive complexity 13; 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":"convex/packages.ts"},"region":{"startLine":10894}}}],"partialFingerprints":{"codehealthFindingId/v1":"282e0de5ceb8e6337acb324bd1b3c77a0d3a1b5ede68d65f3ec16a3dfce31967"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function quarantineMaliciousLatestPackageRelease (cyclomatic 12, cognitive 13): quarantineMaliciousLatestPackageRelease has cyclomatic complexity 12 and cognitive complexity 13; 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":"convex/packages.ts"},"region":{"startLine":11733}}}],"partialFingerprints":{"codehealthFindingId/v1":"793616dad220930eec6d9979d2875bf4e65862795de99c8bbe8ca13797a1ec99"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 13): (anonymous) has cyclomatic complexity 12 and cognitive complexity 13; 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":"convex/searchReports.ts"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"73cf87260daee77536414312128aad1bfe9d972bae509ed21b34fcbd427a1c17"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 12, cognitive 13): handler has cyclomatic complexity 12 and cognitive complexity 13; 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":"convex/skills.ts"},"region":{"startLine":4062}}}],"partialFingerprints":{"codehealthFindingId/v1":"3918beb08bc048c3a6c2e2400985759affcfcbe8d8033e1bf0ffde6f79261f59"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cmdHardDeletePackage (cyclomatic 12, cognitive 13): cmdHardDeletePackage has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/packages.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"5690db57cba47c363befc7718199215878b5306e33f38d78f54b553b654e3ad8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function auditExitCode (cyclomatic 12, cognitive 13): auditExitCode has cyclomatic complexity 12 and cognitive complexity 13; 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":"scripts/ci-audit.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"a20e9d255d90bbd268fa6dda4140bb65fbd6708a22da3769d175ab7be5e37aab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadMore (cyclomatic 12, cognitive 13): loadMore has cyclomatic complexity 12 and cognitive complexity 13; 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/PluginVersionsPanel.tsx"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"43e1d25b13980c634d4993a1f9ce4bcad6f18f4c2f490ec891b819c4cc7a47f5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 13): (anonymous) has cyclomatic complexity 12 and cognitive complexity 13; 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/routes/-management.test.tsx"},"region":{"startLine":1638}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b8d717ecf3098474e34a4708974d014f050c898a8fda622b6fd92aeac613000"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 12, cognitive 12): handler has cyclomatic complexity 12 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":"convex/catalogClassification.ts"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfe292e8c5258f4fd74e05270bfa52dea496fe09095455f0e891e79ec90c8b51"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function configurePublicGitHubSkillSourceHandler (cyclomatic 12, cognitive 12): configurePublicGitHubSkillSourceHandler has cyclomatic complexity 12 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":"convex/githubSkillSync.ts"},"region":{"startLine":2546}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e10a4bb71d236bfb56d948976b7361d3fd89c6dc38b9055c6a013a8413010a3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function starsPostRouterV1Handler (cyclomatic 12, cognitive 12): starsPostRouterV1Handler has cyclomatic complexity 12 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":"convex/httpApiV1/starsV1.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ea22fdc4c09f408bc0aac5d5da952ea35a1229d80e30f616426423ddd82dfc2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 12, cognitive 12): handler has cyclomatic complexity 12 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":"convex/packages.ts"},"region":{"startLine":8967}}}],"partialFingerprints":{"codehealthFindingId/v1":"a29c1946dc29825cd5e4564d43575a9014ac6038e0e2d13650f0c89c1aa30543"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 12, cognitive 12): handler has cyclomatic complexity 12 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":"convex/securityScan.ts"},"region":{"startLine":3559}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c823f65c5ab24af349547f68c2e43f1a42fc8be1c4ddd9ec2ba0c4c7d729896"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 12): (anonymous) has cyclomatic complexity 12 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":"convex/skillsShCatalogCanary.test.ts"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"80602c831ef69bda5744ae0ef14f7cd2950841b8e0cd28177d993d855ec6d394"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 12, cognitive 12): handler has cyclomatic complexity 12 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":"convex/users.ts"},"region":{"startLine":1267}}}],"partialFingerprints":{"codehealthFindingId/v1":"426981ab3a266e18cdbeed9155c45cf00605e51761279cd61ee458788a97b3d6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function planScanWorkers (cyclomatic 12, cognitive 12): planScanWorkers has cyclomatic complexity 12 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":"packages/clawhub-admin/src/scanAssignments.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff15abc86d4933075b53d3846c424815c2344d6c9bd95c37eed2a555ff4a36bd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectReleaseTagErrors (cyclomatic 12, cognitive 12): collectReleaseTagErrors has cyclomatic complexity 12 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":"scripts/clawhub-cli-npm-release-check.mjs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd45a4e6916ab5699b37302722de22e55c7c58e9dd2229a49dcc9e3bbb0e8206"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 12): (anonymous) has cyclomatic complexity 12 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/routes/-management.test.tsx"},"region":{"startLine":1506}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ce332359d415ef004ff423a76f160e875ac08f066eca5e28fde995a6f18c92d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 12, cognitive 11): handler 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":"convex/canonicalTrending.ts"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e341e395898bec6e30baf0f044cb3ce231603d372dffee01ff592e003a6a928"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) 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":"convex/devSeed.localFixtures.test.ts"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e9b61e580d5d134d8666dd6f417301ddb44afbaa0986ceffb8832edc8df07a8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readSummary (cyclomatic 12, cognitive 11): readSummary 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":"convex/downloadAnalytics.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d71346c9e529960fcd3340bd67e1143b759b0e5a4c782f2d473ebf64c8d62c1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runMutation (cyclomatic 12, cognitive 11): runMutation 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":"convex/githubSkillSync.live.test.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"48c9c628898f257014a5dd6e82386048f31e252fa15d7556ec9a43aba4c39e26"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildSecurityVerdictItem (cyclomatic 12, cognitive 11): buildSecurityVerdictItem 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":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":1057}}}],"partialFingerprints":{"codehealthFindingId/v1":"76cf15519e8134def00762646f1295c5b669a4fb0dc69ba37cc538eb6ad657ba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) 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":"convex/lib/featuredIntelligence.ts"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"00ee811ebc845fc064fdcb2bec051c920337ae1837cc5bc7a7e5d98e3f040856"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseSkillsShDisplayManifest (cyclomatic 12, cognitive 11): parseSkillsShDisplayManifest 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":"convex/lib/githubSkillSync.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"db4d7d164eadb5966f932d87733eebcc267b159ff27746fd24f7e19208235759"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) 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":"convex/packages.public.test.ts"},"region":{"startLine":12566}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc486c557e66c392a185ed46ded57e4e579a9e61107d5de535d8bb0465ad4ee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parsePluginExportSourceState (cyclomatic 12, cognitive 11): parsePluginExportSourceState 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":"convex/packages.ts"},"region":{"startLine":3266}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e41689c5423f24eead7c5fcd5debd6d877ef1629509e287f8c47ccce4cf6d1e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) 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":"convex/pluginInspectorReleaseScan.chain.runtime.test.ts"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7a4d86792e4431db4d674e0771f398d3f54cfc7f551e8198df5e8cbbafaf8b6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function summarizePublisherAbuseScoreForReview (cyclomatic 12, cognitive 11): summarizePublisherAbuseScoreForReview 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":"convex/publisherAbuse.ts"},"region":{"startLine":3180}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ad67c91b4aef4c1e50af66b92730b658efe6237d827121b9bfadfca49e9c87a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function storeScheduledTemporalScanPageInternalHandler (cyclomatic 12, cognitive 11): storeScheduledTemporalScanPageInternalHandler 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":"convex/publisherAbuseTemporalScan.ts"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"613100d505c7df244e47f195552daf77d4f1803e89efd8d4e4f567b6c2e2f5d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) 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":"convex/publishers.test.ts"},"region":{"startLine":2768}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9984c575e33bb4d45defbc18daac10ce0ec85d103e36bf4306cc349acc56441"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) 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":"convex/publishers.test.ts"},"region":{"startLine":2976}}}],"partialFingerprints":{"codehealthFindingId/v1":"aac4b7177ae9fc3245b83c3edf5ec8d5b757db19478cf5cd80f4708bf84edb76"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 12, cognitive 11): handler 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":"convex/searchTestFixtures.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b2c3dcea741eb7d79d8922794e07a0f017b555c942d6e25c6d8a222586d8976"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) 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":"convex/skills.rateLimit.test.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e531447984b3710841f32030f7292af5df9b26198dbdce252bb2500898a6555"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) 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":"convex/skills.rateLimit.test.ts"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"5253450ec51ef17c8255be4e7bb60c88c37d73afbb6aadb3ecf267a1d480e4ec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildScannerModerationPatchFromVersion (cyclomatic 12, cognitive 11): buildScannerModerationPatchFromVersion 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":"convex/skills.ts"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"6edd2ba2176bbdb76fd75325f59492a4c1e90412cd3412ac17eaa93db1139e18"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function skillCatalogMatchesFilters (cyclomatic 12, cognitive 11): skillCatalogMatchesFilters 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":"convex/skills.ts"},"region":{"startLine":5618}}}],"partialFingerprints":{"codehealthFindingId/v1":"e05cab865d77956df43520cf85cf57885bbd9f590d72859c94df815bebda8547"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 12, cognitive 11): handler 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":"convex/skillsShMirror.ts"},"region":{"startLine":1012}}}],"partialFingerprints":{"codehealthFindingId/v1":"52b2eb31e051624e697a8a43293b2ec6eb903a77967b8580b41ebd027dc1c14c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateAction (cyclomatic 12, cognitive 11): validateAction 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":"packages/clawhub-admin/src/commands/email.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff01a81f1186357dff64a2c07c65a5c8508ad2a24afa5201281f359c9ef64de4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseGitHubUrl (cyclomatic 12, cognitive 11): parseGitHubUrl 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":"packages/clawhub/src/cli/commands/github.ts"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"19f9c0dcdde2e219da5abae366963b773dba59d34e170d19d33545cb3eb2e565"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatValidateFinding (cyclomatic 12, cognitive 11): formatValidateFinding 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":"packages/clawhub/src/cli/commands/packages.ts"},"region":{"startLine":1414}}}],"partialFingerprints":{"codehealthFindingId/v1":"afe949cd3cf80ef5e430b6adbb899a869b34bf9c49f4fdb7cb32cea431c6ac8c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCatalogFeed (cyclomatic 12, cognitive 11): parseCatalogFeed 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":"packages/schema/src/catalogFeed.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"eea81bb8ccbde827c023d65c12c0c1d639ac47336d5e5b06addb94bd5e366579"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (top-level) (cyclomatic 12, cognitive 11): (top-level) 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":"playwright.config.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb8697c0fe143972a424f87576f75c5bcf21dceb309e137f3882498beb5b80c1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) 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":"scripts/canonical-search/proof-contract.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"f815756d2675b84667f3751514f06fd889ab339d37b8db8a60bc1812d1ce1b31"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 12, cognitive 11): main 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":"scripts/design-audit/source-check.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"52460563c35a52e3c9861540447fa15b5658e25d698139ba4ec53f08dd4486ba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyRescanRequest (cyclomatic 12, cognitive 11): classifyRescanRequest 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":"scripts/github/clawhub-rescan-auto-response.mjs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"21831038fdb721a3e79e7664e16a081a101e296a4dab72e71f607cf44c56693a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeFinding (cyclomatic 12, cognitive 11): normalizeFinding 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":"scripts/package-inspector-nightly-scan.ts"},"region":{"startLine":1051}}}],"partialFingerprints":{"codehealthFindingId/v1":"5158f11f0fe9f0e5ac4964dab4c847d6b1bb82c0ad0f74c6745f88ddf7bbe768"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) 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":"scripts/security/clawscan-decisions.test.ts"},"region":{"startLine":1086}}}],"partialFingerprints":{"codehealthFindingId/v1":"72e586a1b73860349927cc397842d889fec2fb02f4257a716322a220feb44f74"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function backendFailureDiagnostic (cyclomatic 12, cognitive 11): backendFailureDiagnostic 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":"scripts/security/run-prepublication-worker.ts"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7d312358d482b971efb994bbfaea6270c823b2398e6552faefa45416d202373"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runPreviewProof (cyclomatic 12, cognitive 11): runPreviewProof 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":"scripts/verify-preview-proof.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f77f44e8938c3e481bda8c0389b8519bc1e571f4627f4f07b11e8208edb0cfd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchSkillOgMeta (cyclomatic 12, cognitive 11): fetchSkillOgMeta 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":"server/og/fetchSkillOgMeta.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fd60de8d18929cad39cfe4222b0700441a40785285fbed6432c5d679b1814d4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) 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/__tests__/skill-detail-page.test.tsx"},"region":{"startLine":1630}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d9d67454d7c8e104c2fc96f9c0d36e6d6bcfd6d5e8c3158ed316d1f0c7fdf57"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) 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/__tests__/skill-detail-page.test.tsx"},"region":{"startLine":1681}}}],"partialFingerprints":{"codehealthFindingId/v1":"83cb987d29ed6cb9c8d43d7920280121bce61d1eb48463327535395f10ffee65"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) 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/__tests__/skill-detail-page.test.tsx"},"region":{"startLine":1745}}}],"partialFingerprints":{"codehealthFindingId/v1":"233217695aa8ad2a8b226024f9f3279e7f7d594ef764471343ecd98c9a8e831e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) 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/__tests__/skill-detail-page.test.tsx"},"region":{"startLine":1795}}}],"partialFingerprints":{"codehealthFindingId/v1":"c87bb23a2a707b8b3171b595bfd5cb523da113fbb9d60d7aae2322aa16db07e8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BrowseCategorySelect (cyclomatic 12, cognitive 11): BrowseCategorySelect 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/BrowseControls.tsx"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b04bf2c6e5487cbe805e1806f63d7f806277b2ec95b19df7b1f2442ff758f14"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SignInPrompt (cyclomatic 12, cognitive 11): SignInPrompt 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/SignInPrompt.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"94bf0cd6b1f6d4c69554b75ed93d4cc3ea2e818327da19034156992ba4f0bdfb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ValidationFindingCard (cyclomatic 12, cognitive 11): ValidationFindingCard 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/dashboard/DashboardNeedsAttention.tsx"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"34db58343d95ad83686b41f3d58d423f003e7d1ca9edfa1bc4493fd296b9b003"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildPublisherMeta (cyclomatic 12, cognitive 11): buildPublisherMeta 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/lib/og.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"edfad1076ac27978998474c4a2806291206540d83123c213dc166a0b14f52007"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildSecurityAuditExportEntries (cyclomatic 12, cognitive 11): buildSecurityAuditExportEntries 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/lib/securityAuditExport.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"206d10d72825fb60b8e02cf0b44d22c1f31d203bcff7f3b6cfabdbcec6ef0af7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function submit (cyclomatic 12, cognitive 11): submit 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/routes/-management/ManagedMcpTools.tsx"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"93f6e835ab8e949fecc4ffe5acf4392d92a6e5b73db2e60e1c0390e1b8fd938d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SkillsResults (cyclomatic 12, cognitive 11): SkillsResults 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/routes/skills/-SkillsResults.tsx"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"b93fbd8d40be2686beb3a1d02d620cd0a10ecdc319d41a6e9291ebe12fb29815"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function syncGitHubProfile (cyclomatic 12, cognitive 10): syncGitHubProfile 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":"convex/lib/githubAccount.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"59f938031512af1efb23d7403f1308fe6566dbc16f6ff0f9d73f3f0c5f406d63"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractCodePluginArtifacts (cyclomatic 12, cognitive 10): extractCodePluginArtifacts 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":"convex/lib/packageRegistry.ts"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"769d0a057df8795b9d2ecc3fcd9640f858a3c637ce8e1e23a8fd28ab57f9e921"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function withIndex (cyclomatic 12, cognitive 10): withIndex 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":"convex/packages.public.test.ts"},"region":{"startLine":1774}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c3aed5404fc976eda269412890436209c545e362c89da0ef10531f3fa02d93"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 12, cognitive 10): handler 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":"convex/packages.ts"},"region":{"startLine":2327}}}],"partialFingerprints":{"codehealthFindingId/v1":"14d39aab5c2f61afc3736464917bd569751d47314a61c0648fb24060f8603ea2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildExternalCanonicalResult (cyclomatic 12, cognitive 10): buildExternalCanonicalResult 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":"convex/search.ts"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbaeb18d2045f18bbbe86c817d1bbaa7f2a78c09f05c12bfb7627284e6191171"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function requestSecurityScanDispatch (cyclomatic 12, cognitive 10): requestSecurityScanDispatch 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":"convex/securityScanDispatch.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"44482d95eb9142f85f7c1c0bc10df330b699aac25c7f529c085a19f88113f341"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 12, cognitive 10): handler 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":"convex/skillTransfers.ts"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd80ca5c076f3fb3997aede752872abfc2c01d0e4ea6dc5ed1827325f33729df"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 12, cognitive 10): handler 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":"convex/skills.ts"},"region":{"startLine":2193}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dcb04ea0f0f9d930638b51c06428ef1ac2b8a462806af6ac1a7a24b1cfcde02"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 12, cognitive 10): handler 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":"convex/skills.ts"},"region":{"startLine":2235}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ed3719db0e50b3131603c7db80afe340ef3cf160ee547df40c2227b1cac011b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getSkillsShMirrorByRoute (cyclomatic 12, cognitive 10): getSkillsShMirrorByRoute 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":"convex/skillsShMirrorPublic.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"be7e749e900057a48e3e4861792b1aead200a38c16d807a7edcbfebac45961e1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function printIssueList (cyclomatic 12, cognitive 10): printIssueList 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":"packages/clawhub/src/cli/commands/scan.ts"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b65acfcc078d7a9672ea5b9296c25e6a5ef7e22642fa40c5f00609a3a1e95f7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setReleaseConvexEnv (cyclomatic 12, cognitive 10): setReleaseConvexEnv 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":"scripts/set-release-convex-env.mjs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"defea7891d3f18a0751cf1f300d9e0f1b3e12d0af0142b47afba426a02eca6b4"}},{"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":"server/skillsShCatalogTestRoute.test.ts"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c5714732956bdea2ad1206e3f57ce198c934440a72e29b11c57a620d6013a20"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function GitHubSourceHealth (cyclomatic 12, cognitive 10): GitHubSourceHealth 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/routes/settings.tsx"},"region":{"startLine":2529}}}],"partialFingerprints":{"codehealthFindingId/v1":"2746207b76ab0fe800100997778df6a176d06073452755f2a3a6a6b4e6c4eace"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function listDashboardPackagesForOwnerPublisher (cyclomatic 12, cognitive 9): listDashboardPackagesForOwnerPublisher has cyclomatic complexity 12 and cognitive complexity 9; 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":"convex/packages.ts"},"region":{"startLine":1263}}}],"partialFingerprints":{"codehealthFindingId/v1":"94b4cc69afac6823d5bf6d947c48431fb8bc34ecd947a3cda70dc68d96154a7f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isPublisherAbusePendingWarningStillLinked (cyclomatic 12, cognitive 9): isPublisherAbusePendingWarningStillLinked has cyclomatic complexity 12 and cognitive complexity 9; 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":"convex/publisherAbuse.ts"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"df3a828b74326d1e5ca80908d5b900ffe53066043c5aafcb9944b1cf822a62d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 12, cognitive 9): handler has cyclomatic complexity 12 and cognitive complexity 9; 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":"convex/publishers.ts"},"region":{"startLine":3608}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c61245f5fbc85e78c0b2fc5bc8b622cb4e62a3e29013375b9392d86142d3319"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 12, cognitive 9): handler has cyclomatic complexity 12 and cognitive complexity 9; 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":"convex/searchReports.ts"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"63b89de617bdbdb63a140a0d860513e4ec42c00561a5955fa484d5c369c251d4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 12, cognitive 9): handler has cyclomatic complexity 12 and cognitive complexity 9; 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":"convex/skillEvaluations.ts"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed93d604062fa73b5f195b34cb91f0b41bc7aab9611ca0aefaa391d1468040e7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildAccountRecoveryPurgeCandidate (cyclomatic 12, cognitive 9): buildAccountRecoveryPurgeCandidate has cyclomatic complexity 12 and cognitive complexity 9; 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":"convex/users.ts"},"region":{"startLine":1170}}}],"partialFingerprints":{"codehealthFindingId/v1":"724de61fac33bc056805f1c3f4889671c84e09ef6d752cfeb2f67a354ed0040a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MetricTrendCard (cyclomatic 12, cognitive 9): MetricTrendCard has cyclomatic complexity 12 and cognitive complexity 9; 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/MetricTrendCard.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"58a9cce9a56b6c01709cf1aedcb296ede855196008328301794d8f3971144279"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tabFromHash (cyclomatic 12, cognitive 9): tabFromHash has cyclomatic complexity 12 and cognitive complexity 9; 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/SkillDetailPage.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"50e61c2262ff3972224e26a4e5951a0237511809d7959adec519a42b6a628602"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function expectVersionsList (cyclomatic 11, cognitive 25): expectVersionsList has cyclomatic complexity 11 and cognitive complexity 25; 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":"e2e/local-auth/version-delete.pw.test.ts"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"52b99cf9806212bc16e7d18505e045f0c5d17e754c59af4a989008c19b642505"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function requireSingleDispatch (cyclomatic 11, cognitive 24): requireSingleDispatch has cyclomatic complexity 11 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":"scripts/skills-sh-catalog/deploy-overlap-experiment.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6f8d13ab665c2372f328f6fc39701fa6d6bde50da80fd8c107a8f979696d05d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hasStaffPublisherManager (cyclomatic 11, cognitive 22): hasStaffPublisherManager has cyclomatic complexity 11 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 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":"convex/publisherAbuse.ts"},"region":{"startLine":2287}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd874db974ec42fa8c48d28486e8854c2d3e639ef073d400f18672462fd1398"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchGitHub (cyclomatic 11, cognitive 22): fetchGitHub has cyclomatic complexity 11 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 is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/github.ts"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb0abb279211c8370dac17b99fdbb39eb8f6694e439df82884e9ea0891cc9c93"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 20): (anonymous) has cyclomatic complexity 11 and cognitive complexity 20; 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":"convex/packageSdkUsage.runtime.test.ts"},"region":{"startLine":1063}}}],"partialFingerprints":{"codehealthFindingId/v1":"1293664cea014a554af5af8ec7d46f57fe6c517dfb2ea2e233b9bed938e6b9d4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 20): (anonymous) has cyclomatic complexity 11 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/orgs.ts"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffb9a1ae9883cf3ee4e2df41c830897e2212c6cea712b2758e5c1ce35b70d06e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processPluginManifestSummaryBackfillCandidates (cyclomatic 11, cognitive 19): processPluginManifestSummaryBackfillCandidates has cyclomatic complexity 11 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":"convex/migrations.ts"},"region":{"startLine":1315}}}],"partialFingerprints":{"codehealthFindingId/v1":"815f01f508a8498818df9672fb572b0da3c07b48a6759cd04f854d3830cb972f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createLocalAuthTempDir (cyclomatic 11, cognitive 19): createLocalAuthTempDir has cyclomatic complexity 11 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":"scripts/playwright-local-auth-config.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"b38e8ef545d50e0aa367b3d5395285ee0696e5179eb7f4860e5484dea98aaa2e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 18): (anonymous) 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":"convex/packageLeaderboards.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b293a52d99bb290992b5bf3f13c1ff531e2d4fc07a4a569448cf01ea904f3fe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runPairedDiagnostic (cyclomatic 11, cognitive 18): runPairedDiagnostic 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":"scripts/security/clawscan-diagnostic-pair.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b03dad5b435aabbc68a61c349c607ca81f2f5ef2e61fc80b58c982ba32c9bef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectPages (cyclomatic 11, cognitive 18): collectPages 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":"scripts/skills-sh-catalog/prove-mirror-test.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"3afa56d91ce839f477f898e06600b4b72ab433758a18fdbf6992ae8c0c8135a7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readInitialPluginFamilyPage (cyclomatic 11, cognitive 17): readInitialPluginFamilyPage has cyclomatic complexity 11 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":"convex/lib/initialPluginFamilyRead.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"370f84bae8c2c7006f34e06363313b9b6fe9c0c71abc8357cc56859d1f3e9a5b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolvePackageIcon (cyclomatic 11, cognitive 17): resolvePackageIcon has cyclomatic complexity 11 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":"convex/lib/packageIcons.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b40445eb8b723e85815651efa115bda2f28c909e70eaf6503c2859f1ac0c464"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 11, cognitive 16): handler has cyclomatic complexity 11 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 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":"convex/skills.ts"},"region":{"startLine":7661}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad9e838b8985b9fdab78832327951fc5dfe589c3e8cc31d9d6245785db0805c9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatQueueProgress (cyclomatic 11, cognitive 16): formatQueueProgress has cyclomatic complexity 11 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 is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/scan.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"81f9d93a882c9a7fe863d5d5bd6e21180cd884d57ae9bf95615fff23cbabafbc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 16): (anonymous) has cyclomatic complexity 11 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 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":"scripts/security/staging-worker-relay.test.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cca63f118b85a8cf275855345888241d04a139390f92b4e3d243fe8c7c2e798"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readLimitedImageBody (cyclomatic 11, cognitive 16): readLimitedImageBody has cyclomatic complexity 11 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 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":"server/og/fetchImageDataUrl.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"d195294f314edee23c884e8d4c49fcf1618c4ba727d604fe572cf72a36a8aebf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getTypeaheadRowBody (cyclomatic 11, cognitive 16): getTypeaheadRowBody has cyclomatic complexity 11 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 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/Header.tsx"},"region":{"startLine":1174}}}],"partialFingerprints":{"codehealthFindingId/v1":"55187abcfa6980b44c3d737cd7606a822a56b5ec98b7a93a74aad26f5446e5ed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function countActiveReportsForUser (cyclomatic 11, cognitive 15): countActiveReportsForUser has cyclomatic complexity 11 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":"convex/skills.ts"},"region":{"startLine":3489}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e74b04b814d7559955ebf2cb2b6bcd4b47fefbff619789fa850a0ff99d629ac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadInitialSkillsData (cyclomatic 11, cognitive 15): loadInitialSkillsData has cyclomatic complexity 11 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/routes/skills/index.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"02042d7aca00fcc1c1554fdff6055ce84eca16ee4e5c1f085e27072badc5116e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 11, cognitive 14): handler 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":"convex/migrations.ts"},"region":{"startLine":982}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b560acc540138e433cc6033f0b1416ff665b781af0e1b55ab2c4a04d506863e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 11, cognitive 14): handler 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":"convex/skillVersionArtifactHash.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"a233e21b224647d126e1948ec226f6cade0d49a814e95f3105671d5f4fadccc9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveTargetPackageItems (cyclomatic 11, cognitive 14): resolveTargetPackageItems 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":"scripts/package-inspector-nightly-scan.ts"},"region":{"startLine":876}}}],"partialFingerprints":{"codehealthFindingId/v1":"e80bd106c51428a149a1a3b4f66bcfa0c01726e90656b4fda92857772e3e2e49"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isPosixExtendedHeader (cyclomatic 11, cognitive 14): isPosixExtendedHeader 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":"scripts/package-inspector-nightly-scan.ts"},"region":{"startLine":997}}}],"partialFingerprints":{"codehealthFindingId/v1":"3df0c9cd18ec854bdcdd60a2bb3c03c63f16ccb27dd3115e69b1641a4482a5b3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 14): (anonymous) 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":"scripts/skills-sh-catalog/sync.test.ts"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4d2e6a9196a7e9657f5f900c27f5c382406e5ec3ec36e477c40091abf208d4d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function describeOwnerVisibleSkillState (cyclomatic 11, cognitive 13): describeOwnerVisibleSkillState has cyclomatic complexity 11 and cognitive complexity 13; 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":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":1580}}}],"partialFingerprints":{"codehealthFindingId/v1":"504941895c19edca8e627c74e2186be8d96c0a575000f140f4f6cb576e79393c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleAdminReclaim (cyclomatic 11, cognitive 13): handleAdminReclaim has cyclomatic complexity 11 and cognitive complexity 13; 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":"convex/httpApiV1/usersV1.ts"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"58b17add997497f88f7c6b9324a94167048743d5a0f384c914800ab85a6ee9d8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolvePublicBrowseVersionForSkill (cyclomatic 11, cognitive 13): resolvePublicBrowseVersionForSkill has cyclomatic complexity 11 and cognitive complexity 13; 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":"convex/lib/publicBrowse.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"a24097cfc3904278435a794afab06f875ad7a1f004e18559914c1f99305033b3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function softDeletePackageDoc (cyclomatic 11, cognitive 13): softDeletePackageDoc has cyclomatic complexity 11 and cognitive complexity 13; 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":"convex/packages.ts"},"region":{"startLine":5314}}}],"partialFingerprints":{"codehealthFindingId/v1":"d45829af9dd8e1d474352cf521a183eb9441dd0fa0036655348bb03ae07c6ca0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectPublisherAbuseScoresPageInternalHandler (cyclomatic 11, cognitive 13): collectPublisherAbuseScoresPageInternalHandler has cyclomatic complexity 11 and cognitive complexity 13; 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":"convex/publisherAbuse.ts"},"region":{"startLine":1341}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0a2a8d0536b15eb878abb222d8f0d8b95c059e7afbc8e2ebaae8b718a311c2d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readCanonicalSkillCandidates (cyclomatic 11, cognitive 13): readCanonicalSkillCandidates has cyclomatic complexity 11 and cognitive complexity 13; 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":"convex/search.ts"},"region":{"startLine":946}}}],"partialFingerprints":{"codehealthFindingId/v1":"4989d65babdb73effe8a4e793d1b99eb17147e4dd0a01d27a2e66f43c843fb43"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 11, cognitive 13): handler has cyclomatic complexity 11 and cognitive complexity 13; 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":"convex/skills.ts"},"region":{"startLine":7605}}}],"partialFingerprints":{"codehealthFindingId/v1":"76aab9bc16fe2b219fdf488c85d852b0f9d97815060d97700fb3dfd9ebf11b39"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveGitHubUrlRefAndPath (cyclomatic 11, cognitive 13): resolveGitHubUrlRefAndPath has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/github.ts"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"28ef24e3228a2bc336a01ebd9653641517d161d650299913def3cd3915bccd30"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 13): (anonymous) has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/inspect.ts"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1133037f2dec10828ac23c9e67c0288d528c0037296fa0f05e94b320fec77e0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 13): (anonymous) has cyclomatic complexity 11 and cognitive complexity 13; 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":"scripts/skills-sh-catalog/sync.test.ts"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f4fb1b91a45256591daaa7dec5abfb024cd2f19835dba372aea0eccc7365593"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 13): (anonymous) has cyclomatic complexity 11 and cognitive complexity 13; 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/routes/audits.tsx"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4fd98db57aee6aa4a1c76ca70b1fde816f34a95ee1d847a3e714120958897d0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function agentSkillsHttpHandler (cyclomatic 11, cognitive 12): agentSkillsHttpHandler 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":"convex/agentSkillsHttp.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"4df37b6d08e64f0606b7f1f325fde21922c3f50c617d9dd56d7e972b63272498"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 11, cognitive 12): handler 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":"convex/dashboard.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e9d9bdced632ec84c715b8065045f633608af2ed543f6f4e578e17ae934dc75"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runQuery (cyclomatic 11, cognitive 12): runQuery 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":"convex/githubSkillSync.live.test.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cd7e50099c04976512aabf7ad3e9b9f1fda99b932cc39decdd1d7f3d94fffcc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getTarballPart (cyclomatic 11, cognitive 12): getTarballPart 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":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":995}}}],"partialFingerprints":{"codehealthFindingId/v1":"f23069a97bd09536d254b2372cfcb27be148d75cf809ffa5dd513c7053479ffc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseRiskSummary (cyclomatic 11, cognitive 12): parseRiskSummary 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":"convex/lib/securityPrompt.ts"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac49ccabc7ced491a2dbb2a2b2c732147e6e433a661cb34c4bed14e33c4427e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadFamily (cyclomatic 11, cognitive 12): loadFamily 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":"convex/packages.ts"},"region":{"startLine":3859}}}],"partialFingerprints":{"codehealthFindingId/v1":"e71e7e5efa5409e7ffc0dc351d8f747abe340cd03b489d0c9169e88640a83b4e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 12): (anonymous) 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":"convex/publishers.test.ts"},"region":{"startLine":3614}}}],"partialFingerprints":{"codehealthFindingId/v1":"90a035d2be223b2849a5d21eefd7c95da7682dc8349eb0204852afd6c30131a5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function touchHttpRateLimitKey (cyclomatic 11, cognitive 12): touchHttpRateLimitKey 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":"convex/rateLimits.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"0954ac976ba712abb1276ecd6ae08ec7475cee16521a6e6a54c613dddf4c588d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 11, cognitive 12): handler 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":"convex/skillsShCatalog.ts"},"region":{"startLine":1967}}}],"partialFingerprints":{"codehealthFindingId/v1":"b18c0846e3bdee43131dfea3eac7d4031a228e4e89d1d411d18e552f026f7d8d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validScanner (cyclomatic 11, cognitive 12): validScanner 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":"convex/skillsShMirror.ts"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"0765275aab02d3c375c4744b199baf28cd317dacb512df46db182e30472b4fbc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cmdFeaturedSelection (cyclomatic 11, cognitive 12): cmdFeaturedSelection 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":"packages/clawhub-admin/src/commands/featuredSelections.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"678b773f68af2bfe2952fb813bf796c69c6762d322b2319b9005838487aff6c3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cmdHardDeleteSkill (cyclomatic 11, cognitive 12): cmdHardDeleteSkill 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":"packages/clawhub-admin/src/commands/skills.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"de91637c6dd918880e662c5f7aa46bcb6c9364987f975d6fee80fe0b90bbbe62"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatUnknownCause (cyclomatic 11, cognitive 12): formatUnknownCause 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":"packages/clawhub/src/cli/ui.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c383e1f325de9265f88f55fba495e467bc44d2d0a51ab3cbab51519fa989386"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 11, cognitive 12): parseArgs 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":"scripts/security-dataset/merge-snapshots.ts"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"1505051d9a9a1d5024244ef557816765a832b4fe3e868d3d43bf23dddd9027c5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function projectBundledRuntimeErrors (cyclomatic 11, cognitive 12): projectBundledRuntimeErrors 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":"scripts/security/clawscan-diagnostic-skillspector.ts"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"d35e693b9ee75df6e216aa24ea9b97475aa3af21a939d7f79401be0e7f3d316c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 12): (anonymous) 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":"scripts/security/clawscan-exposure.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0747243424d8c8e26a3deafeee2249edd8f10b8b867419649f22d721da6a352"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractErrorMessage (cyclomatic 11, cognitive 12): extractErrorMessage 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/ErrorBoundary.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"f306af0f13d9b90bfac16daa733d3e2444389a7fbad2633f48822741b6d91555"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeSourcePath (cyclomatic 11, cognitive 12): normalizeSourcePath 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/readmeAssetBaseUrl.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"53f9e8a847f089047a52bc99fa3b617480757ac9571f0d8263750f29245f1dd9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function requireGitHubAccountAge (cyclomatic 11, cognitive 11): requireGitHubAccountAge has cyclomatic complexity 11 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 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":"convex/lib/githubAccount.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ceb8612e0bcf25d60f6294be7f88acd225f0d795545c567bbee8e8c17076c1f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function anonymousEdgeResponse (cyclomatic 11, cognitive 11): anonymousEdgeResponse has cyclomatic complexity 11 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 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":"convex/lib/httpRateLimit.ts"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e26ac9303d70bea9361031d93c487bb69c735f0fff6021b12de572504719f2b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 11, cognitive 11): handler has cyclomatic complexity 11 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 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":"convex/maintenance.ts"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"195d26312e69c6666957367d63d111b8c7edf75c1ced83bafe2df4210058a90b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 11): (anonymous) has cyclomatic complexity 11 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 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":"convex/maintenance.ts"},"region":{"startLine":1733}}}],"partialFingerprints":{"codehealthFindingId/v1":"572d2a719ca0c9ca8a95ceba9ab21535c0b8a22f9bf252e8ae7df0b7bac8882c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 11, cognitive 11): handler has cyclomatic complexity 11 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 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":"convex/packages.ts"},"region":{"startLine":10406}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b1d3647a06943b11ad107d9bfdd728b05dcb5a3ae30f472caf0ee00900f1663"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function syncLatestPackageVerification (cyclomatic 11, cognitive 11): syncLatestPackageVerification has cyclomatic complexity 11 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 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":"convex/packages.ts"},"region":{"startLine":11818}}}],"partialFingerprints":{"codehealthFindingId/v1":"80cf72caa603d7cba05dc10db966f187723b191150f21c7b70780573bfbf031e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updatePromotionForActor (cyclomatic 11, cognitive 11): updatePromotionForActor has cyclomatic complexity 11 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 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":"convex/promotions.ts"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"9420dbb3a1d56e12baa6201a1a96a7ccc5444c309285f845d76493f8b262a23c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 11, cognitive 11): handler has cyclomatic complexity 11 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 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":"convex/skills.ts"},"region":{"startLine":8952}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cf15c92e5ccba0715a08dd4db43f99f15ce9fdbe4629ac853200622cc6bbe0c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runSkillStatBackfillInternalHandler (cyclomatic 11, cognitive 11): runSkillStatBackfillInternalHandler has cyclomatic complexity 11 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 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":"convex/statsMaintenance.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e659d7bdfe5a2d5df05b85dfaa3cff649a18f2c8ae3bf1f5c196e33920e9ce9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function aggregateSkillSpectorAnalyses (cyclomatic 11, cognitive 11): aggregateSkillSpectorAnalyses has cyclomatic complexity 11 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 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":"scripts/security/run-codex-scan-worker.ts"},"region":{"startLine":1595}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0b7dc67ef002b889f90182e21784d202abbb1e32d816e6ce629d688a2929c6b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatInstallCommand (cyclomatic 11, cognitive 11): formatInstallCommand has cyclomatic complexity 11 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 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/skillDetailUtils.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"d949bf508bd63d0ac7d0b2e6b7a8c763de2bbff2f0785a5a09d2b21c72422db8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizePackageApiErrorBody (cyclomatic 11, cognitive 11): normalizePackageApiErrorBody has cyclomatic complexity 11 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 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/packageApi.ts"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"633308381b55010435414dd3a9d7a7f19108f12d92e2fafe8393218259537e03"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatAuditActionLabel (cyclomatic 11, cognitive 11): formatAuditActionLabel has cyclomatic complexity 11 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 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/routes/-management/managementShared.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed66d410f9152c873cad8de6889ea01076411c32f1ed148c0e7da39eb0b50e86"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 11, cognitive 10): handler 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":"convex/devSeed.ts"},"region":{"startLine":5061}}}],"partialFingerprints":{"codehealthFindingId/v1":"4159a070a15447f0aa1e9693ec4067f69e7474031928d40e8028a4a9de5b7b8d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function previewGitHubImportCandidateForUser (cyclomatic 11, cognitive 10): previewGitHubImportCandidateForUser 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":"convex/githubImport.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3ef7b2a61fbb3e13a32a9932459c5917e3989a213f8ec51e8f5cfb39ad6916e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parsePublishBody (cyclomatic 11, cognitive 10): parsePublishBody 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":"convex/httpApi.ts"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"a72f7200afd414a76fabcb47273a82214b7f8351ab5b0261f9d5068365f479f6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toPackageReleaseSecurityResponse (cyclomatic 11, cognitive 10): toPackageReleaseSecurityResponse 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":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"e517c5e15ae52cca7dac17932cc16b841e38843595019c7c147e37d698c39dc3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parsePublishBody (cyclomatic 11, cognitive 10): parsePublishBody 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":"convex/httpApiV1/shared.ts"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5cf5702f4c46b29b914e37ff469a5b4ba3bd9a41b4badcf11de5dcb0e150d1a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createGitHubAppInstallationToken (cyclomatic 11, cognitive 10): createGitHubAppInstallationToken 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":"convex/lib/githubAuth.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ca960d7836c39fbc9640af721eea2fdf8730cdcf6552bedbd8671a723362f0a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateToolingRef (cyclomatic 11, cognitive 10): validateToolingRef 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":"convex/lib/openClawPublishAuthorization.ts"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"6af559146721bea76a4dc576fa8e8876a97d65a7115f9ab9ab73405527f61e9b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function manualPackageRecovery (cyclomatic 11, cognitive 10): manualPackageRecovery 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":"convex/lib/packagePublishRecovery.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b501b955dcc28d9f626ff5ee91af7ba54160528c4b9417a59c4e2dd0a7292b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function adjustPublisherStats (cyclomatic 11, cognitive 10): adjustPublisherStats 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":"convex/lib/publisherStats.ts"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"871a164624de36c3c9034a3605624447aea03ff6d0754d8b1ba89ebb4be54fd5"}},{"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":"convex/packagePublishRecovery.runtime.test.ts"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"c14c4fd8d9d9c6bdd737580fac8d3e7378476789b789a5034b9cdd33a36fa42f"}},{"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":"convex/packages.public.test.ts"},"region":{"startLine":9151}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa54cfa09681132dde196a6fd609915fc5d60bb5cb6d3847cd7b423d11d31229"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toDashboardPackageListItem (cyclomatic 11, cognitive 10): toDashboardPackageListItem 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":"convex/packages.ts"},"region":{"startLine":1193}}}],"partialFingerprints":{"codehealthFindingId/v1":"392fad86f5337345fc09d473c31ce9438b559c416efd5933ae484cf399df9dd7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 11, cognitive 10): handler 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":"convex/packages.ts"},"region":{"startLine":5557}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a10a4567b680241596905dfd1cb95fc7ebcf7f37e4212518501676ac0a61287"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function makeNomination (cyclomatic 11, cognitive 10): makeNomination 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":"convex/publisherAbuse.test.ts"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"4be95444124f261a0f8e0352bbe80e00cd539138fd0a97669b63686ac6ec5f39"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setPublisherAbuseReviewStatusWithActor (cyclomatic 11, cognitive 10): setPublisherAbuseReviewStatusWithActor 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":"convex/publisherAbuse.ts"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"79e5bc67f8622b00aefb79f383ca6a2489f108751c906c9981df61a0496c4973"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function seedTemporalCohortDemoRows (cyclomatic 11, cognitive 10): seedTemporalCohortDemoRows 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":"convex/publisherAbuseDevSeed.ts"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"0803a2923f28395860e7d3aad31f22b93b3780b86b577d1bc5e009a0f62952c0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function temporalBenchmarkFromRun (cyclomatic 11, cognitive 10): temporalBenchmarkFromRun 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":"convex/publisherAbuseTemporalScan.ts"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f7fe864f4af1346b93ddd9528cbe8be5ac69afc850bc3590d552d5783c6732f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function advanceScheduledTemporalSynchronyInternalHandler (cyclomatic 11, cognitive 10): advanceScheduledTemporalSynchronyInternalHandler 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":"convex/publisherAbuseTemporalScan.ts"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b2ac20ea412551656e59811a0deccb404a12a751befa66c505a86d4e0dcedf6"}},{"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":"convex/publishers.test.ts"},"region":{"startLine":1789}}}],"partialFingerprints":{"codehealthFindingId/v1":"a416e4433267698091b7d5b4c6fab8b51f58c77a17f0e027154eec07015d4584"}},{"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":"convex/publishers.test.ts"},"region":{"startLine":1937}}}],"partialFingerprints":{"codehealthFindingId/v1":"510579c1f21a0a2ab0de4fd1fa6f4778b11b1b6315141f1fa7c1b1519885288b"}},{"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":"convex/publishers.test.ts"},"region":{"startLine":4241}}}],"partialFingerprints":{"codehealthFindingId/v1":"3271b6d43d6b307a62f79f92afdd501f73eb7ca101c0a0f3b8347ecf70222b07"}},{"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":"convex/publishers.test.ts"},"region":{"startLine":4300}}}],"partialFingerprints":{"codehealthFindingId/v1":"d73c3684d9867204448343e4964c12726ba55bcb11f43d15cee82fb2222838f0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 11, cognitive 10): handler 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":"convex/publishers.ts"},"region":{"startLine":2988}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ed0e70a2ea3c97b57e07a7d6e6dc28a122fafd87956b43db9737c5b0ae64bab"}},{"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":"convex/search.ts"},"region":{"startLine":1249}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8817551e4af5c40a53d0969cd7d58d57cae44bc8d20a32fc1ebf5b8291edbb5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function compactSecurityVerdictVersion (cyclomatic 11, cognitive 10): compactSecurityVerdictVersion 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":"convex/skills.ts"},"region":{"startLine":2742}}}],"partialFingerprints":{"codehealthFindingId/v1":"029d1eca6b2610e3aacfb2fa2a8be7535012020d5858753a535a64a1b01736fd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 11, cognitive 10): handler 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":"convex/skills.ts"},"region":{"startLine":4224}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7b3f14dbc7b0c20300290c74f03c65d7641ea48d500c522117906c6a61c202e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function transferSkillOwnershipAndEmbeddings (cyclomatic 11, cognitive 10): transferSkillOwnershipAndEmbeddings 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":"convex/skills.ts"},"region":{"startLine":9540}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9ad942f5772ca0ff9e18bec8c35f21b984e580955758d5739062fef1b309443"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isOwnerInitiatedSkillHideForActor (cyclomatic 11, cognitive 10): isOwnerInitiatedSkillHideForActor 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":"convex/skills.ts"},"region":{"startLine":11359}}}],"partialFingerprints":{"codehealthFindingId/v1":"34f5ee4f92b4443663b1f2697d7fab08778ab16759b704119bff5ce654944bb9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runCounts (cyclomatic 11, cognitive 10): runCounts 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":"convex/skillsShMirror.ts"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4313fc3fe733d485d051ba247bafcda9bd4e2671f7363e4214ec7420ed1d2e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 11, cognitive 10): handler 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":"convex/skillsShMirror.ts"},"region":{"startLine":1276}}}],"partialFingerprints":{"codehealthFindingId/v1":"a02e030e6cfd6db5d97312e516e7491f21b0584823e6cc7efd8ea3583872de27"}},{"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":"convex/telemetry.test.ts"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2102c958aa3b42ef4f2329a9e78757acb42ce06d14a696ea6b5552b107bac95"}},{"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":"convex/users.ts"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0bca3b4a0f4020859e5e35bc61b850257d44231d9f5e882b89341aa37608d01"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 11, cognitive 10): handler 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":"convex/users.ts"},"region":{"startLine":2622}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca0400df2938738b423d065273fa501a039b3d7ec930d1f0a471c2fd02289e70"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 11, cognitive 10): handler 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":"convex/users.ts"},"region":{"startLine":2690}}}],"partialFingerprints":{"codehealthFindingId/v1":"f45ba4fcd8d9566a0b4c9497247d53d8ab7e81c1f680b9753c2a435a58d51021"}},{"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":"e2e/clawhub.e2e.test.ts"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c159f2fe9a4a52bffd0fdd96239dcd016cb42e84721c7059cdba2a9826e6778"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cmdRecordContentRightsCorrespondence (cyclomatic 11, cognitive 10): cmdRecordContentRightsCorrespondence 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":"packages/clawhub-admin/src/commands/contentRights.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"668f77f27b5d2fc1bcdc9fdb01cacd6bdaa72c2a0c8ceed6382553e0aa0eee5a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cmdTriagePackageReport (cyclomatic 11, cognitive 10): cmdTriagePackageReport 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":"packages/clawhub-admin/src/commands/packages.ts"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e94e1be4f319b5a295be92358b8ad3d23a5a07b4234e3fee95140bbb90f7b13"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function printModerationSummary (cyclomatic 11, cognitive 10): printModerationSummary 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":"packages/clawhub/src/cli/commands/inspect.ts"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"afef3f9a99699da3002bb5036a4e4749d8b63ea393dd36b8ffc9e876e75181a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function printPackageSummary (cyclomatic 11, cognitive 10): printPackageSummary 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":"packages/clawhub/src/cli/commands/packages.ts"},"region":{"startLine":2301}}}],"partialFingerprints":{"codehealthFindingId/v1":"48ca7d5cf85753da9689cfd0d71440c40013fe6e9de5e52a75d787e25dd4446c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cmdInstall (cyclomatic 11, cognitive 10): cmdInstall 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":"packages/clawhub/src/cli/commands/skills.ts"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6063f45ada5e4d96bbd68bb64e2d661840cd3a10dc2df4738034a71b558f1ce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function configuredTaskSource (cyclomatic 11, cognitive 10): configuredTaskSource 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":"scripts/evaluations/skill-evaluation-runtime.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7a868f7ef040ba72c80e0e54f8dbae57879e0475447d96c64baa5c4d4663299"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function appendOutput (cyclomatic 11, cognitive 10): appendOutput 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":"scripts/lib/runWorkerCommand.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"c91ffbd03ffc3afdff10b816813d28f2972ded54f379eafe231dbfedca643d28"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function evaluateWithLlm (cyclomatic 11, cognitive 10): evaluateWithLlm 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":"scripts/local-clawscan-dry-run.ts"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"6860574ff6aa8a7d2e75885597eb15cdac9de37d69ce96f98f470fa34e691566"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function attempt (cyclomatic 11, cognitive 10): attempt 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":"scripts/security/run-clawscan-original-diagnostic.ts"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"79cee22e5cbe2a3414ff79b4ff8e539fbb61fe10968b8df65f5cab14208a40b8"}},{"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":"scripts/security/run-codex-scan-worker.test.ts"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a3e36daaa3a284fec8bf1dfadd06a3ebf2f9433dd2967e9e18e44e1d6eafc10"}},{"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":"scripts/skills-sh-catalog/prove-trending-test.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"223f1af9cfc0c71334630d98a5a0ae1f739d17afc4ebe68356fa59d506f67e44"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchPluginOgMeta (cyclomatic 11, cognitive 10): fetchPluginOgMeta 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":"server/og/fetchPluginOgMeta.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"30f201c44067fdff3c834bad25ca1f6b96a1801f2b6b1796d79f011185bc9739"}},{"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/__tests__/skill-detail-page.test.tsx"},"region":{"startLine":2161}}}],"partialFingerprints":{"codehealthFindingId/v1":"0073c26c821fc3945daca794738b65b84921df583556b203a16a960234aaefc7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildRowActions (cyclomatic 11, cognitive 10): buildRowActions 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/dashboard/CatalogRowMenu.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6a1ef4da8c647f09a9ed2b1ae04d551106a311447e05c0fdd1ab45e7c3aa4b3"}},{"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/ui/badge.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eec1822d7f0dfbae1e2d1cadd2e7171f512702fabeafe59c87b1725a62639e2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function preprocessUrlInput (cyclomatic 11, cognitive 10): preprocessUrlInput 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/lib/rehypeProxyImages.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0e8af2b9d9cb00c996c73c1c67d5afe1d2924260670a4c6fbeed762b60fa29f"}},{"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/routes/-management/PluginsPage.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1edc58e19d65ee27fef9da8dabf6f51e6b90ea9e7b25c6812a467cd4e529773"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PromotionsPage (cyclomatic 11, cognitive 10): PromotionsPage 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/routes/-management/PromotionsPage.tsx"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a83ed6a98da3eb5745e480b645b6a6137a0b871cf33854d64535bf17bfc3e10"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function publicApiOrigin (cyclomatic 11, cognitive 9): publicApiOrigin has cyclomatic complexity 11 and cognitive complexity 9; 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":"convex/httpApiV1/shared.ts"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"e71a249ed5a9adcb2440f7c2e02c86d0ca3012257146e9539323000a1a80abbe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function requireUser (cyclomatic 11, cognitive 9): requireUser has cyclomatic complexity 11 and cognitive complexity 9; 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":"convex/lib/access.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad9e1437f4d271167dd7b4be60f198d562ca26bfcdf83a4105fd9dd5956ac9bf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function requireUserFromAction (cyclomatic 11, cognitive 9): requireUserFromAction has cyclomatic complexity 11 and cognitive complexity 9; 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":"convex/lib/access.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"1136d9b733f395a3bf84db1eedb4144698ca2d1c3c729ee59f1f0bf5e87f95fc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function compareCanonicalTrendingLaneCandidates (cyclomatic 11, cognitive 9): compareCanonicalTrendingLaneCandidates has cyclomatic complexity 11 and cognitive complexity 9; 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":"convex/lib/canonicalTrending.ts"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"42e67ea409194e057116e7275038ec29ba39d902884345fbefb584fb7fe60d6e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encodeCanonicalTrendingCursor (cyclomatic 11, cognitive 9): encodeCanonicalTrendingCursor has cyclomatic complexity 11 and cognitive complexity 9; 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":"convex/lib/canonicalTrending.ts"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"25cdb37acb20ca0f87cf3f1847f6eae98b2f5216f3ceb040d69a509a73216a3a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isAllowedInferredTopic (cyclomatic 11, cognitive 9): isAllowedInferredTopic has cyclomatic complexity 11 and cognitive complexity 9; 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":"convex/lib/catalogClassifier.mjs"},"region":{"startLine":1251}}}],"partialFingerprints":{"codehealthFindingId/v1":"10af3f6d27db02ad687193fd16f84e932e593187c29bfefdc4fbfd56a31624af"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 9): (anonymous) has cyclomatic complexity 11 and cognitive complexity 9; 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":"convex/maintenance.ts"},"region":{"startLine":1851}}}],"partialFingerprints":{"codehealthFindingId/v1":"8106581548ed00d0ca8c51dae5cfa32d85be89bc203ef20c494f5c13ea4b3e79"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 9): (anonymous) has cyclomatic complexity 11 and cognitive complexity 9; 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":"convex/managedMcp.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a4aa1d4e26376be7f4c5d54663971fc1a332693b150cfcbe89ffc87bd230dc9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 9): (anonymous) has cyclomatic complexity 11 and cognitive complexity 9; 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":"convex/packagePublishRecovery.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ce11f96ae4295e08c04ca0fc02f36141281e64fa6ccd021ace9dc6b1c3fb46"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 11, cognitive 9): handler has cyclomatic complexity 11 and cognitive complexity 9; 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":"convex/packages.ts"},"region":{"startLine":2304}}}],"partialFingerprints":{"codehealthFindingId/v1":"d93084e77a5961adc106f942c3b61f64cd03c5a2a9845201e041aab53ade87d6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toPackageReportListItem (cyclomatic 11, cognitive 9): toPackageReportListItem has cyclomatic complexity 11 and cognitive complexity 9; 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":"convex/packages.ts"},"region":{"startLine":6881}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cb3e86997ab7bd8f97278ac1ac85a6a37468779daf9cdbe669709fe5d763864"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function candidateFromScanRow (cyclomatic 11, cognitive 9): candidateFromScanRow has cyclomatic complexity 11 and cognitive complexity 9; 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":"convex/publisherAbuseTemporalScan.ts"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"0141b2471fb3074a636043de5b1878e6309abd123f5472eed1b00c1e217b7d6a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 11, cognitive 9): handler has cyclomatic complexity 11 and cognitive complexity 9; 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":"convex/searchWeeklyDigest.ts"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"a012a2e347c3aa989c9d4cf10c90210534fd22e67e6ed0aa661b77dd61baf7bc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toSkillReportListItem (cyclomatic 11, cognitive 9): toSkillReportListItem has cyclomatic complexity 11 and cognitive complexity 9; 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":"convex/skills.ts"},"region":{"startLine":3775}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a548957e06926b4cd3f67803f2477515792d574a8eea1a3899a4439e1cc630c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolvePublicSkillListQuery (cyclomatic 11, cognitive 9): resolvePublicSkillListQuery has cyclomatic complexity 11 and cognitive complexity 9; 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":"convex/skills.ts"},"region":{"startLine":4541}}}],"partialFingerprints":{"codehealthFindingId/v1":"44889413b7533da7f1677891c70aa73213a5f0ce5505f942716ab9f7b91e7c9c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertPreviewDeployment (cyclomatic 11, cognitive 9): assertPreviewDeployment has cyclomatic complexity 11 and cognitive complexity 9; 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":"scripts/lib/previewAnalyticsProof.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"5011a0dbc74776604c49a499d2a5934221ea5b7da1aa0bea77956c6165710807"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function aigResultMessage (cyclomatic 11, cognitive 9): aigResultMessage has cyclomatic complexity 11 and cognitive complexity 9; 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":"scripts/security/run-codex-scan-worker.ts"},"region":{"startLine":1277}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8da891624aa324de710f7f15945b068b15e5b0ac3ade800b37d46926d71a54a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scanHealthClassification (cyclomatic 11, cognitive 9): scanHealthClassification has cyclomatic complexity 11 and cognitive complexity 9; 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":"scripts/security/run-codex-scan-worker.ts"},"region":{"startLine":2521}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4078c4702ee8a5800bf2f0f2b28ad4f0c9db8cdd22135a62fd66cb754bf2806"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 11, cognitive 9): parseArgs has cyclomatic complexity 11 and cognitive complexity 9; 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":"scripts/security/run-prepublication-worker.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e6c0925050dbb25cc4aace8bac2e85655d4a9d784e4899ef14ff7f7cd76e899"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveConvexStorageOrigin (cyclomatic 11, cognitive 9): resolveConvexStorageOrigin has cyclomatic complexity 11 and cognitive complexity 9; 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":"server/convexProxy.ts"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"87cf99ab7d1d973c0dd4d88e24b4aad216181933ea9ab6af10839c149c0e4c0d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchSkillsShMirrorBatch (cyclomatic 11, cognitive 9): fetchSkillsShMirrorBatch has cyclomatic complexity 11 and cognitive complexity 9; 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":"server/skillsShCatalogSource.ts"},"region":{"startLine":2193}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ffbf7cb7229830407ed5c1acc4298b6e944d796e8336ad8cef88b101766d2b9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isRateLimitArgs (cyclomatic 11, cognitive 9): isRateLimitArgs has cyclomatic complexity 11 and cognitive complexity 9; 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/__tests__/helpers/rateLimit.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"6367ffc32b6254faf3dcff27fd06fe1cdc4e5563a7dc6818799d3720e77342bd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleToggleStar (cyclomatic 11, cognitive 9): handleToggleStar has cyclomatic complexity 11 and cognitive complexity 9; 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/SkillDetailPage.tsx"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"71b0c7f208cfdc282439dedb3d4653e872846b93c0513dee6bdb014a92361a32"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function publicApiUrl (cyclomatic 11, cognitive 9): publicApiUrl has cyclomatic complexity 11 and cognitive complexity 9; 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/publicApiUrl.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ba41de581f22a3be2f1022a7a9d6eb1ec6b227e8ca3dbc60d8bbf86e266f601"}},{"ruleId":"R3","level":"warning","message":{"text":"convex/packages.ts: 11699 lines of code: convex/packages.ts has 11699 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":"convex/packages.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5d315b917bc877d409b503ba106d19ccf2f1a9c2a65a018914f3d69b6456389"}},{"ruleId":"R3","level":"warning","message":{"text":"convex/skills.ts: 10977 lines of code: convex/skills.ts has 10977 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":"convex/skills.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f10c3362916495a15b858c5285132e38b639b0fdd8fe1af85cfb19a42319bef"}},{"ruleId":"R3","level":"warning","message":{"text":"convex/devSeed.ts: 4947 lines of code: convex/devSeed.ts has 4947 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":"convex/devSeed.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b08f9867d5e4e6f2ee20797f384f499161236a897094763e689e3c33acdd3d6e"}},{"ruleId":"R3","level":"warning","message":{"text":"convex/httpApiV1/packagesV1.ts: 4416 lines of code: convex/httpApiV1/packagesV1.ts has 4416 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":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"205979dfc5e1bcea780d30f7460a5b42385b2705018c9d25a1a477fac04f5c9b"}},{"ruleId":"R3","level":"warning","message":{"text":"convex/publishers.ts: 4125 lines of code: convex/publishers.ts has 4125 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":"convex/publishers.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f71f30495f37b53d214311debde7bb22d511f83ac6623a9d988ac54152079fe4"}},{"ruleId":"R3","level":"warning","message":{"text":"convex/schema.ts: 4108 lines of code: convex/schema.ts has 4108 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":"convex/schema.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2de5bc5b3b5e3965076b3b51a4be47aaab3f8ccff610d0b4ead128c8c58546c"}},{"ruleId":"R3","level":"warning","message":{"text":"convex/securityScan.ts: 3929 lines of code: convex/securityScan.ts has 3929 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":"convex/securityScan.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13aa0956cbe73f023d71cf20496754cd2d079ad389a46239e5e1ef3bf448a43f"}},{"ruleId":"R3","level":"warning","message":{"text":"convex/httpApiV1/skillsV1.ts: 3866 lines of code: convex/httpApiV1/skillsV1.ts has 3866 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":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18fa034c7c5caf2ff29e624692eb240f94d637e71f8dcafaef5b65fc1d409b3a"}},{"ruleId":"R3","level":"warning","message":{"text":"convex/maintenance.ts: 3786 lines of code: convex/maintenance.ts has 3786 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":"convex/maintenance.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d39d256190abbfeeb41469bd7f6e376e6f8e6808d6cae5e4938bba04ba342b9"}},{"ruleId":"R3","level":"warning","message":{"text":"convex/githubSkillSync.ts: 3240 lines of code: convex/githubSkillSync.ts has 3240 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":"convex/githubSkillSync.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e4bf6d71c042ec0343985ba5a93a2cbee730107a754a42e46d157ee34d81961"}},{"ruleId":"R3","level":"warning","message":{"text":"scripts/security/run-codex-scan-worker.ts: 3061 lines of code: scripts/security/run-codex-scan-worker.ts has 3061 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/security/run-codex-scan-worker.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1161ba5bfcc8a799f7b30d494f5c4c396ef78db786332709529c9e73d90c5f2"}},{"ruleId":"R3","level":"warning","message":{"text":"convex/publisherAbuse.ts: 3048 lines of code: convex/publisherAbuse.ts has 3048 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":"convex/publisherAbuse.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9373a645aeb4c530fda8e9133c1a3578dc37ae1109f494248c909093be53efcc"}},{"ruleId":"R3","level":"warning","message":{"text":"convex/skillsShCatalog.ts: 3004 lines of code: convex/skillsShCatalog.ts has 3004 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":"convex/skillsShCatalog.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e479b47775c4d46d830b159b5348b5e825d6e24d7d4d48fb55c1a945cc3a6648"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/clawhub/src/cli/commands/packages.ts: 2929 lines of code: packages/clawhub/src/cli/commands/packages.ts has 2929 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/packages.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a730a66263b71a7381ebe178a6e4734c81accc9bca3e61e8e79546fa115efd99"}},{"ruleId":"R3","level":"warning","message":{"text":"src/routes/settings.tsx: 2911 lines of code: src/routes/settings.tsx has 2911 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/routes/settings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dbc736c5974badfff25a2a293aedee78b9b7c93179b1295f9037d776656d416"}},{"ruleId":"R3","level":"warning","message":{"text":"server/skillsShCatalogSource.ts: 2888 lines of code: server/skillsShCatalogSource.ts has 2888 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":"server/skillsShCatalogSource.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c007ffcae5627c4879b93fa650ec8a3e7dc651c1ce59c9c2d50ea8c6908c4311"}},{"ruleId":"R3","level":"warning","message":{"text":"convex/users.ts: 2585 lines of code: convex/users.ts has 2585 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":"convex/users.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e72bad5c8a18a74f31624bbe492afa2907ca7578c9952450e28a6f1283331839"}},{"ruleId":"R3","level":"warning","message":{"text":"convex/skillsShMirror.ts: 2320 lines of code: convex/skillsShMirror.ts has 2320 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":"convex/skillsShMirror.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a186e381ba9398ec2032c388fd49b4a35963ebd967bdbfd01183f9758477e6f5"}},{"ruleId":"R3","level":"warning","message":{"text":"convex/search.ts: 2072 lines of code: convex/search.ts has 2072 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":"convex/search.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"72fd8ffc7398f52b1672419e167277db4e1881b87ea0fc535b57e1df4f5fe035"}},{"ruleId":"R3","level":"warning","message":{"text":"convex/lib/catalogClassifier.mjs: 2023 lines of code: convex/lib/catalogClassifier.mjs has 2023 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":"convex/lib/catalogClassifier.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8f1b730902e71e3b0beb854c8c9bd7f06bd38c1443ef38cdd9bd888fb0bb658"}},{"ruleId":"R3","level":"warning","message":{"text":"src/routes/plugins/$name.tsx: 1808 lines of code: src/routes/plugins/$name.tsx has 1808 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/routes/plugins/$name.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eee9aaf4c7ea4132319176c7bdbc3f363374386915c30ee274d3a88d3350b465"}},{"ruleId":"R3","level":"warning","message":{"text":"convex/publishAttempts.ts: 1800 lines of code: convex/publishAttempts.ts has 1800 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":"convex/publishAttempts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a1de3d12e35adfbaf263d73ee42b7a9deb6fbcaaa2d0600d88b305ff16cb10f"}},{"ruleId":"R3","level":"warning","message":{"text":"convex/migrations.ts: 1726 lines of code: convex/migrations.ts has 1726 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":"convex/migrations.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b61eeda01bba30f5dbd705032265ba89986f99d9e5010f746c6673344dc08411"}},{"ruleId":"R3","level":"warning","message":{"text":"src/routes/-management/AbusePage.tsx: 1719 lines of code: src/routes/-management/AbusePage.tsx has 1719 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/routes/-management/AbusePage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"184343cb9895b1ee5e93b6933fd461f25c60fe18c6485c3e2ba1190a20421d39"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/clawhub/src/cli/commands/skills.ts: 1659 lines of code: packages/clawhub/src/cli/commands/skills.ts has 1659 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/skills.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"019459655f7dfcec91bf8113ccfb27cadcdf87dad2cb04bd9aeb02373fbcbece"}},{"ruleId":"R3","level":"warning","message":{"text":"src/routes/import.tsx: 1565 lines of code: src/routes/import.tsx has 1565 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/routes/import.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d7ea00f0a473fe280cb8e46218f650e237068d9ee0c461ba62420e58aab3e27"}},{"ruleId":"R3","level":"warning","message":{"text":"scripts/security/run-prepublication-worker.ts: 1408 lines of code: scripts/security/run-prepublication-worker.ts has 1408 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/security/run-prepublication-worker.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21af63c3509a66ad76fbe933ed9a364fc63f1f66b1c47a293b389b48c9fbfceb"}},{"ruleId":"R3","level":"warning","message":{"text":"src/routes/skills/publish.tsx: 1377 lines of code: src/routes/skills/publish.tsx has 1377 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/routes/skills/publish.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ab24563534b52866b043661ff6ea9850bb9512522e85343b55068848ad83da5"}},{"ruleId":"R3","level":"warning","message":{"text":"convex/skillStatEvents.ts: 1328 lines of code: convex/skillStatEvents.ts has 1328 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":"convex/skillStatEvents.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cbc85ca7c60597da643a9b5459535bdd8915e443985de810f39e83ed08ea5b4"}},{"ruleId":"R3","level":"warning","message":{"text":"convex/canonicalTrending.ts: 1321 lines of code: convex/canonicalTrending.ts has 1321 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":"convex/canonicalTrending.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca104caa92515cefa6594e248bd802335bb3ef66038b87c8e50181edcd04320"}},{"ruleId":"R3","level":"warning","message":{"text":"scripts/package-inspector-nightly-scan.ts: 1292 lines of code: scripts/package-inspector-nightly-scan.ts has 1292 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/package-inspector-nightly-scan.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a47dfa655b77e9f0fc4fca4255f981f5aa7f5b59cd755845e9452ee233de2111"}},{"ruleId":"R3","level":"warning","message":{"text":"src/routeTree.gen.ts: 1242 lines of code: src/routeTree.gen.ts has 1242 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/routeTree.gen.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c245f1645b25c9489904320a5c3e34c143f1fb32f7f7074a807c110936c186e"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/Header.tsx: 1235 lines of code: src/components/Header.tsx has 1235 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/Header.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c7d5dae80d7d168f467c60b8e24d4f74b07d30cbde5c0dc4f2422b3b26fb19b"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/SecurityAuditPage.tsx: 1221 lines of code: src/components/SecurityAuditPage.tsx has 1221 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/SecurityAuditPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a48b5d36a6517de33bffd83f80c6f85819535a142b1d55fef7311c88b6cfd0b"}},{"ruleId":"R3","level":"warning","message":{"text":"convex/publisherAbuseTemporalScan.ts: 1219 lines of code: convex/publisherAbuseTemporalScan.ts has 1219 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":"convex/publisherAbuseTemporalScan.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4640fbde904b7c5720d9d9bd3fd0ed2b1f6f88c7cfaf6917a782b24ccf4de895"}},{"ruleId":"R3","level":"warning","message":{"text":"convex/httpApiV1/skillsShCatalogV1.ts: 1206 lines of code: convex/httpApiV1/skillsShCatalogV1.ts has 1206 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":"convex/httpApiV1/skillsShCatalogV1.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aef6ba77ceb9a088e6e6df0bf279a423585845a43e87ee90c92746bc67596590"}},{"ruleId":"R3","level":"warning","message":{"text":"src/routes/user/$handle.tsx: 1192 lines of code: src/routes/user/$handle.tsx has 1192 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/routes/user/$handle.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"edc196fc8d55f37781dffdfdbcf30deefe9334fb9fde31e921d81eb9af70afae"}},{"ruleId":"R3","level":"warning","message":{"text":"src/routes/management.tsx: 1142 lines of code: src/routes/management.tsx has 1142 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/routes/management.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba3517c36dac729bc1b9f56fd695982766cce05b8d5fde7091e3e49909c6854"}},{"ruleId":"R3","level":"warning","message":{"text":"src/routes/plugins/publish.tsx: 1084 lines of code: src/routes/plugins/publish.tsx has 1084 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/routes/plugins/publish.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f79dade7b43528f6c9e94e6250d706dd93453ec7d06c702ac2ecaa98895b94"}},{"ruleId":"R3","level":"warning","message":{"text":"convex/skillsShMirrorVisibility.ts: 1081 lines of code: convex/skillsShMirrorVisibility.ts has 1081 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":"convex/skillsShMirrorVisibility.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a1d11541ab6ac4add738be10a01c2bdc530ec7e99ab58e0581cd7620aa496bd"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/clawhub/src/http.ts: 1042 lines of code: packages/clawhub/src/http.ts has 1042 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/http.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71422103bd9b47957388ec3f3c7b0d62329174edbfd9360d569d70078aea95f8"}},{"ruleId":"R3","level":"warning","message":{"text":"server/routes/ops/skills-sh/mirror-test.post.ts: 1013 lines of code: server/routes/ops/skills-sh/mirror-test.post.ts has 1013 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":"server/routes/ops/skills-sh/mirror-test.post.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46af35775874f9dca83eb6ad3595c02b695481254b75edb78d42c74b6005844a"}},{"ruleId":"R3","level":"warning","message":{"text":"scripts/ranking-metrics/import-test-ranking-metrics.ts: 1005 lines of code: scripts/ranking-metrics/import-test-ranking-metrics.ts has 1005 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/ranking-metrics/import-test-ranking-metrics.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5780745c54e990aa8bd7857d717ae390fc968c784761070bec2f515ea0e3e4ef"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/SkillDetailPage.tsx: 982 lines of code: src/components/SkillDetailPage.tsx has 982 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/SkillDetailPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"edf04a2c1736b7f558162250d85f09b9e49b1a3274b2ec8cacd4488453af778f"}},{"ruleId":"R3","level":"warning","message":{"text":"scripts/skills-sh-catalog/prove-500.ts: 960 lines of code: scripts/skills-sh-catalog/prove-500.ts has 960 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/skills-sh-catalog/prove-500.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8b8166d92f6b8473b259c027edc899286aa3948090195add5b07c83f55035fd"}},{"ruleId":"R3","level":"warning","message":{"text":"convex/httpApiV1/usersV1.ts: 954 lines of code: convex/httpApiV1/usersV1.ts has 954 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":"convex/httpApiV1/usersV1.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5935209c0caca96674b824498e25c082843fec4723f6bbadbae525f3f028ae98"}},{"ruleId":"R3","level":"warning","message":{"text":"scripts/security-dataset/export-snapshot.ts: 953 lines of code: scripts/security-dataset/export-snapshot.ts has 953 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/security-dataset/export-snapshot.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5f0b54ffa0f7a449bd9ce107c614ed60ee3554be25ba25b2153d5eae9e3d9f3"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/schema/src/templates.ts: 952 lines of code: packages/schema/src/templates.ts has 952 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/templates.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"11ba1383e1998d2c14c8b464c882907566afea3b5fc690bf830a02dc2c7c00fb"}},{"ruleId":"R3","level":"warning","message":{"text":"convex/lib/skillPublish.ts: 947 lines of code: convex/lib/skillPublish.ts has 947 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":"convex/lib/skillPublish.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"712a72e0c704445a216e6a269e836d6e3f1d7fabe3b57aa9c5d1b2158bad1076"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/SkillDiffCard.tsx: 926 lines of code: src/components/SkillDiffCard.tsx has 926 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/SkillDiffCard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e3e64ead59fc8f2006b57a57f94a8288260dca81fc027d04621188db382a0a4"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/clawhub-admin/src/cli.ts: 919 lines of code: packages/clawhub-admin/src/cli.ts has 919 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/cli.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"085420f17a461a8e27db86387d07183c5041f58651d03a347cee2843f3707eac"}},{"ruleId":"R3","level":"warning","message":{"text":"convex/githubImport.ts: 875 lines of code: convex/githubImport.ts has 875 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":"convex/githubImport.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"428a9228b3917407e870e87dd839c823e1ea71dcbce7c3b90fc58f0221b01de6"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/SkillDetailPageView.tsx: 847 lines of code: src/components/SkillDetailPageView.tsx has 847 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/SkillDetailPageView.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"490b8364661bce48eed31d4c574511e8c5d32b392975104f0b5fce177d84af49"}},{"ruleId":"R3","level":"warning","message":{"text":"convex/publisherAbuseDevSeed.ts: 845 lines of code: convex/publisherAbuseDevSeed.ts has 845 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":"convex/publisherAbuseDevSeed.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d4b4a71cefe30de952f3074942649ebf6673d4c79453978690e074f4c4cb082"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/clawhub/src/cli.ts: 845 lines of code: packages/clawhub/src/cli.ts has 845 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27c767bc7f1dcbdc641945380ac5508a741131d08577a46f7d7e8d417beedf84"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/clawhub/src/cli/commands/inspect.ts: 822 lines of code: packages/clawhub/src/cli/commands/inspect.ts has 822 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/inspect.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"910a679cb8369e6c515b289be19ea56a3eb52b0080c12e872b55fb7beb6ddf2c"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/clawhub-admin/src/commands/moderation.ts: 795 lines of code: packages/clawhub-admin/src/commands/moderation.ts has 795 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/moderation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bfbbf1cbaa8b9d660571351f47ec03ca72efa01b9688f2762131db79533dd93"}},{"ruleId":"R3","level":"warning","message":{"text":"convex/lib/openClawPublishAuthorization.ts: 777 lines of code: convex/lib/openClawPublishAuthorization.ts has 777 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":"convex/lib/openClawPublishAuthorization.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09424d8c466c6109217da1a54ea9dbcd27165f8a87481a2cb55e642b3cdad4f5"}},{"ruleId":"R3","level":"warning","message":{"text":"convex/catalogFeed.ts: 747 lines of code: convex/catalogFeed.ts has 747 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":"convex/catalogFeed.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ec6957a96479b2667f46b26edab11a7542d6b81022ccb1ae079aa02c6740050"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/HomeListingSection.tsx: 723 lines of code: src/components/HomeListingSection.tsx has 723 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/HomeListingSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e26c452f5b90fa19c86d10e200bd50b7c69efb7a2c7f1aa1b38b4d7aa570fbf"}},{"ruleId":"R3","level":"warning","message":{"text":"scripts/security-dataset/normalize.ts: 714 lines of code: scripts/security-dataset/normalize.ts has 714 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/security-dataset/normalize.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f97a30792d670e27026ee4cb39af3b4cf1dd85334ae9d4812e1705383ecf355"}},{"ruleId":"R3","level":"warning","message":{"text":"scripts/skills-sh-catalog/prove-mirror-test.ts: 713 lines of code: scripts/skills-sh-catalog/prove-mirror-test.ts has 713 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/skills-sh-catalog/prove-mirror-test.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6442b1ac6e299fd71d8e55ebf7b6978aad03b41317961fe7dceb6aa11904d2e4"}},{"ruleId":"R3","level":"warning","message":{"text":"server/convexProxy.ts: 713 lines of code: server/convexProxy.ts has 713 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":"server/convexProxy.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d64f80733e5962f53c9700c664536583af37591e295fc871b3779f22e580a3d5"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/clawhub-admin/src/commands/packages.ts: 692 lines of code: packages/clawhub-admin/src/commands/packages.ts has 692 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/packages.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9070a46a250cc33fc99ac13a1330a746b4819a007de48ae8feb7a546a15d6a37"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/dashboard/DashboardNeedsAttention.tsx: 691 lines of code: src/components/dashboard/DashboardNeedsAttention.tsx has 691 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/dashboard/DashboardNeedsAttention.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5024c532077f524ee475690163f7ab4ab364f6f9ce531987abdad65ec27ecbe"}},{"ruleId":"R3","level":"warning","message":{"text":"convex/statsMaintenance.ts: 690 lines of code: convex/statsMaintenance.ts has 690 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":"convex/statsMaintenance.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c3c8a509e7b811bf237567614bbb1a8ea9bb2f4383f07505a5d9dbd0dda40f2"}},{"ruleId":"R3","level":"warning","message":{"text":"convex/lib/githubSkillSync.ts: 689 lines of code: convex/lib/githubSkillSync.ts has 689 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":"convex/lib/githubSkillSync.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54f2058f513745186dbdbc4f6220d299fef2fe3f473843d6f56c9821237d4dbf"}},{"ruleId":"R3","level":"warning","message":{"text":"scripts/plugin-category-operator.ts: 684 lines of code: scripts/plugin-category-operator.ts has 684 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/plugin-category-operator.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bf2daa08f0c6581837f92ca02942a8a699660dfae9ed000f71cf7021dead2db"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/BrowseControls.tsx: 676 lines of code: src/components/BrowseControls.tsx has 676 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/BrowseControls.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4eac460ed5aa1893e00c9744e7c1c4907d5571a04417293c15dad55797b131f"}},{"ruleId":"R3","level":"warning","message":{"text":"scripts/run-playwright-local-auth.ts: 673 lines of code: scripts/run-playwright-local-auth.ts has 673 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/run-playwright-local-auth.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee23c812fab943238c852c1877b1ced42338ef9af469b26c177269c0ecedcf2a"}},{"ruleId":"R3","level":"warning","message":{"text":"convex/httpApiV1/shared.ts: 672 lines of code: convex/httpApiV1/shared.ts has 672 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":"convex/httpApiV1/shared.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce75d4548d5603fd7c3e2d88dd5b93c7576ece14af1aa88b90167db38772d1d6"}},{"ruleId":"R3","level":"warning","message":{"text":"convex/canonicalTrendingTestFixtures.ts: 665 lines of code: convex/canonicalTrendingTestFixtures.ts has 665 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":"convex/canonicalTrendingTestFixtures.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46af54a4476c24875db6ef064ecadb58cf986278a5939358682e9fe8727ba22a"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/clawhub-admin/src/commands/orgs.ts: 649 lines of code: packages/clawhub-admin/src/commands/orgs.ts has 649 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/orgs.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e4c8110373f1b8f60aa33927e893c753fc85162dc98e5a5563f49094e87d9de"}},{"ruleId":"R3","level":"warning","message":{"text":"convex/lib/securityPrompt.ts: 647 lines of code: convex/lib/securityPrompt.ts has 647 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":"convex/lib/securityPrompt.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8d5b73843caaf05a380fea7c5b96ac6cb3afd451b31a3f9f5844904333db5bd"}},{"ruleId":"R3","level":"warning","message":{"text":"convex/skillCards.ts: 645 lines of code: convex/skillCards.ts has 645 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":"convex/skillCards.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a981329bdf48e870617ffdaa5deefbfcb86df603b15adb3163d42f4c29f8d83"}},{"ruleId":"R3","level":"warning","message":{"text":"src/routes/plugins/index.tsx: 645 lines of code: src/routes/plugins/index.tsx has 645 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/routes/plugins/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"295f8ddf28568bec408c9b4e9192d7827cbb3ff291a8db574ea0f6d0283ceeed"}},{"ruleId":"R3","level":"warning","message":{"text":"convex/pluginCategoryRefresh.ts: 643 lines of code: convex/pluginCategoryRefresh.ts has 643 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":"convex/pluginCategoryRefresh.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d51f652358068d12d6a625a493bfccc138aba655a831b0a884ddf181974aa2c6"}},{"ruleId":"R3","level":"warning","message":{"text":"convex/lib/packageRegistry.ts: 640 lines of code: convex/lib/packageRegistry.ts has 640 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":"convex/lib/packageRegistry.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba3d653d5841c96ed46f1098033acb93a16257ba7969c0fef8be21e36bc7ce95"}},{"ruleId":"R3","level":"warning","message":{"text":"convex/skillEvaluations.ts: 639 lines of code: convex/skillEvaluations.ts has 639 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":"convex/skillEvaluations.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf11840c691c50cd6371ec9d741e89d025c3b0feab8d5fda0c1d3da9782f19cc"}},{"ruleId":"R3","level":"warning","message":{"text":"scripts/skills-sh-catalog/sync.ts: 596 lines of code: scripts/skills-sh-catalog/sync.ts has 596 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/skills-sh-catalog/sync.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25bdf5b6bd7bd68a9018bd3aebe1f4edb52b018bbc38f10c3d74c6554b63aad2"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/schema/src/catalogMetadata.ts: 595 lines of code: packages/schema/src/catalogMetadata.ts has 595 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/catalogMetadata.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a17bd369991f23fcc31a329cf6d8dc74999b647df8e1b66f9221a858c1c5335d"}},{"ruleId":"R3","level":"warning","message":{"text":"scripts/skill-cards/run-skill-card-worker.ts: 573 lines of code: scripts/skill-cards/run-skill-card-worker.ts has 573 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/skill-cards/run-skill-card-worker.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b2d40b25bf2359adb857852a022d536b16738a059630020c1eb8a224757dc14"}},{"ruleId":"R3","level":"warning","message":{"text":"convex/lib/emails.ts: 567 lines of code: convex/lib/emails.ts has 567 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":"convex/lib/emails.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0617a417510baf9958b026123f1c4cb04e4e05e9a10e4590d53b1e6624adfcf"}},{"ruleId":"R3","level":"warning","message":{"text":"convex/searchInsights.ts: 567 lines of code: convex/searchInsights.ts has 567 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":"convex/searchInsights.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6643b34b661205c82c99ab8e46a1893fc9c6d8f2026f0d001a8da2618f664b2f"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/TemplateDetailPage.tsx: 565 lines of code: src/components/TemplateDetailPage.tsx has 565 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/TemplateDetailPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3451ee5388bfa24476d083e13a47f64d9db996cfaaba48e7e08f891aac7813b"}},{"ruleId":"R3","level":"warning","message":{"text":"src/routes/skills/-useSkillsBrowseModel.ts: 565 lines of code: src/routes/skills/-useSkillsBrowseModel.ts has 565 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/routes/skills/-useSkillsBrowseModel.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"82bb8fa6dff27c59324f22544da41c3fa8a00749f3a3684325a8e25864b13698"}},{"ruleId":"R3","level":"warning","message":{"text":"convex/lib/publisherAbuseScoring.ts: 563 lines of code: convex/lib/publisherAbuseScoring.ts has 563 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/publisherAbuseScoring.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"67bd50127ccff440860535fee2122a9d7e88326ccc759ddb691591334fcee626"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/packageApi.ts: 553 lines of code: src/lib/packageApi.ts has 553 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/packageApi.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"75cb6a9a733f35b009fbfbed452aaabbbe4613eb9671890ec9361ef9a3a9b8b3"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/homeApps.ts: 551 lines of code: src/lib/homeApps.ts has 551 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/homeApps.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0e9d61f44a0cd0ced565571a53f30c3bb01fe57d86b260b1445f28572138124"}},{"ruleId":"R3","level":"warning","message":{"text":"convex/lib/publishers.ts: 538 lines of code: convex/lib/publishers.ts has 538 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":"convex/lib/publishers.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"90668f9f3589fada7c3a741d2c4433f8f9865887eb2450f269341bbec0739fa8"}},{"ruleId":"R3","level":"warning","message":{"text":"src/routes/-management/ManagedMcpTools.tsx: 530 lines of code: src/routes/-management/ManagedMcpTools.tsx has 530 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/routes/-management/ManagedMcpTools.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e3213ce10f14d54dccb97cc72531c85328fdd68ab309381c837a2597ff065f6"}},{"ruleId":"R3","level":"warning","message":{"text":"convex/lib/canonicalTrending.ts: 528 lines of code: convex/lib/canonicalTrending.ts has 528 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":"convex/lib/canonicalTrending.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21de10134899f341279b014333dcc6a527edf6dab2d3c29556f67b4554660adf"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/clawhub/src/cli/commands/sync.ts: 526 lines of code: packages/clawhub/src/cli/commands/sync.ts has 526 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/sync.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ae42613e4439a20ac64483a3a1b88f60136f64666ca57fffb692e8a6de0726b"}},{"ruleId":"R3","level":"warning","message":{"text":"convex/devSeedExtra.ts: 525 lines of code: convex/devSeedExtra.ts has 525 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/devSeedExtra.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bc91a641643376ae23354557610a4678d678212ae5b727bbc02c1e3fd3f8276"}},{"ruleId":"R3","level":"warning","message":{"text":"convex/promotions.ts: 525 lines of code: convex/promotions.ts has 525 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/promotions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c04396f54001a9ddba92c479e112df938ee35e21edf1a4ebe1abb0926fc4d30"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/homeListingData.ts: 525 lines of code: src/lib/homeListingData.ts has 525 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/homeListingData.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c95aa769d2c6d867def6b0a02d81914be7e4b54e4fc74a41132f139ab7ae6637"}},{"ruleId":"R3","level":"warning","message":{"text":"scripts/security-dataset/convexExport.ts: 520 lines of code: scripts/security-dataset/convexExport.ts has 520 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/security-dataset/convexExport.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2436c5d6333f7e19e37302abb5d57fdc9d2a505e58f8926870a45dc6c267887d"}},{"ruleId":"R3","level":"warning","message":{"text":"convex/lib/githubActionsOidc.ts: 517 lines of code: convex/lib/githubActionsOidc.ts has 517 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":"convex/lib/githubActionsOidc.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64cda9c18cf62bf283c89ef9eaddcf9ae0776d7a3c64d8001936e72463696a25"}},{"ruleId":"R3","level":"warning","message":{"text":"convex/lib/publishAttemptOperationalRecovery.ts: 510 lines of code: convex/lib/publishAttemptOperationalRecovery.ts has 510 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":"convex/lib/publishAttemptOperationalRecovery.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c4538cffae42b53da9d9228c0d540b37313d7f486beea0c566daa7ceeecc24b"}},{"ruleId":"R3","level":"warning","message":{"text":"scripts/security/run-clawscan-diagnostic.ts: 508 lines of code: scripts/security/run-clawscan-diagnostic.ts has 508 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/security/run-clawscan-diagnostic.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5982633118fea3dfbdb6b844bedfeeeeb43d639bb412752ecb9a828b64835a32"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/clawhub/src/cli/commands/github.ts: 486 lines of code: packages/clawhub/src/cli/commands/github.ts has 486 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/github.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4159ce61a191380c8119ba3aa3a3487746ef0a00b81834063cac0e4a447835b"}},{"ruleId":"R3","level":"warning","message":{"text":"scripts/lib/previewAnalyticsProof.ts: 481 lines of code: scripts/lib/previewAnalyticsProof.ts has 481 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/lib/previewAnalyticsProof.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"94530cb3f1d702314d65c22176e732ed7ca6671e942ebc9fa2722891e1c0565e"}},{"ruleId":"R3","level":"warning","message":{"text":"convex/lib/httpRateLimit.ts: 480 lines of code: convex/lib/httpRateLimit.ts has 480 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":"convex/lib/httpRateLimit.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c77aea410f6891a78e7481b26513dce184593b9544c1cd5550aa9d96bed41229"}},{"ruleId":"R3","level":"warning","message":{"text":"convex/searchWeeklyDigest.ts: 476 lines of code: convex/searchWeeklyDigest.ts has 476 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":"convex/searchWeeklyDigest.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9a996b9ea574bd18ea132c57c6671ad26342f5e73148b4bafdcf6b20000954d"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/clawhub/src/cli/commands/publish.ts: 475 lines of code: packages/clawhub/src/cli/commands/publish.ts has 475 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/publish.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35f3f13cc4e7f68371ca57c033bbbac815ac5fac9f731135a6bbd0a434b50cd7"}},{"ruleId":"R3","level":"warning","message":{"text":"scripts/dev-worktree.ts: 472 lines of code: scripts/dev-worktree.ts has 472 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/dev-worktree.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ba66d97bd88dca5d83d25ca9ab5dc0c4c0312e61fce2e0dd6fc199cb99f4464"}},{"ruleId":"R3","level":"warning","message":{"text":"convex/lib/retentionPolicy.ts: 463 lines of code: convex/lib/retentionPolicy.ts has 463 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":"convex/lib/retentionPolicy.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c63540cfa97e09324c2250eb15775a9427a05e7f3bad4106c85dc379755a9fd1"}},{"ruleId":"R3","level":"warning","message":{"text":"scripts/local-clawscan-dry-run.ts: 462 lines of code: scripts/local-clawscan-dry-run.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":"scripts/local-clawscan-dry-run.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6532888374002a2fc260855c6b785feeb815c3a9475c20790e293b7f1aa29a5d"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/useUnifiedSearch.ts: 458 lines of code: src/lib/useUnifiedSearch.ts has 458 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/useUnifiedSearch.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e17b64d9a674bca8138b0f64a454ac5724371b56fb6cd4bd4e072880d760a12"}},{"ruleId":"R3","level":"warning","message":{"text":"convex/downloads.ts: 450 lines of code: convex/downloads.ts has 450 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":"convex/downloads.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cb1791bd974bcfdcff901d1fa5e451e95397588827956c37cf5d7b1a152ba91"}},{"ruleId":"R3","level":"warning","message":{"text":"src/routes/search.tsx: 447 lines of code: src/routes/search.tsx has 447 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/search.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32e026b865def7ed762b223c1259c5ded2f606d694575320c2fe42fcac5385e7"}},{"ruleId":"R3","level":"warning","message":{"text":"convex/httpApi.ts: 446 lines of code: convex/httpApi.ts 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":"convex/httpApi.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"376defdce079f8ed3400cd590bb0c4e6916e84186508298db870e6c9e343bcc7"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/schema/src/templateAgent.ts: 446 lines of code: packages/schema/src/templateAgent.ts 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":"packages/schema/src/templateAgent.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"04c47ba3522535014bd36bf02130ea09890943805873f875c0f344b76b5d02f3"}},{"ruleId":"R3","level":"warning","message":{"text":"scripts/staging-seed/sanitize-prod-snapshot.ts: 446 lines of code: scripts/staging-seed/sanitize-prod-snapshot.ts 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":"scripts/staging-seed/sanitize-prod-snapshot.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"971606592a2e7fc1ecdda4dd72cf609b05f4bd6efd658729925a6500a5e43d1c"}},{"ruleId":"R3","level":"warning","message":{"text":"src/routes/-management/PromotionsPage.tsx: 443 lines of code: src/routes/-management/PromotionsPage.tsx has 443 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/routes/-management/PromotionsPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"48f862b0c26d356f0afa3b3de46f6c949d648688931ed632cc313294741d2191"}},{"ruleId":"R3","level":"warning","message":{"text":"convex/skillTransfers.ts: 441 lines of code: convex/skillTransfers.ts has 441 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":"convex/skillTransfers.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13402d1ca49ac25796b7d7d846c1c91e7673041e3e07b72363b61e912597e9b3"}},{"ruleId":"R3","level":"warning","message":{"text":"convex/functions.ts: 437 lines of code: convex/functions.ts has 437 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":"convex/functions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cedf29d51d8e9071ae54fc0440539971170529e976b79c3b6776c61a9d205ae"}},{"ruleId":"R3","level":"warning","message":{"text":"convex/skillPresentationBackfill.ts: 437 lines of code: convex/skillPresentationBackfill.ts has 437 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":"convex/skillPresentationBackfill.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"750ef84dfc88e3f0973805898f3ab07a3513435c11b0630a3f44c20d57a2d364"}},{"ruleId":"R3","level":"warning","message":{"text":"convex/publisherAbuseOwnerSynchrony.ts: 433 lines of code: convex/publisherAbuseOwnerSynchrony.ts has 433 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":"convex/publisherAbuseOwnerSynchrony.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2f658f8bd5d92b353fa488533293daf2466002074c867ee215a8b4fe1ded496"}},{"ruleId":"R3","level":"warning","message":{"text":"scripts/skills-sh-catalog/deploy-overlap-experiment.ts: 431 lines of code: scripts/skills-sh-catalog/deploy-overlap-experiment.ts has 431 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/skills-sh-catalog/deploy-overlap-experiment.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"541851b88e96ee5dda85b7f13a013b1383375b7409b654c53a1df668d7fb03a0"}},{"ruleId":"R3","level":"warning","message":{"text":"scripts/security/run-clawscan-original038-diagnostic.ts: 429 lines of code: scripts/security/run-clawscan-original038-diagnostic.ts has 429 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/security/run-clawscan-original038-diagnostic.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7111a3fb770ba3b077a9f04cbdb7ace9ec821d568fe4c49c9138087c688fa400"}},{"ruleId":"R3","level":"warning","message":{"text":"convex/skillsShClaims.ts: 426 lines of code: convex/skillsShClaims.ts has 426 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":"convex/skillsShClaims.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3295f1fb56cc8f128347b0a4f0fcf648935c40818e9f2506b3b6b1d885dd0cdb"}},{"ruleId":"R3","level":"warning","message":{"text":"convex/searchReports.ts: 423 lines of code: convex/searchReports.ts has 423 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":"convex/searchReports.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"301040a5f0ab7da8c47650cc2ca317e6c53c8590775b6333b60925171c652d25"}},{"ruleId":"R3","level":"warning","message":{"text":"server/og/publisherOgSvg.ts: 420 lines of code: server/og/publisherOgSvg.ts has 420 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":"server/og/publisherOgSvg.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3a02b69413d0f49a74bbf45143cb01b70b004891b0aa5aa8ac4dd4d7971a368"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/schema/src/templatePackage.ts: 415 lines of code: packages/schema/src/templatePackage.ts has 415 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/templatePackage.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2058d2d496149fc8690e311f7ca613ca1a12ef9b320c8df257724cdc1c9b977"}},{"ruleId":"R3","level":"warning","message":{"text":"src/lib/googleAnalytics.ts: 413 lines of code: src/lib/googleAnalytics.ts has 413 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/googleAnalytics.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1db01bda2a7e3cf5ec4029d4fb6abc6660083f761f782b2c418c108f01c9b9e"}},{"ruleId":"R3","level":"warning","message":{"text":"src/routes/-management/SearchInsightsPage.tsx: 410 lines of code: src/routes/-management/SearchInsightsPage.tsx has 410 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/routes/-management/SearchInsightsPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b6890910ddfbe098c17d3e1afce894496c5e99f9d92fe0c305536968bb89c3d"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/SkillOwnershipPanel.tsx: 408 lines of code: src/components/SkillOwnershipPanel.tsx has 408 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/SkillOwnershipPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2c3ffff2f6f4c368906dbd9a547142c1fee910595cb23a9fda6bdc533265dc3"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/PluginVersionsPanel.tsx: 405 lines of code: src/components/PluginVersionsPanel.tsx has 405 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/PluginVersionsPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c1ff298fd56662064097a331b240c8cae97a4d5b4e8772cfb04073d5b5de13b"}},{"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/routes/audits.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f100161270f18f16c63d72326e5abe4079292bb9edfad3b3f2410d8b04971b0d"}},{"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/routes/add.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe9d75b1d5eacd17a1d8f3fbee7cdb89a2c6b40062fc85461e48ad3fa1881852"}},{"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/routes/$owner/plugins/$slug/security-audit.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7e713a1708932bea5593e13166269a77987538d802c6f00a27e46d6172c26cc"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/scripts/shared-schema.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0db21953d682f65328ef1c06dd61d836557e71ce0d4f4d4c2b8f9d1410c2a17"}},{"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/routes/$owner/plugins/$slug.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"644a1602a3f5a6ccb900f26a189ca7ed69c7fa714312ddb6430ada35362eadc0"}},{"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/server.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02c2668f4b3347dd7369ef1d55bce8ae140da97f022fa61236a0c83880d9f629"}},{"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/routes/$owner/$slug/settings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"60ba0304c28f7d2925e60eaf446c26f82b281a3266c897018885391b11b8f28c"}},{"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/routes/plugins/$scope/$name/security-audit.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"23592e20b14ca8a9aeaa9fa3b75d0db546c0248e43669a45bc8a1dc8fa183bf6"}},{"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/routes/$owner/skills/$slug/settings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65046370a755ecc665c85bf6c6aeaeaf5f9892513504ed5922534bd5b19d169a"}},{"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/router.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb7f06323446ca132988a60d448bb9abe647ede9ece51586d98fc16efc4535c2"}},{"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/routes/packages/new.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27668d1662561b976289d68f382503ca97e059734f95ca3770cccdf44020327d"}},{"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/routes/$owner/plugins/$slug/security/$scanner.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9445c0addf9d37768fb93e7a143c0781d2ba3a8f1106f563cc4117b7bd9cf96"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/scripts/typecheck.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6065d9513bc27b8926180f06653aa7d1325eb3032a49e6bcd964fa21188eea8"}},{"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/routes/$owner/$slug/security/$scanner.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a8a6eb0077ee15fc57787f63762a69909c98e703edf0c947d779382d7388ef4"}},{"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/routes/$owner/skills/$slug/security/$scanner.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eabbe88d4dce05b0af51df5f4c8e48101b9a0f1de8065dc2f1f9651c42c4126"}},{"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/routes/admin.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c7cef310ea7f4bd6bc3d05f9704c55e27ca97f0a0c8dc1a0fc22537ad55f6e7"}},{"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/routes/plugins/$name/security/$scanner.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de1176fb518191cb7247dc01b52d2ffe54e9fe7b1917d4e49696ea8c653b644"}},{"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/routes/packages/$name.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d64d073504271bebaafbfe903c56ab0b22f9c2ed5a1863ef14a16d631ef65531"}},{"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/routes/packages/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02b34022d00dd5a1833ffbfb9dc70caceb4f940858452c67da0186c954fb1a00"}},{"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/routes/plugins/new.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f38db17c1b884fe69bc7f1760e546c048ec93a0a617f99b869a3f76d03b95ca9"}},{"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/routes/publish-plugin.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f403fd9dfdea9b95cbd5b7e5e809ab0ef70cfc47db1e38a68b93bc74ad39f7b9"}},{"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/routes/publish-skill.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f15c72031e0f9e9b234562b008f05afd6576c099d091660990a89a0c94878d"}},{"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/routes/upload.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df430aa46c5214d4e5206da453e3c51e9deb56377c1065d2f70898ef9d8efea0"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/scripts/build.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2dab1fafbce607f0a0ed762b38b2879ff0ea72b9ccd19ad8d532a0044ba23b7"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/scripts/build.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc52f13e3b6211720af1afd2480dc144fd813be62b53696f5e7f49e6d3dc363"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~1 LoC): no import path from any entry point (341 application, 81 tooling, 828 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":"server/routes/og/plugin.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d16dffb638e2fadde69a0b302ef45dae74f42af02f2cda6f507725dc9d9cf6fd"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~1 LoC): no import path from any entry point (341 application, 81 tooling, 828 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":"server/routes/og/profile.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fbbdde0ea38b6121900e8a175a5a679add131999dec12cd9a1b4268284aec45"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~1 LoC): no import path from any entry point (341 application, 81 tooling, 828 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":"server/routes/og/skill.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26d12b60b6c203e4a375f8d228fcf98620e674f89fa33eb16822dcd4a64be9aa"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027PLATFORM_SKILL_LICENSE_NAME\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/schema/license.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"c92d85222b22fea463dcff143ba3b5e1fe43fc0f658e535b378d502a2aad903b"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027PLATFORM_SKILL_LICENSE_URL\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/schema/license.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b2a202e515cb8f0cd70a87a9201f935ef6c00c4cd8f592a4be395927c6e7c67"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027ApiV1PublisherEnsureResponse\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in packages/clawhub/src/schema/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in packages/clawhub/src/schema/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/schema/schemas.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"55d474ffd28971c83a9f4b8068680a53f459f8718076f3146fd081f331cdd769"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027ApiV1PublisherRemoveMemberResponse\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in packages/clawhub/src/schema/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in packages/clawhub/src/schema/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/schema/schemas.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb7f7fe2f11a0bacf112985a568943ab091192a6f7f6be85c7ad6cf37a4a8e19"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027ApiV1PublisherProfileUpdateResponse\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in packages/clawhub/src/schema/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in packages/clawhub/src/schema/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/schema/schemas.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"dae484478d6cf7e6497cda8b4048cc9138bc2f3e3fd0bc913442cc59e74a63c9"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027ApiV1PublisherRecoveryResponse\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in packages/clawhub/src/schema/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in packages/clawhub/src/schema/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/schema/schemas.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d06423616e4662154f43aeaf87a54e7b3f180b17ba9fcc584e27f2359e11617"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027ApiV1OfficialPublisherListResponse\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in packages/clawhub/src/schema/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in packages/clawhub/src/schema/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/schema/schemas.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"c549313dcf6ef739c74c18313028058d8c3584026f5de0961081135f0d2b5801"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027ApiV1OfficialPublisherUpdateResponse\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in packages/clawhub/src/schema/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in packages/clawhub/src/schema/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/schema/schemas.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"8706517f09b8df20969b4ff0fb4656e2cdf1f5c50ca957f316360e3942aa3f76"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027writeReport\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/design-audit/report.ts"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f09bcf66c72466e44a2b449e64ee3a8918d631da43e96b8e9e7d8bd6e846456"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027STAGING_CONVEX_SITE_URL\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/staging-build-env.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"349fa61475e3faf94a9cdd59aaa35b0f05aed1332f9fb5bb875218cee69ced4f"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in server/handlers/convexProxy.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in server/handlers/convexProxy.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/convexProxy.ts"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"004a30f228d69ce0ce4d44d4468006a7310d4934bba344636a0e50a6108d9229"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@edge-runtime/vm\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":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7169f3d906f9a1e6166289e1d099b33474602bcd535bd4ed0eb3ddc11d70338"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@react-email/ui\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":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf94debadabfc8f165ec9734bb0fb2ddf729f137a7fec80edc75bd507d9b18f7"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027only-allow\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":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b76c6943619522cce0a6ce6b10344eaa49ff5eaf9321c2ddcb12b7946e395f"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027oxlint-tsgolint\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":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e27fbd65d8b33e9fd24eac1d72ffdd46208c1ed5e401dc8f06ae3644d1f54c1"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027react-email\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":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"17296f439f514b26daa4a8a1e0c7cbd295fc555867739e1de0747afe0a82c820"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027tsrs\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":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"33027dd1f601e1983aa0bf9994711475ba3c8915131148671325ebe351101238"}},{"ruleId":"R8","level":"note","message":{"text":"Type-only dependency \u0027unified\u0027 in production deps: Every import is type-only \u2014 move it to devDependencies."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/MarkdownPreview.tsx"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"0accbc51a0f3b6ec060df917a15f204e7f1ec54d6e30b454f4fcb40abe51bbb1"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060createHash(\u0022sha256\u0022)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/skillsShCatalogSource.ts"},"region":{"startLine":1063}}}],"partialFingerprints":{"codehealthFindingId/v1":"d44cfa86cbee313e3b9700a4659fd940c319d6116b939bf705eba7754e4f7d5e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!/^[a-z0-9][a-z0-9._-]*$/.test(part) || part.includes(\u0022..\u0022)\u0060 appears character-identically in 2 files \u2014 convex/featuredSkills.ts, packages/clawhub-admin/src/commands/featured.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/featuredSkills.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e994c5b6ac0b43a177260fb6cfd97cef895282b1ffb2cecc5c8a7a19fdb1234"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Array.isArray(value) || value.length === 0\u0060 appears character-identically in 2 files \u2014 packages/clawhub/src/cli/commands/scan.ts, scripts/security/run-codex-scan-worker.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/scan.ts"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d419527ba7498cf78aa59470476aac21601ca9bd0b9ca8781e3d9a6ed6156f8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Array.isArray(value) || value.length === 0 || value.length \u003E 512\u0060 appears character-identically in 2 files \u2014 .github/scripts/verify-trusted-tooling-identity.cjs, convex/lib/openClawPublishAuthorization.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/scripts/verify-trusted-tooling-identity.cjs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d0368b3fe2641fc37e65ed03d3cad335b54da1b0824bdbdf8050250b182cc44"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Number.isFinite(Date.parse(feed.generatedAt)) || !Number.isFinite(Date.parse(feed.expiresAt))\u0060 appears character-identically in 3 files \u2014 packages/schema/src/catalogFeed.ts, packages/schema/src/experimentalTemplateFeed.ts, packages/schema/src/promotionsFeed.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/catalogFeed.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"902aaab6b09a27a1fc71f8ea4ea8dc4e994671bf4079f57fac855426c1860152"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Number.isInteger(limit) || limit \u003C 1 || limit \u003E 100\u0060 appears character-identically in 3 files \u2014 convex/featuredIntelligence.ts, convex/lib/searchReportContract.ts, convex/searchInsights.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/featuredIntelligence.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"b47b85d65945301bdf64f9947292406d319d8fca1992e99665f075fa1f84f846"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Number.isInteger(value) || value \u003C min || value \u003E max\u0060 appears character-identically in 3 files \u2014 convex/skillsShCatalog.ts, convex/skillsShMirror.ts, server/skillsShCatalogSource.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skillsShCatalog.ts"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da41d2c485af2fc11bf57f7c9915b363c466920c403431ba3851f2cd4a0e0fc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Number.isSafeInteger(id) || id \u003C= 0 || login !== owner\u0060 appears character-identically in 2 files \u2014 convex/httpApiV1/skillsShCatalogV1.ts, scripts/skills-sh-catalog/github-owner-resolution.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/skillsShCatalogV1.ts"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"cedc41fc4349ea21f21615f6c77c8406ccf3a90255e516afc14519700ce5da17"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Number.isSafeInteger(timeoutMs) || timeoutMs \u003C 1 || timeoutMs \u003E DIAGNOSTIC_PROCESS_BUDGET_MS\u0060 appears character-identically in 2 files \u2014 scripts/security/run-clawscan-diagnostic.ts, scripts/security/run-clawscan-original-diagnostic.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/security/run-clawscan-diagnostic.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6e2efe4b611b1ee9df977f76c48d5374059e37de849220f9664693754e77fb7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!actor || actor.deletedAt || actor.deactivatedAt\u0060 appears character-identically in 6 files \u2014 convex/featuredSelections.ts, convex/featuredSkills.ts, convex/promotions.ts, convex/securityScan.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/featuredSelections.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"64887df4e1287991ae4567f0414b4ed9ade9a8a9367c18444ef761b4e890d72c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!begin.shouldDispatch || !begin.leaseToken\u0060 appears character-identically in 2 files \u2014 convex/securityScanDispatch.ts, convex/skillEvaluationDispatch.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/securityScanDispatch.ts"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"c602841127d2bf9e7c228d77a8119c4f62c9ea945c7088028db1478c37ca01e7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!canLoadMore || typeof IntersectionObserver === \u0022undefined\u0022\u0060 appears character-identically in 2 files \u2014 src/routes/official/index.tsx, src/routes/plugins/index.tsx. 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":"src/routes/official/index.tsx"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"55aca8c0a874852bd30b7475aea721780416f49cf85797bdc04a1598e80a8ff6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!entry || typeof entry !== \u0022object\u0022 || Array.isArray(entry)\u0060 appears character-identically in 3 files \u2014 .github/scripts/verify-trusted-tooling-identity.cjs, convex/httpApiV1/promotionsV1.ts, convex/lib/catalogClassifier.mjs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/scripts/verify-trusted-tooling-identity.cjs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"149d7176b3a77f7aee279a64bb8da48099e65e85cddba0831b2b394150ab0114"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!input || typeof input !== \u0022object\u0022 || Array.isArray(input)\u0060 appears character-identically in 2 files \u2014 convex/lib/skills/index.ts, packages/clawhub-admin/src/commands/managedMcp.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/skills/index.ts"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"d60c95a9295ca85808fd5eed22d319d81faebbebc362aaa867a79d78ce800331"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isInteractive() || inputAllowed === false\u0060 appears character-identically in 3 files \u2014 packages/clawhub-admin/src/commands/moderation.ts, packages/clawhub-admin/src/commands/orgs.ts, packages/clawhub/src/cli/commands/packages.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/moderation.ts"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"24066557e59e6685b3fed60aea8d34a8a620860c4c2423d8ad83346f32186729"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!issueClass || issueClass === \u0022inspector-gap\u0022\u0060 appears character-identically in 2 files \u2014 src/components/dashboard/DashboardNeedsAttention.tsx, src/routes/plugins/$name.tsx. 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":"src/components/dashboard/DashboardNeedsAttention.tsx"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"99042602fdae790708af106a76c280930a02af42b8936e2a33a824e8d9778361"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!linkedUser || linkedUser.deletedAt || linkedUser.deactivatedAt\u0060 appears character-identically in 2 files \u2014 convex/devSeed.ts, convex/publishers.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/devSeed.ts"},"region":{"startLine":2090}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8319a99a34f8ca658fb996c2a41c5d971ab678fd505235795708c3b44ff32a0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!message || /^unauthorized$/i.test(message)\u0060 appears character-identically in 2 files \u2014 convex/httpApi.ts, convex/httpApiV1/shared.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApi.ts"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"743f0c225a9ac868b2f7318e1d34d5bab8b700f33834e4483388eb08b0b6ce92"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!metadata || typeof metadata !== \u0022object\u0022 || Array.isArray(metadata)\u0060 appears character-identically in 2 files \u2014 scripts/local-clawscan-dry-run.ts, src/routes/-management/managementShared.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/local-clawscan-dry-run.ts"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"663906a6dd686a5467a789567440072b9ccacb01b56e9e840ab3c64b03c9c578"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!nextCursor || loadMoreInFlightRef.current\u0060 appears character-identically in 2 files \u2014 src/routes/official/index.tsx, src/routes/plugins/index.tsx. 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":"src/routes/official/index.tsx"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa89e1ba9cf13125d3a161c944c988700ab43296b8e963625e658104e089b51"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!normalized || normalized.includes(\u0022/\u0022) || normalized.includes(\u0022\\\\\u0022) || normalized.includes(\u0022:\u0022) || normalized.includes(\u0022..\u0022)\u0060 appears character-identically in 2 files \u2014 convex/lib/skillsShMirrorPublic.ts, convex/skillsShMirrorPublic.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/skillsShMirrorPublic.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b44133b7df7889afca92c7ecc3e2b97ce6c90ac2321414c0f356d57b14c078f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!options.file || options.files || options.versions || options.version\u0060 appears character-identically in 2 files \u2014 packages/clawhub/src/cli/commands/inspect.ts, packages/clawhub/src/cli/commands/packages.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/inspect.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b148a42dc687d6e52bd7d6ad264414d442a5d5e6df3f2bb65bda63f82533587"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!ownerHandle || !slug || ownerHandle.includes(\u0022\\\\\u0022) || ownerHandle.includes(\u0022..\u0022) || slug.includes(\u0022\\\\\u0022) || slug.includes(\u0022..\u0022)\u0060 appears character-identically in 2 files \u2014 packages/clawhub-admin/src/commands/featured.ts, packages/clawhub-admin/src/commands/skills.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/featured.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"77f8ebfd6bd8932f232d3dddb0af0b0d1a1b4467eee3ef03d29382d3b3e0f2c4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!parsed || typeof parsed !== \u0022object\u0022 || Array.isArray(parsed)\u0060 appears character-identically in 5 files \u2014 convex/httpApiV1/usersV1.ts, convex/lib/githubSkillSync.ts, convex/lib/skills/skillMarkdown.ts, scripts/generate-llms-txt.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/usersV1.ts"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"c05c1ba639322aecffcba798b0ab182cf843478f0c3feedfbf408109e706e02c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!payload || typeof payload !== \u0022object\u0022 || Array.isArray(payload)\u0060 appears character-identically in 4 files \u2014 convex/httpApiV1/publishersV1.ts, convex/httpApiV1/skillsV1.ts, convex/packageInspectorHttp.ts, server/skillsShCatalogSource.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/publishersV1.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e1f02c46d5cf71aa145ad8b3693346d781549ddf72639c1155d5a23f3056be7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!publisher || publisher.deletedAt || publisher.deactivatedAt\u0060 appears character-identically in 7 files \u2014 convex/githubSkillSync.ts, convex/lib/officialPublishers.ts, convex/lib/public.ts, convex/publisherAbuse.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/githubSkillSync.ts"},"region":{"startLine":1124}}}],"partialFingerprints":{"codehealthFindingId/v1":"008c9d1fee68aaee361336399a6151015946c88b98b2b0fe74316cc96bed92d0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!reason || reason.length \u003E 500 || !Number.isFinite(args.expectedUpdatedAt)\u0060 appears character-identically in 2 files \u2014 convex/lib/publishAttemptOperationalRecovery.ts, convex/maintenance.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/publishAttemptOperationalRecovery.ts"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"c313ec3a5a1e917cba0c86e1485f0eadaf0268efbcd3b5883eb659a6f36fb631"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!rightfulOwner || rightfulOwner.deletedAt || rightfulOwner.deactivatedAt\u0060 appears character-identically in 2 files \u2014 convex/skills.ts, convex/users.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skills.ts"},"region":{"startLine":9852}}}],"partialFingerprints":{"codehealthFindingId/v1":"25003fb050dab7a6d093fb75d2532e2478989ab725936f9a84622d65e1121142"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!segment || segment === \u0022.\u0022 || segment === \u0022..\u0022\u0060 appears character-identically in 6 files \u2014 convex/lib/packageRegistry.ts, convex/lib/skillPresentation.ts, convex/lib/skillsShMirrorPublic.ts, packages/clawhub/src/cli/commands/github.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/packageRegistry.ts"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"d49bc1fdfb9a22c3757f435c82441b466cc0c816ad22f37f5a17601d5164ad46"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!skill || skill.softDeletedAt || skill.moderationStatus === \u0022removed\u0022\u0060 appears character-identically in 2 files \u2014 convex/httpApiV1/skillsV1.ts, convex/skills.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":1870}}}],"partialFingerprints":{"codehealthFindingId/v1":"998e186e93d109c9fbc8a922d936e5cb694cf83e7cf38b1f4fe59b5107508697"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!state || state.leaseToken !== args.leaseToken\u0060 appears character-identically in 2 files \u2014 convex/securityScanDispatch.ts, convex/skillEvaluationDispatch.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/securityScanDispatch.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ae7c28a7a5410a5a23e582bfc171b803c7f59e62585ead37b4f1738077b7fd1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!state || state.scheduledToken !== args.scheduleToken\u0060 appears character-identically in 2 files \u2014 convex/securityScanDispatch.ts, convex/skillEvaluationDispatch.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/securityScanDispatch.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"74fbfaf9618346865b331cc3ab77c56a52b001a0fa86e1c83ce6d2331097bda8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!stored || stored.size !== file.size || !matchesStorageSha256(stored.sha256, file.sha256)\u0060 appears character-identically in 2 files \u2014 convex/lib/packagePublishRecovery.ts, convex/lib/publishAttemptOperationalRecovery.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/packagePublishRecovery.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"134af3d454f1cdef8c4cd0b3c348c564b464c3fd7cca73d9d36c88c20a74e7e7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!token || !expectedEnvironment || !hasValidStagingEdgeSecret(request)\u0060 appears character-identically in 2 files \u2014 convex/downloads.ts, convex/httpApiV1/skillsV1.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/downloads.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"b460d10bfbff34d1f9d8cd12bac6703f4819f0ac1286a9ed20ea23a2f3958155"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!user || user.deletedAt || user.deactivatedAt\u0060 appears character-identically in 17 files \u2014 convex/devSeed.ts, convex/githubOrgMemberships.ts, convex/httpApiV1/docsSessionV1.ts, convex/lib/access.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/devSeed.ts"},"region":{"startLine":2199}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d3f245e395d41fa5628e5092e43e95fa659417adc581adf8cdb929c340cdfee"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!value || typeof value !== \u0022object\u0022 || Array.isArray(value)\u0060 appears character-identically in 11 files \u2014 .github/scripts/verify-trusted-tooling-identity.cjs, convex/lib/openClawPublishAuthorization.ts, convex/skills.ts, scripts/lib/frontendBuildMetadata.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/scripts/verify-trusted-tooling-identity.cjs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"b664080f242207516086b55873b71f1547e3a8afaaba4f79af5b059c1a4c5c04"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!version || !isPublicSkillVersionAvailableForSkill(version, version.skillId)\u0060 appears character-identically in 2 files \u2014 convex/lib/publicBrowse.ts, convex/skills.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/publicBrowse.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"400a1745362139c18a0113e424f9ea817ab770a7ceebe3073afacf1df6a62177"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!version || version.softDeletedAt || version.skillId !== skill._id\u0060 appears character-identically in 2 files \u2014 convex/catalogClassification.ts, convex/lib/skillSearchDigest.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/catalogClassification.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddf0fe8b90e3e81a3a8d3ef1dbda0f8253ada1aabc377213a816e5b35b6af9e8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(value.startsWith(\u0027\u0022\u0027) \u0026\u0026 value.endsWith(\u0027\u0022\u0027)) || (value.startsWith(\u0022\u0027\u0022) \u0026\u0026 value.endsWith(\u0022\u0027\u0022))\u0060 appears character-identically in 2 files \u2014 scripts/dev-worktree.ts, scripts/setup-worktree.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/dev-worktree.ts"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"764e7a2c09d40b71abcb001bc5c95b789db0b8388cac1457e89694d32b5750d4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Array.isArray(value) \u0026\u0026 value.length \u003E 0\u0060 appears character-identically in 2 files \u2014 convex/lib/catalogClassifier.mjs, packages/schema/src/pluginCategories.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/catalogClassifier.mjs"},"region":{"startLine":1178}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb9656d7740c414ee35532c0fa3d99c8917975e00c20834e8b9621c04794b178"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Boolean(file.path) \u0026\u0026 Boolean(file.sha256)\u0060 appears character-identically in 2 files \u2014 convex/lib/skills/fileHash.ts, packages/clawhub/src/skills.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/skills/fileHash.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fc050773d57c21cf40bd95de1f70fc63e8bf5c3000ad0ba79e0816ffb30ef88"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Boolean(skill.latestVersionId) \u0026\u0026 skill.latestVersionId === skill.inferredFromVersionId\u0060 appears character-identically in 3 files \u2014 convex/lib/skillSearchDigest.ts, packages/schema/src/catalogMetadata.ts, src/lib/categories.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/skillSearchDigest.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"3af880d6942144d80eb775a5f5240f45a7724d0367de7a6b9012945300cce908"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Boolean(value) \u0026\u0026 typeof value === \u0022object\u0022 \u0026\u0026 !Array.isArray(value)\u0060 appears character-identically in 12 files \u2014 convex/lib/packageRegistry.ts, convex/lib/skillPresentation.ts, convex/migrations.ts, convex/pluginCategoryRefresh.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/packageRegistry.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"66bce754f6a53df62b84c1bcd9bb00a94a04c1c46d38d5db42f027c5ce141713"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Number.isFinite(retryAfterSeconds) \u0026\u0026 retryAfterSeconds \u003E= 0\u0060 appears character-identically in 2 files \u2014 packages/clawhub/src/cli/commands/github.ts, scripts/skills-sh-catalog/prove-mirror-request.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/github.ts"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"d69e9db3ad12319740f870279302d6b805f195964f589293e01b4aa9103dd6b1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Number.isFinite(seconds) \u0026\u0026 seconds \u003E= 0\u0060 appears character-identically in 2 files \u2014 convex/lib/embeddings.ts, server/skillsShCatalogSource.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/embeddings.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"7defd8b6b0fa99094c3206deeb0d6bb1e05bc1883c79d43419d67394157fe1af"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060actor?.role === \u0022admin\u0022 || actor?.role === \u0022moderator\u0022\u0060 appears character-identically in 2 files \u2014 convex/lib/skillFileReadAccess.ts, convex/skills.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/skillFileReadAccess.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"2795e0c2c5650b7896522a6ae7dc2e40b0691b09b3df5eab6fc2839d5b674db6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060args.highlightedOnly \u0026\u0026 !isSkillHighlighted(skill)\u0060 appears character-identically in 2 files \u2014 convex/search.ts, convex/skills.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/search.ts"},"region":{"startLine":1252}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bffefd986545f23a9d5cadf8322eedeff254054db671686c7480f936ef9f59a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060args.nonSuspiciousOnly \u0026\u0026 isSkillSuspicious(skill)\u0060 appears character-identically in 2 files \u2014 convex/search.ts, convex/skills.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/search.ts"},"region":{"startLine":1251}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8e081499ec5913f6395fbdb93465e3644e0e9768cf130e3cbbbf13d84ffde2e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060args.topic \u0026\u0026 !getCatalogTopicSlugs(digest.topics).includes(args.topic)\u0060 appears character-identically in 2 files \u2014 convex/lib/packageCatalogRead.ts, convex/skills.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/packageCatalogRead.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"c34e98fa2faf3b24182c2bb654f93ac0df4bb404307ba8203dcb4a790f9418fb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060artifact.kind === \u0022npm-pack\u0022 \u0026\u0026 artifact.npmTarballName\u0060 appears character-identically in 2 files \u2014 packages/clawhub/src/cli/commands/packages.ts, src/routes/plugins/$name.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/packages.ts"},"region":{"startLine":2275}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d4a6718b06c9da990aeac9f2634a4c80556b0c68a4bb0ed7e999f55267885b0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060attempt.status === \u0022queued\u0022 || attempt.status === \u0022running\u0022\u0060 appears character-identically in 2 files \u2014 convex/skillsShCatalog.ts, scripts/skills-sh-catalog/prove-500.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skillsShCatalog.ts"},"region":{"startLine":2831}}}],"partialFingerprints":{"codehealthFindingId/v1":"10c4810080a1742cf1add3c9c89f0881170ad9aaf3901be6efdccd77cf6f8c84"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060b.score - a.score || a.slug.localeCompare(b.slug)\u0060 appears character-identically in 2 files \u2014 convex/lib/catalogClassifier.mjs, packages/schema/src/catalogMetadata.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/catalogClassifier.mjs"},"region":{"startLine":1315}}}],"partialFingerprints":{"codehealthFindingId/v1":"215a768405f6c9d92f36b82e56289889abd751f2d3fa1ab448241f223b933bba"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060badges.includes(\u0022Official\u0022) || owner?.official === true\u0060 appears character-identically in 2 files \u2014 src/components/SkillCard.tsx, src/components/SkillListItem.tsx. 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":"src/components/SkillCard.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7a5b3e990eec1f99894056b1b504cb279251d8f6eb435c0d6dd4e6aa243e325"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060body \u0026\u0026 lowered !== \u0022unauthorized\u0022 \u0026\u0026 lowered !== \u0022forbidden\u0022\u0060 appears character-identically in 2 files \u2014 packages/clawhub/src/http.ts, src/lib/packageApi.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/http.ts"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d26b97abcaf6a7100c7df1bb6ecc751a576cb7af2c459212c9b8c8c379b1431"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060body \u0026\u0026 typeof body === \u0022object\u0022 \u0026\u0026 !Array.isArray(body)\u0060 appears character-identically in 2 files \u2014 convex/httpApiV1/packagesV1.ts, convex/httpApiV1/skillsV1.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":3124}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b51d05876459e7f8f474539d3525ca43e3954b5e69b71bd54d38d3393b88fba"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060bounds.minCreatedAt === null || bounds.maxCreatedAt === null\u0060 appears character-identically in 2 files \u2014 scripts/security-dataset/export-snapshot.ts, scripts/security-dataset/timeWindow.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/security-dataset/export-snapshot.ts"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1237f1171f74e907d0d9bfb7a9eada40ff9dcb2b1dcfc0c500c5f34b526b011"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060characterCode \u003C 0x20 || characterCode === 0x7f\u0060 appears character-identically in 2 files \u2014 convex/lib/packageRegistry.ts, packages/schema/src/pluginInput.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/packageRegistry.ts"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"2df4af5df7b929a299b0c3ab10c9b1b322414ea1ed7b84f1bcf5e3144188b88a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060chunk \u0026\u0026 estimateTextWidth(next, fontSize) \u003E maxWidth\u0060 appears character-identically in 2 files \u2014 server/og/publisherOgSvg.ts, server/og/registryOgSvg.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/og/publisherOgSvg.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc5c27dd206e6b3e7c312575b2bbfbf3ccbbba1293cc775bd8774dd3a83a6e46"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060conflict \u0026\u0026 conflict.linkedUserId !== user._id\u0060 appears character-identically in 2 files \u2014 convex/lib/publishers.ts, convex/maintenance.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/publishers.ts"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"a075c8bf83d2d055a6f056a5fcad085e40d55a4c9c87ae21a728b3862ea86bb6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060deployment.startsWith(\u0022local:\u0022) || deployment.startsWith(\u0022anonymous:\u0022)\u0060 appears character-identically in 2 files \u2014 convex/lib/devAuth.ts, server/routes/dev-auth/secret.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/devAuth.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"691c420f6aaeb9bc7a9c7689efc9cc6ae2f51306d3e6001fc23413894cd9c87b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060digest.active \u0026\u0026 digest.publicVisible \u0026\u0026 digest.installable \u0026\u0026 digest.sourceFreshnessStatus === \u0022observed-only\u0022 \u0026\u0026 digest.tombstonedAt === u\u2026\u0060 appears character-identically in 2 files \u2014 convex/lib/skillsShMirrorPublic.ts, convex/search.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/skillsShMirrorPublic.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"b91248c5f5bcd2cdcb1757f56d48d4be9d8c4cbe0012a8168fad441743122831"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entry.role === \u0022owner\u0022 || entry.role === \u0022admin\u0022\u0060 appears character-identically in 2 files \u2014 src/components/SkillDetailPage.tsx, src/routes/$owner/$slug/security-audit.tsx. 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":"src/components/SkillDetailPage.tsx"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"43ac5d845414ef480323bc8d16e7d7f7c94bf3ed4adab7d0ee0b330773747e3e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060env.CONVEX_DEPLOYMENT?.trim() || env.DEV_AUTH_CONVEX_DEPLOYMENT?.trim() || \u0022\u0022\u0060 appears character-identically in 2 files \u2014 convex/lib/skillsShCatalogEnvironment.ts, server/routes/dev-auth/secret.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/skillsShCatalogEnvironment.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ba4ae360e3775558f764267842dc8010cd08242b73c20f3cd46b63d15f33266"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060env.SECURITY_SCAN_EVENT_DISPATCH_ENABLED === \u00221\u0022 \u0026\u0026 env.CLAWHUB_PREVIEW !== \u00221\u0022 \u0026\u0026 Boolean( env.GITHUB_APP_ID?.trim() \u0026\u0026 env.GITHUB_APP_INST\u2026\u0060 appears character-identically in 2 files \u2014 convex/securityScanDispatch.ts, convex/skillEvaluationDispatch.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/securityScanDispatch.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"4389b8858f2d792c298dc5fc869096abc4589ffdfcfe0c219d416b8074a678f1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060env.VERCEL_TARGET_ENV?.trim() || env.VERCEL_ENV?.trim()\u0060 appears character-identically in 2 files \u2014 scripts/vercel-build-frontend.ts, scripts/vercel-build.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/vercel-build-frontend.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9115fe03ae5984c85f335f7c5e71fe4415436d4f6cf46110e22889562b8513f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060err instanceof Error \u0026\u0026 err.message.includes(\u0022Invalid cursor format\u0022)\u0060 appears character-identically in 2 files \u2014 convex/httpApiV1/packagesV1.ts, convex/httpApiV1/skillsV1.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":1806}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4dbb3f0aa9a288e8cdb4176230dbfaa83378496b97a4884ed88ab2d7c1ad964"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error \u0026\u0026 typeof error === \u0022object\u0022 \u0026\u0026 \u0022message\u0022 in error\u0060 appears character-identically in 3 files \u2014 convex/lib/githubSkillSync.ts, convex/lib/globalStats.ts, convex/skills.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/githubSkillSync.ts"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c32639aaeb73ac08838999bff291318092cca94935a91e5c40b38668249d13c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error instanceof ConvexError \u0026\u0026 typeof error.data === \u0022string\u0022\u0060 appears character-identically in 2 files \u2014 convex/httpApi.ts, convex/skills.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApi.ts"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ccfc16c8dda1c896072e65325a84129f78f8cc74cc9d08c6ea43ef71ce1343"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error instanceof Error \u0026\u0026 error.message.trim()\u0060 appears character-identically in 2 files \u2014 convex/httpApiV1/starsV1.ts, src/components/ErrorBoundary.tsx. 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":"convex/httpApiV1/starsV1.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dcb3b2ac2cd9ff617bc9c7793130f5f31ece05a217539e7fb9d2f02dbf764d5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060existing \u0026\u0026 existing.ownerUserId !== ownerUserId\u0060 appears character-identically in 2 files \u2014 convex/devSeedDownloadAnalytics.ts, convex/devSeedPackageTrending.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/devSeedDownloadAnalytics.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6b2572e3d18574c0902447994f942c1c2bc103b43b3e578ec51c1712785d13c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060extension === \u0022.jpg\u0022 || extension === \u0022.jpeg\u0022\u0060 appears character-identically in 2 files \u2014 packages/clawhub-admin/src/commands/contentRights.ts, packages/clawhub-admin/src/commands/orgs.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/contentRights.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"28e79d494e9c02bfd399234aadd31874076ab77b5ac7ecc2b1cd4cba9efbb499"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060family === \u0022code-plugin\u0022 || family === \u0022bundle-plugin\u0022\u0060 appears character-identically in 3 files \u2014 convex/lib/packageReleaseFamily.ts, convex/lib/pluginScanRouting.ts, convex/publishAttempts.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/packageReleaseFamily.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f7f01d1888b2d5c58479322104334a6b9c955f02a96e8e049c673efdb63a5da"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060feed.sequence \u003C 0 || !Number.isSafeInteger(feed.sequence)\u0060 appears character-identically in 3 files \u2014 packages/schema/src/catalogFeed.ts, packages/schema/src/experimentalTemplateFeed.ts, packages/schema/src/promotionsFeed.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/catalogFeed.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"0af755e951c21fd176f7d121a082c1160df681c82d4e42606415026a0673a289"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060file.path.toLowerCase() === \u0022skill.md\u0022 || file.path.toLowerCase() === \u0022skills.md\u0022\u0060 appears character-identically in 2 files \u2014 convex/maintenance.ts, convex/skillReadme.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/maintenance.ts"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"2534dd8115dbe5717c8c1cea85958d802b26cfd8d31bc9fbf76b2a3b48af4a7f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060finding \u0026\u0026 Object.keys(finding).length \u003E 0\u0060 appears character-identically in 2 files \u2014 scripts/security/clawscan-decisions.ts, scripts/security/skillSpectorReportPolicy.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/security/clawscan-decisions.ts"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab0d773e0ca9d5d268dc080e8ada4ace646ce1986ce65c1ddf30193c43dc0497"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060flags.includes(\u0022blocked.malware\u0022) || skill.moderationVerdict === \u0022malicious\u0022 || versionStatuses.has(\u0022malicious\u0022)\u0060 appears character-identically in 2 files \u2014 src/components/artifacts/artifactStatus.ts, src/components/dashboard/artifactStatusLabels.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/artifacts/artifactStatus.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2db2787e082ecd65f2d805c18c64d6a7412113a986e5780275be6557da210d1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060frontmatterMetadata \u0026\u0026 typeof frontmatterMetadata === \u0022object\u0022 \u0026\u0026 !Array.isArray(frontmatterMetadata) \u0026\u0026 typeof (frontmatterMetadata as Reco\u2026\u0060 appears character-identically in 2 files \u2014 convex/lib/skillPresentationBackfill.ts, convex/lib/skillPublish.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/skillPresentationBackfill.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ce4c0ceaa13c1aab035ff782f45a6e43df015db98378c45e38fd0e5cde0c04"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getFrontmatterValue(version.parsed.frontmatter, \u0022description\u0022)?.trim() || undefined\u0060 appears character-identically in 2 files \u2014 convex/lib/skillPageRead.ts, convex/maintenance.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/skillPageRead.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1093a64496aae6cce84c2bc38456f828f2bfd372dede401a281b0bd02a19968"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060headerCategories.length \u003E 0 \u0026\u0026 headerTopics.length \u003E 0\u0060 appears character-identically in 2 files \u2014 src/components/SkillDetailPageView.tsx, src/routes/plugins/$name.tsx. 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":"src/components/SkillDetailPageView.tsx"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ddb25dc6efdf37a14f01d6037f939216b08b277e6bf7b10578917cc2fdaa94"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hostname === \u0022localhost\u0022 || hostname === \u0022127.0.0.1\u0022 || hostname === \u00220.0.0.0\u0022 || hostname === \u0022[::1]\u0022\u0060 appears character-identically in 2 files \u2014 convex/lib/skillsShCatalogEnvironment.ts, scripts/setup-worktree.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/skillsShCatalogEnvironment.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8af6d2fd0664722fe70efd8f04d7aabac2c71effe9b63f69d8694f726806640"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hostname === \u0022localhost\u0022 || hostname === \u0022127.0.0.1\u0022 || hostname === \u0022[::1]\u0022\u0060 appears character-identically in 2 files \u2014 convex/lib/devAuth.ts, server/routes/dev-auth/secret.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/devAuth.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3bf35daf25059fe24f423e4c42bb0165154f86d9869e7de720a577022a56c6b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060initialData \u0026\u0026 \u0022lookupOwnerHandle\u0022 in initialData\u0060 appears character-identically in 2 files \u2014 src/components/SkillDetailPage.tsx, src/routes/$owner/$slug/security-audit.tsx. 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":"src/components/SkillDetailPage.tsx"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"2596aec99e9232d6ca9fedc06198d81f82f43a3e869f5e4a01a537f9f6f87371"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060input === null || typeof input !== \u0022object\u0022\u0060 appears character-identically in 2 files \u2014 convex/httpApiV1/packagesV1.ts, convex/skills.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ba81e641d079813759497f229f1c2661e26a12f937029ea37607e8d7b0b314d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isInteractive() \u0026\u0026 inputAllowed !== false\u0060 appears character-identically in 8 files \u2014 packages/clawhub-admin/src/commands/moderation.ts, packages/clawhub-admin/src/commands/packages.ts, packages/clawhub-admin/src/commands/skills.ts, packages/clawhub/src/cli/commands/delete.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/moderation.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ef5939c3032900bc0fe8f4e822ea64f48e8e771f8f35221f3cde7afe4e698b6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060job.job.targetKind === \u0022packageRelease\u0022 \u0026\u0026 !templateScan\u0060 appears character-identically in 2 files \u2014 scripts/security/run-codex-scan-worker.ts, scripts/security/run-prepublication-worker.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/security/run-codex-scan-worker.ts"},"region":{"startLine":2341}}}],"partialFingerprints":{"codehealthFindingId/v1":"55a4afdb946e2ee0c3aad22f628c9eaf7d1461ce8659eee93f4d57364753cabb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lastSyncedAt \u0026\u0026 now - lastSyncedAt \u003C GITHUB_PROFILE_SYNC_WINDOW_MS\u0060 appears character-identically in 2 files \u2014 convex/lib/githubAccount.ts, convex/lib/githubProfileSync.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/githubAccount.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7dbea70196c2b50d06a276604edccdd85c0ebf016780c4100c69db5ae1f4f37"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lower === \u0022readme.md\u0022 || lower === \u0022readme.mdx\u0022\u0060 appears character-identically in 2 files \u2014 convex/lib/changelog.ts, src/routes/plugins/publish.tsx. 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":"convex/lib/changelog.ts"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"64dbe6f11d2b0658365ec586a747b2da20e958b0604b357702a81debb709affe"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lower === \u0022skill.md\u0022 || lower === \u0022skills.md\u0022\u0060 appears character-identically in 4 files \u2014 convex/lib/changelog.ts, convex/lib/skillPublish.ts, convex/maintenance.ts, packages/clawhub/src/cli/commands/publish.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/changelog.ts"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc35b5f7e81f2ea350dafaa748bfa2f8e02ccaf2a4039c317139702be4cd424c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060match?.groups?.owner \u0026\u0026 match.groups.repo\u0060 appears character-identically in 2 files \u2014 convex/securityDataset.ts, scripts/security-dataset/convexExport.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/securityDataset.ts"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"afdd3db59dadf46ee5b04d5c5e6401d01330c9e2046fec2e315248f228072a53"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060metadata \u0026\u0026 typeof metadata === \u0022object\u0022 \u0026\u0026 !Array.isArray(metadata)\u0060 appears character-identically in 3 files \u2014 convex/lib/skillPublish.ts, convex/lib/skills/index.ts, convex/skillCards.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/skillPublish.ts"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa44370aa6f1f76adbf11615c99fdb9a2b1abf44f12206978d108bb81763d2c3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mode === \u0022controlled-canary\u0022 \u0026\u0026 allowlist.length \u003E 0\u0060 appears character-identically in 2 files \u2014 scripts/skills-sh-catalog/run-test-gate.ts, server/routes/ops/skills-sh/catalog-test.post.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/skills-sh-catalog/run-test-gate.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"effd8aaf6da2b5d774b44f51167579764ab94b278aee3169fa938443449ddd2e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060nextSkill.softDeletedAt || nextSkill.moderationStatus === \u0022hidden\u0022\u0060 appears character-identically in 2 files \u2014 convex/migrations.ts, convex/skills.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/migrations.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ee48f6f5afa78b0fe6961707bd40079a3784e54e6e4b30f5a45f84639d5e451"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060nextState.codePlugins.done \u0026\u0026 nextState.codePlugins.offset === 0 \u0026\u0026 nextState.bundlePlugins.done \u0026\u0026 nextState.bundlePlugins.offset === 0\u0060 appears character-identically in 2 files \u2014 convex/httpApiV1/packagesV1.ts, convex/lib/pluginBrowseRead.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":1622}}}],"partialFingerprints":{"codehealthFindingId/v1":"38d7fa7b2e5800a81a9899934abf6fbfd1ea23a95305cdd82f061214e9a0cd15"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060normalized === \u0022clean\u0022 || normalized === \u0022benign\u0022\u0060 appears character-identically in 2 files \u2014 convex/httpApiV1/skillsV1.ts, convex/lib/skillCards.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"cccaf2f6008f6f744ef91bf9b0741f91d78661068f064e9f396ec1e94b66a5e4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060normalized === \u0022error\u0022 || normalized === \u0022failed\u0022\u0060 appears character-identically in 2 files \u2014 convex/httpApiV1/skillsV1.ts, convex/lib/skillCards.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e7d7b22ebc9b8b45ce9718981ac7d82f427ac4cf826bf4d0fe31022b835ab19"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060normalized === \u0022skill.md\u0022 || normalized === \u0022skills.md\u0022\u0060 appears character-identically in 2 files \u2014 convex/lib/securityDatasetRedaction.ts, scripts/security-dataset/convexExport.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/securityDatasetRedaction.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"062ef7c4268bfe65a7c82e36ef27eebaf2c168b8b1d020f342464b358e6e45aa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060normalized === \u0022suspicious\u0022 || normalized === \u0022review\u0022\u0060 appears character-identically in 2 files \u2014 convex/httpApiV1/skillsV1.ts, convex/lib/skillCards.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a06fb2d382f3e1e7ad1b5ee2e55b817bf4d61dd47ed12dba2bd3502b0205f77"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options.files || options.file || options.version || options.tag\u0060 appears character-identically in 2 files \u2014 packages/clawhub/src/cli/commands/inspect.ts, packages/clawhub/src/cli/commands/packages.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/inspect.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"f02e2ebcfcca709e44cf6c1e2cb661982e77dc3e1ab0903e9dd42e5afd8964d5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060output.includes(\u0022Could not find function for\u0022) \u0026\u0026 output.includes(\u0022Did you forget to run \u0060npx convex dev\u0060\u0022)\u0060 appears character-identically in 2 files \u2014 scripts/run-playwright-local-auth.ts, scripts/seed.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/run-playwright-local-auth.ts"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a8e78d0bf06bc33862751331e8aa075dad3d1ff718d30ef17f04095cddfbfae"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ownerUser.role === \u0022admin\u0022 || ownerUser.role === \u0022moderator\u0022\u0060 appears character-identically in 2 files \u2014 convex/publisherAbuse.ts, src/routes/-management/AbusePage.tsx. 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":"convex/publisherAbuse.ts"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ac3aac9bf3382037dcf9795d2f77c083465f6038811280c47c9c03b9516dca1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parsed \u0026\u0026 typeof parsed === \u0022object\u0022 \u0026\u0026 !Array.isArray(parsed)\u0060 appears character-identically in 4 files \u2014 packages/clawhub/src/cli/commands/packages.ts, scripts/evaluations/openai-capability-broker.ts, scripts/local-clawscan-dry-run.ts, src/lib/skillFrontmatter.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/packages.ts"},"region":{"startLine":2448}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a71db9c040d7422f86391fec513d46ce9da0ebd8136a81c394077304a0ab37d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parsed.forkOf.ownerHandle?.trim().replace(/^@\u002B/, \u0022\u0022) || undefined\u0060 appears character-identically in 2 files \u2014 convex/httpApi.ts, convex/httpApiV1/shared.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApi.ts"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"2409e0a6cd93adcdb1c4808bbf5700b40beaeff781051f9203f25a817612761a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parsed.ownerHandle?.trim().replace(/^@\u002B/, \u0022\u0022) || undefined\u0060 appears character-identically in 2 files \u2014 convex/httpApi.ts, convex/httpApiV1/shared.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApi.ts"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c329766c0c03bc978242dab03a0de7f5f4ca143d66f7b91743fbbd688587d49"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parsed.protocol !== \u0022http:\u0022 \u0026\u0026 parsed.protocol !== \u0022https:\u0022\u0060 appears character-identically in 2 files \u2014 convex/publishers.ts, packages/clawhub-admin/src/commands/email.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/publishers.ts"},"region":{"startLine":3318}}}],"partialFingerprints":{"codehealthFindingId/v1":"52f8c2de2e961a5fef230e278b0bcf308a7807d22dbe189bd6e98be0bca1defd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parsed.sourceOwnerHandle?.trim().replace(/^@\u002B/, \u0022\u0022) || undefined\u0060 appears character-identically in 2 files \u2014 convex/httpApi.ts, convex/httpApiV1/shared.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApi.ts"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"e87ad6794e8665e36f4c90c24b35c46377b78999f0bd8fc574c63828d1b1f05d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060part === \u0022.git\u0022 || part === \u0022node_modules\u0022\u0060 appears character-identically in 2 files \u2014 packages/schema/src/templateBundled.ts, packages/schema/src/templates.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/templateBundled.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa9c94d0ab98f8d557eb7462f16bdc02961d553aa74a216f4bccde3709e06d64"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060path === \u0022skill.md\u0022 || path === \u0022skills.md\u0022\u0060 appears character-identically in 2 files \u2014 convex/httpApiV1/skillsV1.ts, convex/lib/skillPublish.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":975}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e014a7961c6165f83f890e4163dd7568a67b9c4035b8852ac1c5c2fa3dbe7d7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060pkg.family !== \u0022code-plugin\u0022 \u0026\u0026 pkg.family !== \u0022bundle-plugin\u0022\u0060 appears character-identically in 3 files \u2014 convex/lib/globalStats.ts, convex/lib/packagePublishRecovery.ts, convex/securityScan.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/globalStats.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"920063122ec64c66b18bbd86634e93842abe255880e811482a9a244eb77a5dcb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060pkg.family === \u0022code-plugin\u0022 || pkg.family === \u0022bundle-plugin\u0022\u0060 appears character-identically in 5 files \u2014 convex/functions.ts, convex/lib/packageCatalogRead.ts, convex/lib/packageSearchDigest.ts, convex/pluginCategoryRefresh.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/functions.ts"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"73357854dd234d722aa6fd4c5f3fd342580e46079f081d2a48506f658c427719"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060pkg.scanStatus === \u0022malicious\u0022 || releaseStatuses.has(\u0022malicious\u0022)\u0060 appears character-identically in 2 files \u2014 src/components/artifacts/artifactStatus.ts, src/components/dashboard/artifactStatusLabels.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/artifacts/artifactStatus.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bedcde5e6e783f14fa4403279774b4e59c211ca41e121bf778a42cd0a5dd741"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060pkg.scanStatus === \u0022pending\u0022 || pkg.pendingReview\u0060 appears character-identically in 2 files \u2014 src/components/artifacts/artifactStatus.ts, src/components/dashboard/artifactStatusLabels.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/artifacts/artifactStatus.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4b45102cd3cd92342a485cb68481b4bfb6d8812d889023721f90f6ddabebdcf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060pkg.scanStatus === \u0022suspicious\u0022 || releaseStatuses.has(\u0022suspicious\u0022)\u0060 appears character-identically in 2 files \u2014 src/components/artifacts/artifactStatus.ts, src/components/dashboard/artifactStatusLabels.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/artifacts/artifactStatus.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a997f94aa3b2f380655e8393a3501222169d034a5172a5e942a9adc29145df9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060pkg?.family === \u0022claw\u0022 \u0026\u0026 pkg.channel !== \u0022private\u0022 \u0026\u0026 !pkg.softDeletedAt\u0060 appears character-identically in 2 files \u2014 convex/downloadAnalytics.ts, convex/downloadMetrics.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/downloadAnalytics.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"270c7449d7f7e409ffd511db9e3a15581feb6f4448f3df3d6cab6ec99a7980dd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.env.CLAWHUB_BAN_APPEALS_TOKEN?.trim() || \u0022\u0022\u0060 appears character-identically in 2 files \u2014 convex/httpApiV1/contentRightsV1.ts, convex/httpApiV1/usersV1.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/contentRightsV1.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"52fc0d2062f1db6c8e69459bcd3c212cc1395911667d0e9cf4de39bf0591d865"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.env.CONVEX_DEPLOYMENT?.trim() || process.env.DEV_AUTH_CONVEX_DEPLOYMENT?.trim() || \u0022\u0022\u0060 appears character-identically in 2 files \u2014 convex/devSeedDownloadAnalytics.ts, convex/lib/devSeed.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/devSeedDownloadAnalytics.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e4ed0256f1821b29c44c7a61f5c7f6715e28d8daf993ac1b4880cb19b073760"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.env.HERMIT_CONTENT_RIGHTS_BASE_URL?.trim() || \u0022https://forms.openclaw.ai\u0022\u0060 appears character-identically in 2 files \u2014 convex/httpApiV1/contentRightsV1.ts, convex/searchWeeklyDigest.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/contentRightsV1.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bb7f350a4c5622353b62cbdc15f8d6a4f1ecbd36f5fa126c3edb18db9d06e58"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.env.OPENAI_API_KEY || process.env.CODEX_API_KEY\u0060 appears character-identically in 3 files \u2014 scripts/security/run-clawscan-diagnostic.ts, scripts/security/run-clawscan-original-diagnostic.ts, scripts/security/run-clawscan-original038-diagnostic.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/security/run-clawscan-diagnostic.ts"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ed31a13fee7095570deb4ad4c3d285553497e636b27cab4ace93c44001301d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.platform !== \u0022win32\u0022 \u0026\u0026 child.pid\u0060 appears character-identically in 3 files \u2014 scripts/dev-worktree.ts, scripts/lib/runWorkerCommand.ts, scripts/run-playwright-local-auth.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/dev-worktree.ts"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"32ba82d0026cdc004f5086c088dc4f58065c7e2a2be64fcb747106ed9f9e3961"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060promotion.pluginNames \u0026\u0026 promotion.pluginNames.length \u003E 0\u0060 appears character-identically in 2 files \u2014 convex/promotions.ts, convex/promotionsFeed.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/promotions.ts"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"5586fc8bff3f1f385fb457a396e60e1e17a80af0ac2c7deb8cd0a023c3f8e056"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060provenance.source !== \u0022skills.sh\u0022 || provenance.reference !== requestedRef\u0060 appears character-identically in 2 files \u2014 packages/clawhub/src/cli/commands/inspect.ts, packages/clawhub/src/cli/commands/skills.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/inspect.ts"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8ddac7a03faf95439e14fc14b865308b9eebe4b2c0a00fec72cb2f8c8fc95c4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060publisher \u0026\u0026 !publisher.deletedAt \u0026\u0026 !publisher.deactivatedAt\u0060 appears character-identically in 5 files \u2014 convex/catalogFeed.ts, convex/devSeed.ts, convex/lib/publishers.ts, convex/lib/skills/slugResolution.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/catalogFeed.ts"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"92f43ab45db6d3a155301daa98a44928b60b07479e2f1f734cf0e07a2854cc13"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060publisher.displayName || publisher.handle\u0060 appears character-identically in 2 files \u2014 src/components/PublisherOwnerSelect.tsx, src/components/dashboard/DashboardPublisherSelect.tsx. 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":"src/components/PublisherOwnerSelect.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e6faa9a8c73e80b5acfbeb7566bd97f45104f8436b40a3662b14448d30ae35c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060publisher.kind === \u0022user\u0022 \u0026\u0026 !publisher.deletedAt \u0026\u0026 !publisher.deactivatedAt\u0060 appears character-identically in 2 files \u2014 convex/migrations.ts, convex/publishAttempts.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/migrations.ts"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"8de886466ac8f7b3c5647d7f8c77e44cec61f13e47613038689e72dfcd8ddd28"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result.actionTaken \u0026\u0026 result.actionTaken !== \u0022none\u0022\u0060 appears character-identically in 2 files \u2014 packages/clawhub-admin/src/commands/packages.ts, packages/clawhub/src/cli/commands/skills.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/packages.ts"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"14ba994831e97b5562394d266c405846c0422411b1b99c83a8e90d0489c3cd16"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result?.signingIn === false \u0026\u0026 !result.redirect\u0060 appears character-identically in 2 files \u2014 src/components/Header.tsx, src/components/SignInButton.tsx. 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":"src/components/Header.tsx"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"938e64100e4c99c6affbf342422852b376b8dfde382f60c61d361cd4676e7a35"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060scanner === \u0022skillspector\u0022 \u0026\u0026 isAdjudicableSkillSpectorResult(scannerRecord)\u0060 appears character-identically in 2 files \u2014 scripts/security/run-codex-scan-worker.ts, scripts/security/run-prepublication-worker.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/security/run-codex-scan-worker.ts"},"region":{"startLine":2218}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdf1d4d8b477cba7f31962997b374d53361d0f1d475eb411c386459115581f76"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060shouldPrintMeta \u0026\u0026 versionResult?.version\u0060 appears character-identically in 2 files \u2014 packages/clawhub/src/cli/commands/inspect.ts, packages/clawhub/src/cli/commands/packages.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/inspect.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"19da6642426b5076fdf210ac8b0bf89ee0340d23ba1c44466442e5e59746d25a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060skill.githubScanStatus === \u0022clean\u0022 || skill.githubScanStatus === \u0022suspicious\u0022\u0060 appears character-identically in 2 files \u2014 convex/githubSkillSources.ts, convex/githubSkillSync.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/githubSkillSources.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"839a23dcd230a75217c9c3c95fdcc9814ed7d6b957bc0d99cf5a98c40e4c137d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060skill.installKind === \u0022github\u0022 \u0026\u0026 skill.githubSourceId\u0060 appears character-identically in 2 files \u2014 convex/agentSkillsHttp.ts, convex/httpApiV1/skillsV1.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/agentSkillsHttp.ts"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"7026807086f97c17c733d8f670c9a88db24dd4ce1456f49a0b674547e4c4e392"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060skill.isSuspicious || flags.includes(\u0022flagged.suspicious\u0022) || skill.moderationVerdict === \u0022suspicious\u0022 || versionStatuses.has(\u0022suspicious\u0022)\u0060 appears character-identically in 2 files \u2014 src/components/artifacts/artifactStatus.ts, src/components/dashboard/artifactStatusLabels.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/artifacts/artifactStatus.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8a31d3d19a59b6dbb83827b2a4d22de515f1c63aff9b1cfeb96bf859fa0d7e9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060skill.moderationStatus === \u0022hidden\u0022 \u0026\u0026 !isPendingScan \u0026\u0026 !isMalwareBlocked\u0060 appears character-identically in 3 files \u2014 convex/lib/skillFileAccess.ts, convex/lib/skillPageRead.ts, convex/skills.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/skillFileAccess.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"008e39567bb306e24dea165656f8abd7e301070f0ee37e53cb2df56211a93390"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060skill.moderationStatus === \u0022hidden\u0022 \u0026\u0026 skill.moderationReason === \u0022pending.scan\u0022\u0060 appears character-identically in 2 files \u2014 convex/lib/skillPageRead.ts, convex/skills.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/skillPageRead.ts"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c031499114893509beecce32b15ab0a7de114f9c26e97afb5320ce93f3bf4c8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060slashIndex \u003C= 1 || slashIndex === trimmed.length - 1\u0060 appears character-identically in 2 files \u2014 convex/publishers.ts, src/lib/pluginRoutes.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/publishers.ts"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f93157e08e6bf86d855341991e7a5ab7ae91737ae504799eadd0a5ea5ce6012"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060slug.includes(\u0022/\u0022) || slug.includes(\u0022\\\\\u0022) || slug.includes(\u0022..\u0022)\u0060 appears character-identically in 4 files \u2014 packages/clawhub-admin/src/commands/moderation.ts, packages/clawhub/src/cli/commands/delete.ts, packages/clawhub/src/cli/commands/ownership.ts, packages/clawhub/src/cli/commands/skills.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/commands/moderation.ts"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ad89e95ab8db97c14a478055e3d55b9f8165a2d88cc03c35672e380ea344a36"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state?.scheduledAt !== undefined \u0026\u0026 state.scheduledAt \u003E= now - SCHEDULE_STALE_MS \u0026\u0026 state.scheduledAt \u003C= scheduledAt\u0060 appears character-identically in 2 files \u2014 convex/securityScanDispatch.ts, convex/skillEvaluationDispatch.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/securityScanDispatch.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"90d516ae5637b24af748e515f164e48877de25a20ae61ef57a16e8a0b4cf44de"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status === \u0022blocked\u0022 || status === \u0022failed\u0022 || status === \u0022expired\u0022\u0060 appears character-identically in 2 files \u2014 convex/httpApiV1/packagesV1.ts, convex/publishAttempts.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":2277}}}],"partialFingerprints":{"codehealthFindingId/v1":"41b2d1ca51563fb875ec05b0733eb71fe179f29ce195e02ef8c6ce68ec4c96a9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status === \u0022clean\u0022 || status === \u0022suspicious\u0022 || status === \u0022malicious\u0022\u0060 appears character-identically in 3 files \u2014 convex/httpApiV1/skillsV1.ts, convex/lib/securityScanPolicy.ts, convex/securityScan.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/skillsV1.ts"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"4011d0d44d91f883e7b5c338ec45fc83672eb561b0614b7f35f64c442cc1842a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status === \u0022completed\u0022 \u0026\u0026 conclusion === \u0022failure\u0022\u0060 appears character-identically in 2 files \u2014 .github/scripts/verify-trusted-tooling-identity.cjs, convex/lib/openClawPublishAuthorization.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/scripts/verify-trusted-tooling-identity.cjs"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceabc2759e2771da61cf5820ebf600235ec331782f8b16f0f0475f7073262719"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status === \u0022completed\u0022 \u0026\u0026 conclusion === \u0022success\u0022\u0060 appears character-identically in 2 files \u2014 .github/scripts/verify-trusted-tooling-identity.cjs, convex/lib/openClawPublishAuthorization.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/scripts/verify-trusted-tooling-identity.cjs"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d7dd043f6c82c1c5a5d35c1d199dc7aa4d4aa753d935ebbed2bc62e57aefb77"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status === 404 \u0026\u0026 lowered === \u0022package not found\u0022\u0060 appears character-identically in 2 files \u2014 packages/clawhub/src/http.ts, src/lib/packageApi.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/http.ts"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cb1f00941a4a648021943136af9fbc22a0717d205b51b26321d311318b1c433"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status === 404 \u0026\u0026 lowered === \u0022skill not found\u0022\u0060 appears character-identically in 2 files \u2014 packages/clawhub/src/http.ts, src/lib/packageApi.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/http.ts"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c62ad23c90fbb760a4bbc4d4b87b5987f28c1b4b53f46e8a64792794b06f86d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status === 408 || status === 429 || status \u003E= 500\u0060 appears character-identically in 2 files \u2014 packages/clawhub/src/http.ts, server/skillsShCatalogSource.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/http.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"355823db726ba89b2732c9bbcb8a2bee5202a96e4c30fc181dd007047f36be8f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status?.startsWith(\u0022Published.\u0022) || status?.startsWith(\u0022Publish received.\u0022) || false\u0060 appears character-identically in 2 files \u2014 src/routes/plugins/publish.tsx, src/routes/skills/publish.tsx. 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":"src/routes/plugins/publish.tsx"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"b82f10c9a09cc8781985230f3b6e87e7371b04dc096e4338f8e4244f45f10b9a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060target \u0026\u0026 migrateOwner === true \u0026\u0026 sourceOwnerHandle \u0026\u0026 sourceOwnerHandle !== ownerHandle\u0060 appears character-identically in 2 files \u2014 convex/httpApi.ts, convex/httpApiV1/skillsV1.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApi.ts"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed84f6c0b087f54b0d593c3bf190ad4631d1c337fcd8c5137233430fbaac13d8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060taxonomyQuery \u0026\u0026 (categories.includes(taxonomyQuery) || topicSlugs.includes(taxonomyQuery))\u0060 appears character-identically in 2 files \u2014 convex/lib/catalogTextMatch.ts, convex/search.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/catalogTextMatch.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f94dcfdea52a0ab973c4a97cb00e110aa6303d4582ab97b31b65a143b2176b4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060toEmail \u0026\u0026 !/^[^@\\s]\u002B@[^@\\s]\u002B\\.[^@\\s]\u002B$/.test(toEmail)\u0060 appears character-identically in 2 files \u2014 convex/httpApiV1/usersV1.ts, packages/clawhub-admin/src/commands/email.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/usersV1.ts"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"18711d157dc6e5e9b5ad0aecdbdb8a5051d7a04bf92c2f5a363fa0906c1cafdf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060token.lastUsedAt \u0026\u0026 now - token.lastUsedAt \u003C TOKEN_TOUCH_MIN_INTERVAL_MS\u0060 appears character-identically in 2 files \u2014 convex/packagePublishTokens.ts, convex/tokens.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/packagePublishTokens.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"701350f28510358f6c366a6cf9d6f8d2d93d874e8399400c78e869479874f869"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060topics.trim() || topicsTouchedRef.current\u0060 appears character-identically in 2 files \u2014 src/routes/plugins/publish.tsx, src/routes/skills/publish.tsx. 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":"src/routes/plugins/publish.tsx"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"0da4035cacdb0074d1fcfd04155b31fc4ef0014fb76fce4bc5a05a7e9629ab4f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof publisher.publishedSkills === \u0022number\u0022 \u0026\u0026 typeof publisher.publishedPackages === \u0022number\u0022 \u0026\u0026 typeof publisher.totalInstalls === \u0022numb\u2026\u0060 appears character-identically in 2 files \u2014 convex/lib/publisherStats.ts, convex/publishers.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/publisherStats.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e33113495f411b1be751343d964af5b2eb6dabc8b8b396808e2b7c8cc4dfa56"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof search.q === \u0022string\u0022 \u0026\u0026 search.q.trim()\u0060 appears character-identically in 5 files \u2014 src/lib/dashboardSearch.ts, src/routes/official/index.tsx, src/routes/plugins/index.tsx, src/routes/search.tsx. 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":"src/lib/dashboardSearch.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"637f53929d3aba8df15adf18c14b219a8446a396fa3b9bdeb4c7ee04817abb1c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value !== \u0022number\u0022 || !Number.isFinite(value)\u0060 appears character-identically in 5 files \u2014 convex/httpApiV1/promotionsV1.ts, convex/httpApiV1/skillsShCatalogV1.ts, convex/lib/skillEvaluationResult.ts, convex/lib/skillStats.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/promotionsV1.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"08f8789623c68b4d04f8fc1cdfe63a78fdbbf9d4f5dbc64b2f2a04a8fb2b7c6a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value !== \u0022string\u0022 || !value || (pattern \u0026\u0026 !pattern.test(value))\u0060 appears character-identically in 2 files \u2014 .github/scripts/verify-trusted-tooling-identity.cjs, convex/lib/openClawPublishAuthorization.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/scripts/verify-trusted-tooling-identity.cjs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"57ffcfd03192ee6e80af89248c7f17354e6b1481de76d03381fef814ecf9f25d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value !== \u0022string\u0022 || !value.trim()\u0060 appears character-identically in 4 files \u2014 convex/httpApiV1/skillsShCatalogV1.ts, convex/lib/githubActionsOidc.ts, convex/lib/skillSpectorEvidence.ts, scripts/skills-sh-catalog/sync.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/skillsShCatalogV1.ts"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"f47f35d3dc549bf3ff81f027538b863fc1e79f8dedaad97206f12bee476bb829"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022number\u0022 \u0026\u0026 Number.isFinite(value)\u0060 appears character-identically in 14 files \u2014 convex/lib/githubActionsOidc.ts, convex/lib/skillSpectorEvidence.ts, convex/publisherAbuse.ts, convex/securityScan.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/githubActionsOidc.ts"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb449638f00b11d4f2077ba3c1e6c8af37d2143318ce1cfe2f604185e1d4dbad"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022number\u0022 \u0026\u0026 Number.isSafeInteger(value) \u0026\u0026 value \u003E 0\u0060 appears character-identically in 3 files \u2014 convex/githubSkillSync.ts, convex/lib/githubOrgMemberships.ts, scripts/security/run-codex-scan-worker.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/githubSkillSync.ts"},"region":{"startLine":3173}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e07ad3960da48edcab21286b1d4472cd790a52423f7820c4af8155aad186bdd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022number\u0022 || typeof value === \u0022boolean\u0022\u0060 appears character-identically in 2 files \u2014 packages/clawhub/src/cli/commands/packages.ts, scripts/security/run-codex-scan-worker.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/packages.ts"},"region":{"startLine":1459}}}],"partialFingerprints":{"codehealthFindingId/v1":"f71eabf1243ba98198313655f0ea24e4c5c0529ac0e571e1726839153f1bbb2b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022object\u0022 \u0026\u0026 value !== null\u0060 appears character-identically in 5 files \u2014 packages/clawhub/src/deviceAuth.ts, scripts/security-dataset/convexExport.ts, scripts/security-dataset/export-snapshot.ts, scripts/skills-sh-catalog/sync.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/deviceAuth.ts"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e078dca1fa581aa9db91a26cb369bbf4ba3e839ace1401b86c636142e00d66b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022object\u0022 \u0026\u0026 value !== null \u0026\u0026 !Array.isArray(value)\u0060 appears character-identically in 5 files \u2014 packages/clawhub/src/cli/clawdbotConfig.ts, packages/schema/src/templates.ts, scripts/public-corpus/validate.ts, scripts/ranking-metrics/import-test-ranking-metrics.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/clawdbotConfig.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f14e6a9689af8d5b8de4741de6752f9692462586f1246556ffb6c775789fbe4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022string\u0022 \u0026\u0026 /^[1-9]\\d*$/.test(value.trim())\u0060 appears character-identically in 2 files \u2014 convex/githubSkillSync.ts, convex/lib/githubOrgMemberships.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/githubSkillSync.ts"},"region":{"startLine":3176}}}],"partialFingerprints":{"codehealthFindingId/v1":"41e51a7956b0aee6e8b964a543c6a6de815530fe5325a8b5dda5c43646b0c0c2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022string\u0022 \u0026\u0026 value.length \u003E 0\u0060 appears character-identically in 2 files \u2014 convex/skills.ts, src/routes/-management/AbusePage.tsx. 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":"convex/skills.ts"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2edce82fbe64abda8ec65adc4d89db7f65aa01b94ff484b528e75541b0e3a74"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022string\u0022 \u0026\u0026 value.trim()\u0060 appears character-identically in 13 files \u2014 convex/lib/githubActionsOidc.ts, convex/lib/packageRegistry.ts, convex/users.ts, packages/clawhub/src/cli/commands/inspect.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/githubActionsOidc.ts"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dceb4d81a18f030d8c820bcfc49ee8a13ed5c5472fdb9f153e6169ca2ae33d1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof window !== \u0022undefined\u0022 \u0026\u0026 url.origin === window.location.origin\u0060 appears character-identically in 2 files \u2014 src/lib/packageApi.ts, src/lib/trendingApi.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/packageApi.ts"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"e40d9e26f4e146a4bce0e21b065d38ff1fa76cb0f59a36f3e17f06f896b25cbc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060unscopedData.detail.package?.name \u0026\u0026 unscopedData.detail.owner?.handle === params.owner\u0060 appears character-identically in 2 files \u2014 src/routes/$owner/plugins/$slug.tsx, src/routes/$owner/plugins/$slug/security-audit.tsx. 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":"src/routes/$owner/plugins/$slug.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bf4c0849604464504800039bed4d9c8d4ec4a0369812b98b2b8155b42b7c243"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060url.hostname !== \u0022github.com\u0022 \u0026\u0026 url.hostname !== \u0022www.github.com\u0022\u0060 appears character-identically in 2 files \u2014 src/lib/pluginPublishPrefill.ts, src/lib/readmeAssetBaseUrl.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/pluginPublishPrefill.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ab06c42544fcea77eaa2a4576b179563d2951ddaad08ab951bdac564e8a858e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060url.protocol !== \u0022https:\u0022 \u0026\u0026 url.protocol !== \u0022http:\u0022\u0060 appears character-identically in 2 files \u2014 packages/clawhub/src/cli/registry.ts, packages/clawhub/src/discovery.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/registry.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"80a5a4ec977b4777417d8059a760fe9cd8a92923f765ecb807dbb2ea39292dd7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060url.searchParams.get(\u0022category\u0022)?.trim() || undefined\u0060 appears character-identically in 2 files \u2014 convex/httpApiV1/packagesV1.ts, convex/httpApiV1/skillsV1.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":1189}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d843ba002d44e2a7414f0eaf12552edf9f3f4b7c59c916e5e4107beaa694c43"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060url.searchParams.get(\u0022cursor\u0022)?.trim() || null\u0060 appears character-identically in 4 files \u2014 convex/httpApiV1/promotionsV1.ts, convex/httpApiV1/skillsV1.ts, convex/httpApiV1/trendingV1.ts, convex/packageInspectorHttp.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/promotionsV1.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4af6c2809384e68dcbea2d918eaea3fa55783d3ab653b151d1c22c382ab3a5d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060url.searchParams.get(\u0022cursor\u0022)?.trim() || undefined\u0060 appears character-identically in 2 files \u2014 convex/httpApiV1/packagesV1.ts, convex/httpApiV1/skillsV1.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":1752}}}],"partialFingerprints":{"codehealthFindingId/v1":"90f7cc6033141d3e97a1d71eb3128ce26c81a37b0b9238223ec2f934b25ffe55"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060url.username || url.password || url.hash\u0060 appears character-identically in 2 files \u2014 convex/lib/mcpPublicInspection.ts, packages/schema/src/templates.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/mcpPublicInspection.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"53c6f74c23637b3d87c98655e18a83799bb13fd5f1733b82ebd515eb2c2c1a6a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060user \u0026\u0026 !user.deletedAt \u0026\u0026 !user.deactivatedAt\u0060 appears character-identically in 3 files \u2014 convex/devSeed.ts, convex/lib/skills/slugResolution.ts, convex/publishers.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/devSeed.ts"},"region":{"startLine":5003}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aecadd9fdaf52d413f92a6ca15a0bf635cf703f82af353c7ddfd137f6b68776"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060user?.role === \u0022admin\u0022 || user?.role === \u0022moderator\u0022\u0060 appears character-identically in 3 files \u2014 convex/publisherAbuse.ts, convex/users.ts, src/lib/roles.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/publisherAbuse.ts"},"region":{"startLine":2314}}}],"partialFingerprints":{"codehealthFindingId/v1":"eec491c5dff9c3e605dbb769ebc6ffaef5d67523b65a059c9231a7d897ebb3e3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value !== null \u0026\u0026 typeof value === \u0022object\u0022 \u0026\u0026 !Array.isArray(value)\u0060 appears character-identically in 8 files \u2014 convex/lib/securityDatasetContent.ts, convex/lib/skillSpectorEvidence.ts, convex/securityDatasetNode.ts, scripts/security/clawscan-decisions.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/securityDatasetContent.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ebdb3d12c45fbc13cd26cefcf1928bbe2d76939da09cce0039d007b4fb2d54f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value \u0026\u0026 typeof value === \u0022object\u0022 \u0026\u0026 !Array.isArray(value)\u0060 appears character-identically in 16 files \u2014 convex/catalogClassificationNode.ts, convex/httpApiV1/skillsShCatalogV1.ts, convex/lib/aigAnalysis.ts, convex/lib/skillEvaluationResult.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/catalogClassificationNode.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdffe55ad8443b953f9640b32cce4016cd855044ace0992b2f37768c5a2a181b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value.length \u003E 0 \u0026\u0026 value === value.trim()\u0060 appears character-identically in 2 files \u2014 packages/schema/src/templateAgent.ts, packages/schema/src/templates.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/templateAgent.ts"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a4e0e9383ae9a08427217da84e740fc9038ca095cd5347d48f84cbfd9284ec7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value?.trim().replace(/^@\u002B/, \u0022\u0022) || undefined\u0060 appears character-identically in 4 files \u2014 convex/httpApiV1/packagesV1.ts, convex/httpApiV1/skillsV1.ts, convex/httpApiV1/starsV1.ts, packages/clawhub/src/cli/commands/sync.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":3487}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd976363b6e54b8beac2f31c857d306e2d1be45fddecfe92c016cc960adf767c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060visibility.label === \u0022Hidden\u0022 || visibility.label === \u0022Removed\u0022\u0060 appears character-identically in 2 files \u2014 src/components/dashboard/dashboardAttention.ts, src/components/dashboard/dashboardCatalog.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/dashboard/dashboardAttention.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e0a1cf3fde95eae885cc3e79819c1a5be3619eaf3eb74ec74e33013a409d90"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060stat.S_ISFIFO(mode) or stat.S_ISSOCK(mode)\u0060 appears character-identically in 2 files \u2014 scripts/security/diagnostic-capture/capture.py, scripts/security/diagnostic-capture/proxy.py. 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":"scripts/security/diagnostic-capture/capture.py"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"1688df45c367fd925ce6c8f2923f0dbf9e57ebcfd83eaa6c4b9d3811a375232b"}},{"ruleId":"X16","level":"warning","message":{"text":"Truncation loop has no floor \u2014 the value can be consumed entirely: \u0060truncated\u0060 loses its last character (its last element, if it holds an array) on every pass \u2014 \u0060truncated = truncated.slice(0, -1)\u0060 on line 1056 \u2014 and the loop\u0027s only exit is the test on line 1055 \u2014 which measures \u0060truncated\u0060 only through \u0060Buffer.byteLength(\u2026)\u0060, as a TERM of a larger expression, and never compares its length against a bound of its own. So nothing stops the loop at one character: it runs until the test\u0027s other terms come under the bound WITHOUT any help from \u0060truncated\u0060, which leaves \u0060truncated\u0060 empty \u2014 and if they never do, the loop never ends, because JavaScript\u0027s \u0060slice\u0060/\u0060substring\u0060/\u0060substr\u0060/\u0060replace\u0060 hand back \u0060\u0022\u0022\u0060 for an empty value instead of throwing, so every later pass shortens nothing and the test never changes. Neither outcome announces itself: an empty value surfaces later, as a path that names no file, a key that matches nothing, or a record written blank \u2014 and a hang surfaces as a frozen tab or a request that never returns. Give the loop a floor (\u0060\u0026\u0026 truncated.length \u003E 1\u0060), or compute the length once and clamp it (\u0060truncated = truncated.slice(0, Math.max(1, budget))\u0060) \u2014 and decide explicitly what should happen when the budget cannot be met, rather than letting an empty value be the answer."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/skillsShCatalogSource.ts"},"region":{"startLine":1055}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa4183a7370a84805f0bde801f4ad64dada5d40fdf47b173f7aab5f98dce88db"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060stripUndefinedForStoredPublish\u0060 is exported and takes \u0060value: unknown\u0060 from its caller, and it calls itself at line 2 (\u0060stripUndefinedForStoredPublish\u0060) with a piece of \u0060value\u0060 (and at line 7) \u2014 and nowhere in \u0060stripUndefinedForStoredPublish\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060stripUndefinedForStoredPublish\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/publishStorage.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"1939f2d5c5c2d091cfc5836676b089c5fd7b14bc83aae29005b83d0abd3e735a"}},{"ruleId":"X2","level":"note","message":{"text":"Not all async functions that make a request accept an AbortSignal: Only 30/38 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: getLocalDevAuthSecret: \u0060getLocalDevAuthSecret\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/components/DevPersonaFab.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d869c2e993161bb597cdef97802cefd9756cc70e68151836da498bbf73be219"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: loadPromotions: \u0060loadPromotions\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/components/PromotionsBar.tsx"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"42fdd304596ee7b9586b37f90822b51e10e952eda4859790ef27cb3a20996b3f"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: requestDeviceCode: \u0060requestDeviceCode\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/deviceAuth.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"876fbb29c32b77ce11679625f8187b42e1b4660fa32bf2d10db5a9c65cf6f41b"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: sendResendEmail: \u0060sendResendEmail\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":"convex/packages.ts"},"region":{"startLine":10638}}}],"partialFingerprints":{"codehealthFindingId/v1":"c01ee3cdbff421454a6bdb93b4a72d18a0d9ca7f809f594952530365080d67af"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: handler: \u0060handler\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":"convex/webhooks.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a8f0f6cc9079e92a7865a2793f651d7e2a71eca2118242224038bb1eaf84350"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: fetchGitHubUserByNumericId: \u0060fetchGitHubUserByNumericId\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":"convex/lib/githubAccount.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4a57742e746bb3db30dd5750fe080f392f026db68eb8f26261af0348a9cf6d1"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: generateSkillSummary: \u0060generateSkillSummary\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":"convex/lib/skillSummary.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"bee9ab73eecf3f55a3826cd125d6f551c4f1b9e1b4bd8bfb72e93edacebb9d54"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: fetchAuthenticatedGitHubOwners: \u0060fetchAuthenticatedGitHubOwners\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":"convex/httpApiV1/skillsShCatalogV1.ts"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"5053c7d62a3e6e14aefe1744f23d1a68662e9e59fc4d2c34c3b838e4a52c6fab"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060state.svg\u0060 is text this program did not author, and it is written into the text of an element through \u0060dangerouslySetInnerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/MarkdownPreview.tsx"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d5cc3b14de077e1f1a8228b4a86da353f4065bce44206bed575d285e88c434"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vitest.setup.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"db2e0522649511bb2ec7d5b6f7df7572436c63239962836b77cb8876c06f6f96"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/plugins/publish.tsx"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bc8423c77f1776e7b23067793a02ab80c968cde264099a2f2bcea627251d280"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.then(\u2026, () =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/routes/-management/ManagedMcpTools.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e1579c3961d1f4f08b7c97796ef527c203b9fb86ee51ea523b3c20bc8bc2e1d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/analyticsRelease.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"760f30e381c9d20ea46acd79557b5b6258d116c4bf0c2a9d7e8f5655b8c6c13a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/publicApiUrl.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4db6db122cd0e58465e6ec3e49e54463a8c592e5b1de19ba6fced64a4081325"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/templateDetail.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"889c0de66f071e410631b29800f84907374ff496271ba692965c3df76f675da1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/theme.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"573847f445829c2a90619401b1c32ba2aa973480ea4fa288c593879ad63ccb74"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/theme.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"f29831148a9f35d96925dfe48befcd1750d06afc5d414b51e2a4fb538fdc5fa6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/theme.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"296dca388eabec3f498a64c9c89e2900da5b17a436f42ef3569e452471f4841c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.then(\u2026, () =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/useUnifiedSearch.ts"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"cced47d9b0d0d57a8a506c8069aebb6de1bb724c264a4e58b592680d6059a897"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.then(\u2026, () =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/useUnifiedSearch.ts"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c214c61e0a58085302e0136e15afdb57ad5eb61c40c331001f6560638fda122"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/skillDetailUtils.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"827971b887edd688f7a3f0376c5fa74431b044696f2ea40e8951fc2648602a1a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/GoogleAnalytics.tsx"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6bc27153f7b60a4d9764123524d45257cb5705961d51516e674fc35908eb11f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/MarkdownPreview.tsx"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"4db5727ec2c90f9dcff17aaa5b5836fb9478f9d9218096e542db006b49dbd7a4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/PluginVersionsPanel.tsx"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6794b4e972ca145ce34d4d2c90588a7b65da68436376a810a3f020f9f164793"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/PluginVersionsPanel.tsx"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"197b98be7abe3367e97f2c3c82d68d0d560a6a978a60516172f63383b4fdc02a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/PromotionsBar.tsx"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd49353cb25d5fb3b49de3ae5562dcf2d9185fa2bb14ba9c6cc4a69dfb2ba3c1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/SecurityAuditPage.tsx"},"region":{"startLine":990}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ba88bc02a5855e25e3d312cb6e325cd7573618068888481754d194e7900815"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/UserBadge.tsx"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3cc9e104a558b949f154c1b43171385252a029cbb4d0dfda41a5c220091d4f3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/UserBootstrap.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"883c507a72e56b6403612fa2be18d65abf4b4b1045660cd5bc41a3795a3a16a4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/convexProxy.ts"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"15f8d256d342204958100a401177889c5111af07f1fcc9ad5b150ff9fc3eb20a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/skillsShCatalogSource.ts"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf8c8bd94ca8e75ca0e64e8d8bf915a654e59940099f9d69d787c1ca9aa47d24"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/skillsShCatalogSource.ts"},"region":{"startLine":1770}}}],"partialFingerprints":{"codehealthFindingId/v1":"07d89c0e00727768b358be2a24a1a1f9a1e6339cf4b7b85d4e8141fadbc28431"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/og/ogAssets.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"3caca8b857d2356ecf7c26209dd0e889dd0b4d696364a91781269406515153ae"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/catalogMetadata.ts"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"e732ac8e4214cb99b5b9d8f857d4ba8ca62c3254d28b9b8f64a9e2a4dd47e472"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/buildInfo.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab25d30f21b79e8ed3c86a6dbcd3b253de88a17fe03ff01054bc64ccf9532efe"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/http.ts"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"3060ba4a9850b2a8a35ba879ca8a72089b71b6d32bf701fa304ae43c9b07e402"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/publishFiles.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"880e8aed93ad2744da3f2d010703277d872a0976752ac92dd07fdd58f0ef9e2d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/skills.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"98a2962a54770bd9cc0b5b87372463b0bc00673abde0e4b4edd30499c3f1c809"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/skills.ts"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3628f14657ef7f86bba000d78aab5968a444fe7d552e91c2a0fa1319309ffcc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/buildInfo.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"efeb89ecefbe75715dea634715b19b30d6c58335c7b11909958abc341bcdc05a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/buildInfo.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"4898ae68e9651659b44985f372e34afe630460b1aedff7aaf8eaf1505f864e71"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/github.ts"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"10a621e7396dcd5cfed6406b16686347f77d72a6606a6c579a709b6e38b19ba4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/installTelemetry.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfce03f6302a9fa9cd9eb5009010cf906fb8d17c6d7c86b6d1b6d8c4e811f372"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/skills.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"95af32abee62db40389e856c349c07b328a80375f14e1483a9b487ae9515b355"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/skills.ts"},"region":{"startLine":1740}}}],"partialFingerprints":{"codehealthFindingId/v1":"15922ead6d29f3b061a0ed8a418dc808c3f68ff5a73ea9ca30ccf0920e4e8d72"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/skills.ts"},"region":{"startLine":1741}}}],"partialFingerprints":{"codehealthFindingId/v1":"e45333dbd8b93a9f91682aa1ec6953a32a406e1ec56093b2bf2025ce9d0c2953"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/skills.ts"},"region":{"startLine":1746}}}],"partialFingerprints":{"codehealthFindingId/v1":"d50109447a25979dba77812e7638079096d3c4d143e9ac043d106e25d67d507e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub/src/cli/commands/skills.ts"},"region":{"startLine":1750}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa53bfc803ffb5782e1ad54c90cdec0454efdd8d1377686b50b48c0d42f5e5d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/devSeed.ts"},"region":{"startLine":2016}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f19f6879e273784adfa3f9a5c69fe2668cc9bd1f416f184ed776244334d7b87"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/downloads.ts"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef08eeb0f83c81f191364fd94bb253a4f668bbc50aa97a3688d4258647c52389"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/downloads.ts"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"230b8f733b4d94cee58534331a5cb227c354946a5bfb3021d62efdfed89684ec"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/prepublicationReports.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"367cdeac213d0dd19da84314293832ef4d1ddfef84185935bdd8649473a77460"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/publishAttempts.ts"},"region":{"startLine":1682}}}],"partialFingerprints":{"codehealthFindingId/v1":"45ea36bfe8080aeee53f5bfe60946daca694054732b2d41d8755a72d68175e20"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/searchInsights.ts"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f85a8ac569d2e9cd8d595f83c902b94ded48d3abcf8641fca9e745af2a5a5f9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/securityScan.ts"},"region":{"startLine":2448}}}],"partialFingerprints":{"codehealthFindingId/v1":"d589c37b23ccba83dcd4c4c9472255f1e1eda489ec3160a0ea94c0287a7338bd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/securityScan.ts"},"region":{"startLine":2466}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3bb32aabadb70110fb87fadc11e62eca46d3a1d37d06aa723e12386f6fbe3e9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skillEvaluations.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dda3f8bee8b3e18ae412312c8efe6833721441bff3c7b6c3dbc945f3451fc0a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/telemetry.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d670bebdd6fccc0449f3562fa2ec848f89af6a15a9fb195f1ff1abb70153a86"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/telemetry.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eb2074311fbb43b7f2f184babd7fe63f665081b10d8917491a1ad8c5fff73f0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/apiTokenAuth.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5ec92982dfa0ac53a0fe3deb9820c087b4acad96b9f7f7d02a3a51eb70155d7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/apiTokenAuth.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"a02d112aa5b959309564758374e66f7f6ec3d9092a321381c69cf5b9d7e1aaca"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/githubSkillSync.ts"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"25c69d261ea60b79a14e4ca89db352c2fd93759e7e4a94a802e7adcd4792c962"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/httpPathSegments.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"7489342c59e4b941bc3b9a1f6857e5b831a59a483767e0cd22978bfa2b761cf0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/httpRateLimit.ts"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"6add83aefecccd5f8c5198a600550ebabf8f9e194c58129f281db9e02a07de52"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/mcpPublicInspection.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf181897093c731ee1a7b8bcc9d84e0fc55a9a92af94d1c7ce41c8df4c6a8e1a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/mcpPublicInspection.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc0f0e5011461dd2a3e731c01f96f046c156210aeadb52c4c7822cb0c9b6f160"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/mcpPublicInspection.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf205d67011aebc0f191a34d7ebbe69e94d716673c3b2deea1789b30ad075453"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/mcpPublicInspection.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"4529f3b896ed2a55ca9a8c4e09640b50a9a26068035996c12541eca25656ab21"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/mcpPublicInspection.ts"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"431454ed1e4966708132cffc5293567f43b198f2f5ef1d6d8c3190d04562bdf8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/packageArchiveHttp.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dd568d565886ffa93d2a666cc31d71bc976a6e3ebf62eb7a464a4d2692eb4b1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/packageSdkUsageStorage.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"4854a20f8d922bb1f6d23a5e3ed0886cfc8e28370a761049b5e8103b84a6fa0e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/skillPublish.ts"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eb6eb2efd63c9ccb4ac80d9a72021be5cfa348a6f0aa2b8ac104d81a8e64038"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/skillPublish.ts"},"region":{"startLine":882}}}],"partialFingerprints":{"codehealthFindingId/v1":"1346d1e92a594e8ed8a33120293c0815494b884e9e5c6bb10d2fe25734985d15"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/lib/verifiedClientIp.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"48d17e0637321c17fc7ce09d4e5ca77951af6e58f000b1e707298f686865d0cf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":3978}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9803ca441f268644fa45036048a72ab0370ef166d8af5d5d09bdd56321d0878"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/httpApiV1/packagesV1.ts"},"region":{"startLine":4412}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a3d7e071f1b3fd6011474c29dc52ab94ccbc317138d043ad197fa0dbb605208"}},{"ruleId":"X5","level":"note","message":{"text":"Null assertions (\u0060!\u0060) override strict null checking: ~0.8 \u0060!\u0060 null assertions per 1k TypeScript source lines \u2014 177 assertion(s) across the 226509 source line(s) of the 781 TypeScript file(s) read, which is the only code the operator asserts anything in (a \u0060!\u0060 in a \u0060.js\u0060 file is not this operator and was not counted, and one in a file whose null checking is off silences nothing). Densest: convex/httpApiV1/packagesV1.ts (23), server/skillsShCatalogSource.ts (22), convex/skills.ts (10). Each one tells the compiler to trust the author about null, suppressing the very diagnostic \u0060strictNullChecks\u0060 exists to produce. Many are correct: each is a claim the checker could not verify, and it is wrong only where the value can in fact be missing, so review the densest places first."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1d83a7c69636a6290f63000d5c19b2073be1fa772f51977532af9ca6f745fc2a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060generateChangelogForPublish\u0060 swallows every exception into \u0060return \u0022- Updated skill.\u0022\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":"convex/lib/changelog.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf604719ad9f30820295b063bf2c30e2eea005ca36ca0871f62f993fd85bc3ed"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060generatePackageChangelogPreview\u0060 swallows every exception into \u0060return \u0022- Updated package.\u0022\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":"convex/lib/changelog.ts"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"d98d08709617b4d5db2127e07852c1a358ae7c885101061da80b0e18a7270b22"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060generateChangelogPreview\u0060 swallows every exception into \u0060return \u0022- Updated skill.\u0022\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":"convex/lib/changelog.ts"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"87185c3cd3cce9a6c405cf413d30b40e4c48a1c4103229037bcc959648600144"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060normalizeInferredCategories\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":"convex/migrations.ts"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"9547a063a6e010950c9229f85cbb25018bc1bda885687726526174718efc511c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060validTopicInferenceTerms\u0060 swallows every exception into \u0060return false\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"convex/skillsShMirror.ts"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"611b5289aca31ff80613be01bf92c10ff5fa673e5b1b691432f7a8872ef2af96"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060pollableDevSeedState\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":"e2e/helpers/convexSeed.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"e000697d28ee9ca1e1cf17412f597e476a9d119abae2437f75a13d914ea3f5e5"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readPackageVersion\u0060 swallows every exception into \u0060return \u00220.0.0\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/clawhub-admin/src/buildInfo.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae140bebd1616c4150b9424316ecafdbd79f7b393680dc41960795eeb3ca5620"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060normalizeInferredCatalogTopics\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/catalogMetadata.ts"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae72b662c3c573fe3bfafd042b67405a0e6b0280258eb3557a3e10b015e9859"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060templateBundledMetadataPaths\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/schema/src/templatePackage.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"546667c5af988b3a11468e39522fd9e9bf7a106b4d533da5386ee24bd7dc4e04"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060configuredTaskSource\u0060 swallows every exception into \u0060return \u0022auto\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/evaluations/skill-evaluation-runtime.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d724b864c628193544851e905fa6dd8193437f1a6918f4c210f5f07128f2187"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060resolveLocalAuthExternalNodeDependencies\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":"scripts/playwright-local-auth-config.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"6af2e250e82d858d0f50425a85103a8563ab147ecf7c33433ccf4e4b960248d4"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060clawScanScannerOutputReferences\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":"scripts/security/run-codex-scan-worker.ts"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"179a3fe8edfc5a1274584c367622de346428d3d24b5abb9b641c497427097bc9"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parseSkillsShPageFieldEvidence.jsonLdValues\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":"server/skillsShCatalogSource.ts"},"region":{"startLine":1741}}}],"partialFingerprints":{"codehealthFindingId/v1":"d59f1413d7e7e893352923df8743e6fd91095156f5fed9ae4d7a89adb6928a05"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readNumber\u0060 swallows every exception into \u0060return 0\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/skills-sh-catalog/prove-500.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9a4d15c7b2a9d2eb938ecdc879d455350cfe5e416ccb1c0e6b2c0c4d8fbf2d0"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readLaneManifest\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":"scripts/ui-proof.mjs"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"840c79a875e527c65a0d1d6a08f683ebbdf4654bdb241dbbfbc01bc1e53e83a0"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getThemeModeFromCookieHeader\u0060 swallows every exception into \u0060return \u0022system\u0022\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/lib/themeCookie.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a2fa1875dbd34d521a480cffc2cf33b9467d26b4d4697c1d45b35991ec4ae1b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060normalizeNonfunctionalSearchKeys\u0060 swallows every exception into \u0060return true\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/lib/analyticsEvents.ts"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"102327cc182a3c7a37fa0ebfb9104de02deb22fed1301278ef9a5f666182f344"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060safeReferralOrigin\u0060 swallows every exception into \u0060return \u0022\u0022\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/lib/analyticsEvents.ts"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8688c31baa2b0e00bbc624eb655d87ce2efaf505209ec14b1fbb4392b867139"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-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-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-214","guid":"b10ad120-fb22-1351-9348-aa23b453e815","name":"CWE-214","shortDescription":{"text":"CWE-214"},"helpUri":"https://cwe.mitre.org/data/definitions/214.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-319","guid":"7af97476-9f0d-4458-9163-3d2043918a1a","name":"Cleartext Transmission of Sensitive Information","shortDescription":{"text":"Cleartext Transmission of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/319.html"},{"id":"CWE-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-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"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-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":149,"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."]}]}