{"$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":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"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":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"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":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R4","name":"Test Coverage","shortDescription":{"text":"Test Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/R4"},{"id":"R5","name":"Dependency Freshness","shortDescription":{"text":"Dependency Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/R5"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"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":"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":"browser-runtime.handleMessage (cyclomatic 48): browser-runtime.handleMessage 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":"package/ego-browser/src/browser-runtime.ts"},"region":{"startLine":1415}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a6cc8358215683df1be1d92ddb01b32120d1957d4b481198dbdf5381141439"}},{"ruleId":"D1","level":"warning","message":{"text":"browser-runtime.ensureFrameSessions (cyclomatic 46): browser-runtime.ensureFrameSessions has cyclomatic complexity 46 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 26 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":"package/ego-browser/src/browser-runtime.ts"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb8376062c481601cab46cd91b013b14d9de906f302d0ebaf447107b1936ef8a"}},{"ruleId":"D1","level":"warning","message":{"text":"page-ledger.validateLedger (cyclomatic 41): page-ledger.validateLedger has cyclomatic complexity 41 (threshold 15). Of this number, 40 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":"package/ego-browser/src/page-ledger.ts"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"280b5c94e8745e548b0b45b04d6a04ac020f6ffb98f6dab28723541d87b58ddc"}},{"ruleId":"D1","level":"warning","message":{"text":"public-api-schema.validateOptionValue (cyclomatic 33): public-api-schema.validateOptionValue has cyclomatic complexity 33 (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":"package/ego-browser/src/public-api-schema.ts"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea8a31459481f761df1bfcca86464a9627b8d71d398f642b1f7693bf75a62248"}},{"ruleId":"D1","level":"warning","message":{"text":"element-resolver.findUniqueRoleMatch (cyclomatic 26): element-resolver.findUniqueRoleMatch has cyclomatic complexity 26 (threshold 15). Of this number, 15 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":"package/ego-browser/src/element-resolver.ts"},"region":{"startLine":1252}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e087cec78de5a74ce56261922aef2b1544285b7611e7c092e975d868da53454"}},{"ruleId":"D1","level":"warning","message":{"text":"element-resolver.parseCssString (cyclomatic 26): element-resolver.parseCssString 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":"package/ego-browser/src/element-resolver.ts"},"region":{"startLine":2453}}}],"partialFingerprints":{"codehealthFindingId/v1":"77f26d794301037395d3c6ceba17241cd183060a79d8ab905fb955c4d42d80f4"}},{"ruleId":"D1","level":"warning","message":{"text":"validate-learning-format.validateLearning (cyclomatic 25): validate-learning-format.validateLearning 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":"package/ego-browser/src/learning/validate-learning-format.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c02a62c4f470d7c589613d3d917d8e7c589dd17555aaf501e56567b6463f7e7"}},{"ruleId":"D1","level":"warning","message":{"text":"page-actions.resolveElementPoint (cyclomatic 24): page-actions.resolveElementPoint 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":"package/ego-browser/src/driver/page-actions.ts"},"region":{"startLine":1343}}}],"partialFingerprints":{"codehealthFindingId/v1":"951a5ec0744c4aca5a022278a768f538afc742576ac443b889d561d8f24bfb13"}},{"ruleId":"D1","level":"warning","message":{"text":"package-plugins.packagePlugin (cyclomatic 24): package-plugins.packagePlugin 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":"plugins/scripts/package-plugins.mjs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"d894c9ae87250841a23c111225643b98d3272563ce405c004f36a98810df333e"}},{"ruleId":"D1","level":"warning","message":{"text":"validate-learning-format.validateToolSchema (cyclomatic 21): validate-learning-format.validateToolSchema 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":"package/ego-browser/src/learning/validate-learning-format.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"0570b50a38b2fb0d67225d431c5db987439aadfa7586adfc1ce5a7f765294229"}},{"ruleId":"D1","level":"warning","message":{"text":"element-resolver.validateDomLocatorBackendNodes (cyclomatic 21): element-resolver.validateDomLocatorBackendNodes has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 2 of the 21 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 552, 580, 597, \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":"package/ego-browser/src/element-resolver.ts"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"509a2289eea8b596968ac811325a60442ead1aadde0ed195d78d891392c6a029"}},{"ruleId":"D1","level":"warning","message":{"text":"element-resolver.findUniqueLocatorContext (cyclomatic 21): element-resolver.findUniqueLocatorContext 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":"package/ego-browser/src/element-resolver.ts"},"region":{"startLine":1150}}}],"partialFingerprints":{"codehealthFindingId/v1":"495ad3c60e2333aa8771d82947b40ae88ddee77e6649f610e710e44de4ca5fab"}},{"ruleId":"D1","level":"warning","message":{"text":"PageLedgerStore.reconcile (cyclomatic 21): PageLedgerStore.reconcile has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 10 of the 21 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 304, 316). 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":"package/ego-browser/src/page-ledger.ts"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f7e785711d5db8abd776ee9b722255bc5db762ffa4c4a2efbf4572192b0916"}},{"ruleId":"D1","level":"warning","message":{"text":"Page.snapshot (cyclomatic 21): Page.snapshot 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 one function literal inside it that branches (line 1687). 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":"package/ego-browser/src/page-model.ts"},"region":{"startLine":1665}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b93270362a17fe0f99471ab6903442fe677eaf139b5172229ff429a8a399e1c"}},{"ruleId":"D1","level":"warning","message":{"text":"page-waits.waitForSelectorInPage (cyclomatic 20): page-waits.waitForSelectorInPage 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":"package/ego-browser/src/driver/page-waits.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad0b89a5b64800cf9c5813426115e2ec086d0ea32f46c46ee70fe9533cb931f7"}},{"ruleId":"D1","level":"warning","message":{"text":"element-resolver.resolveElementObjectId (cyclomatic 19): element-resolver.resolveElementObjectId 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":"package/ego-browser/src/element-resolver.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4ca664652c8b03ba434bdb2c719895a83f24513379f91f4e4077a6e43b69faf"}},{"ruleId":"D1","level":"warning","message":{"text":"help-runtime.walkAliases (cyclomatic 19): help-runtime.walkAliases 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":"package/ego-browser/src/help-runtime.ts"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e2992a1a8b2e886676a8d2f58c05780bf8de96b5b0c1c626cade1f120b3c9c6"}},{"ruleId":"D1","level":"warning","message":{"text":"Page.#runActionBoundary (cyclomatic 19): Page.#runActionBoundary 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 one function literal inside it that branches (line 2754). 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":"package/ego-browser/src/page-model.ts"},"region":{"startLine":2733}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee1019e0852e5653b4995318303685ef2d8fd06761ddaf626a6c7e398d34c2d4"}},{"ruleId":"D1","level":"warning","message":{"text":"element-resolver.findUniqueRawSelectorContext (cyclomatic 18): element-resolver.findUniqueRawSelectorContext 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":"package/ego-browser/src/element-resolver.ts"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a1b63875b1aec379a880c0bf1469dbcdaaeb387564ed2ebd7bbf780a1cfe669"}},{"ruleId":"D1","level":"warning","message":{"text":"keyboard.pressKeyInPage (cyclomatic 18): keyboard.pressKeyInPage 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":"package/ego-browser/src/driver/keyboard.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"010c408c4c076cd55f68bf90f8f6c193d04a1d554d4f5b79d5372f02f048762f"}},{"ruleId":"D1","level":"warning","message":{"text":"page-waits.urlGlobToRegExp (cyclomatic 18): page-waits.urlGlobToRegExp 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":"package/ego-browser/src/driver/page-waits.ts"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"6af5be28c2e7538194c3b37efe368a8b1b05a026014fb8bea97eb2a14e9083b8"}},{"ruleId":"D1","level":"warning","message":{"text":"page-model.validateSelectOptionChoice (cyclomatic 18): page-model.validateSelectOptionChoice has cyclomatic complexity 18 (threshold 15). Of this number, 16 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":"package/ego-browser/src/page-model.ts"},"region":{"startLine":3491}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bea3d48675de29b686388b7671ea4c293ba06e88a816d1c4ced64399890e8c1"}},{"ruleId":"D1","level":"warning","message":{"text":"browser-runtime.ensureSession (cyclomatic 17): browser-runtime.ensureSession 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":"package/ego-browser/src/browser-runtime.ts"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd3e386bef9fb1931205d83e9131b587811960d05aba23fb9434d0a9c1bd8500"}},{"ruleId":"D1","level":"warning","message":{"text":"browser-runtime.enableNetworkTrackingForSession (cyclomatic 17): browser-runtime.enableNetworkTrackingForSession has cyclomatic complexity 17 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 3 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":"package/ego-browser/src/browser-runtime.ts"},"region":{"startLine":1084}}}],"partialFingerprints":{"codehealthFindingId/v1":"d02dc8df7916cbe33967c7658858047217c116eb8778925eb03e73faa2a45ba3"}},{"ruleId":"D1","level":"warning","message":{"text":"element-resolver.parseLocatorCore (cyclomatic 17): element-resolver.parseLocatorCore 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":"package/ego-browser/src/element-resolver.ts"},"region":{"startLine":2203}}}],"partialFingerprints":{"codehealthFindingId/v1":"a108110992684797fd6b5a74baa358e4ae6536dc217bd93ffdeb436460723248"}},{"ruleId":"D1","level":"warning","message":{"text":"page-actions.ensureFrameOwnerInView (cyclomatic 17): page-actions.ensureFrameOwnerInView 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":"package/ego-browser/src/driver/page-actions.ts"},"region":{"startLine":1501}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d99fdf0b90e529effcdcb1707ec821170aecaf9a2c80a202e087bac239fa51f"}},{"ruleId":"D1","level":"warning","message":{"text":"page-actions.cursorPointForElement (cyclomatic 17): page-actions.cursorPointForElement has cyclomatic complexity 17 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. 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":"package/ego-browser/src/driver/page-actions.ts"},"region":{"startLine":1651}}}],"partialFingerprints":{"codehealthFindingId/v1":"17eddb7a8cd5b5ca0ecd68784f0f612bd1b805ce776cbea7cf545ce05fd07d6a"}},{"ruleId":"D1","level":"warning","message":{"text":"browser-runtime.recordNetworkEvent (cyclomatic 16): browser-runtime.recordNetworkEvent 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":"package/ego-browser/src/browser-runtime.ts"},"region":{"startLine":1274}}}],"partialFingerprints":{"codehealthFindingId/v1":"e54ac154645e889696d436085a524a60d7afea91b5d2eb26e03740c857339395"}},{"ruleId":"D1","level":"warning","message":{"text":"snapshot-result.backfillSnapshotFrameIds (cyclomatic 16): snapshot-result.backfillSnapshotFrameIds has cyclomatic complexity 16 (threshold 15). Of this number, 14 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":"package/ego-browser/src/snapshot-result.ts"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"b70750fbbeb5176bc3bcfd0bfd2367d0ced1a31263855ba4a395318b80cb0991"}},{"ruleId":"D1","level":"warning","message":{"text":"page-actions.fillInPage (cyclomatic 16): page-actions.fillInPage 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":"package/ego-browser/src/driver/page-actions.ts"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f0bc74e581bdad8408c75d362b5206fd40a792a76ef4166a3d19bcd75557f6d"}},{"ruleId":"D1","level":"warning","message":{"text":"page-actions.classifyFillOutcome (cyclomatic 16): page-actions.classifyFillOutcome 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":"package/ego-browser/src/driver/page-actions.ts"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"da80189c6aa012e4694f75c726fc0b0c18a7109e82da62d8c49581935bd1a1a9"}},{"ruleId":"D1","level":"warning","message":{"text":"help-runtime.getDocsMap (cyclomatic 16): help-runtime.getDocsMap has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 6 of the 16 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 121, 132, 151). 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":"package/ego-browser/src/help-runtime.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"e472c3d48bb470f38f8b57c1b47bc6190314fdeb9b3e8c02fb93f4e4229ab159"}},{"ruleId":"D1","level":"warning","message":{"text":"help-runtime.walkFunctions (cyclomatic 16): help-runtime.walkFunctions 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":"package/ego-browser/src/help-runtime.ts"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9b19895dca47fe6595d33f1cdb1e0e61dae94e546b38501cb2f4651a968247d"}},{"ruleId":"D1","level":"warning","message":{"text":"Page.waitForFunction (cyclomatic 16): Page.waitForFunction has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 6 of the 16 points are its own statements and the rest belongs to one function literal inside it that branches (line 1982). 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":"package/ego-browser/src/page-model.ts"},"region":{"startLine":1947}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a3c4f23f4e6a3e32dfbc998bd245738a44e7dc999204582417c753da2ffe354"}},{"ruleId":"D1","level":"warning","message":{"text":"index.installEgoSdk (cyclomatic 16): index.installEgoSdk has cyclomatic complexity 16 (threshold 15). Of this number, 14 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":"package/ego-browser/src/index.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"35f8c5adab643fd9aca5da37b1d6262f498891a095962fb9d95dc8a0fbb35ab5"}},{"ruleId":"D2","level":"warning","message":{"text":"browser-runtime.handleMessage (cognitive 61): browser-runtime.handleMessage has cognitive complexity 61 (threshold 15). Drivers by points: if/else 21 (34 pts), boolean chains 15, ternaries 5 (7 pts), loops 2 (4 pts), error handling 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package/ego-browser/src/browser-runtime.ts"},"region":{"startLine":1415}}}],"partialFingerprints":{"codehealthFindingId/v1":"20867f9e669ac1e78d0c936aea432be834fa25fb8b788ea150f950a924239269"}},{"ruleId":"D2","level":"warning","message":{"text":"browser-runtime.ensureFrameSessions (cognitive 57): browser-runtime.ensureFrameSessions has cognitive complexity 57 (threshold 15). Drivers by points: if/else 18 (30 pts), boolean chains 14, loops 9, error handling 1 (2 pts), ternaries 2 (nesting depth added 13). Of this number, 27 points are the body\u0027s own statements and 30 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":"package/ego-browser/src/browser-runtime.ts"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"a29ff74f1cf678019cd927fd6af104b6d4fd5d5646f2c06a316b9eb666c16986"}},{"ruleId":"D2","level":"warning","message":{"text":"package-plugins.packagePlugin (cognitive 43): package-plugins.packagePlugin has cognitive complexity 43 (threshold 15). Drivers by points: if/else 12 (19 pts), ternaries 6 (15 pts), loops 5 (7 pts), boolean chains 1, error handling 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/scripts/package-plugins.mjs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"131d89c26eeaa2ac77d7d8dc2ae0e5430fa46f5b6b28166856932d77621426d0"}},{"ruleId":"D2","level":"warning","message":{"text":"page-waits.urlGlobToRegExp (cognitive 39): page-waits.urlGlobToRegExp has cognitive complexity 39 (threshold 15). Drivers by points: if/else 11 (24 pts), ternaries 3 (9 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package/ego-browser/src/driver/page-waits.ts"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"c204925168b4dc4fb2ba306afdbe5b270fc5a3a8db0149841d0022333ca41242"}},{"ruleId":"D2","level":"warning","message":{"text":"element-resolver.resolveElementObjectId (cognitive 38): element-resolver.resolveElementObjectId has cognitive complexity 38 (threshold 15). Drivers by points: if/else 12 (24 pts), ternaries 3 (9 pts), error handling 1 (3 pts), boolean chains 1, loops 1 (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":"package/ego-browser/src/element-resolver.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bd29dd57fe6d0b3b719af65a2d4fb0063316aae1c19f24466540cc29abbfc47"}},{"ruleId":"D2","level":"warning","message":{"text":"page-waits.waitForSelectorInPage (cognitive 36): page-waits.waitForSelectorInPage has cognitive complexity 36 (threshold 15). Drivers by points: if/else 12 (28 pts), boolean chains 5, error handling 1 (2 pts), loops 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package/ego-browser/src/driver/page-waits.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7f57869c5a4f013590cffc2327623195371a42760d8bf7b42fbc576eb05b45b"}},{"ruleId":"D2","level":"warning","message":{"text":"element-resolver.findUniqueLocatorContext (cognitive 34): element-resolver.findUniqueLocatorContext has cognitive complexity 34 (threshold 15). Drivers by points: if/else 14 (24 pts), ternaries 2 (5 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":"package/ego-browser/src/element-resolver.ts"},"region":{"startLine":1150}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a2456bf7347d2f3d694546604a1251af6d05b91a9b57c39488a1d7e4f172738"}},{"ruleId":"D2","level":"warning","message":{"text":"element-resolver.findUniqueRoleMatch (cognitive 34): element-resolver.findUniqueRoleMatch has cognitive complexity 34 (threshold 15). Drivers by points: if/else 14 (21 pts), ternaries 3 (6 pts), loops 3 (4 pts), boolean chains 3 (nesting depth added 11). Of this number, 20 points are the body\u0027s own statements and 14 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":"package/ego-browser/src/element-resolver.ts"},"region":{"startLine":1252}}}],"partialFingerprints":{"codehealthFindingId/v1":"38ed137864f0bbae01e92d3fbccd8c5fa94c2b8c8024dcbbe25b119089b232c3"}},{"ruleId":"D2","level":"warning","message":{"text":"element-resolver.findUniqueRawSelectorContext (cognitive 31): element-resolver.findUniqueRawSelectorContext has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13 (23 pts), ternaries 2 (5 pts), loops 2 (3 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package/ego-browser/src/element-resolver.ts"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3862ce630251b894ac554e7ca2b19f32c6a1da93959bfd219bddea1e27d15f5"}},{"ruleId":"D2","level":"warning","message":{"text":"element-resolver.parseCssString (cognitive 29): element-resolver.parseCssString has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 7, ternaries 1 (3 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":"package/ego-browser/src/element-resolver.ts"},"region":{"startLine":2453}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cc2f798c35a51d17cb1dee21bd51008129ccfad2da88b2c9d3715aaf5054810"}},{"ruleId":"D2","level":"warning","message":{"text":"validate-learning-format.validateLearning (cognitive 28): validate-learning-format.validateLearning has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 5, loops 4, error handling 2 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package/ego-browser/src/learning/validate-learning-format.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2eb2c51b4be906d051ff2376201c751fae1dfe98aa6157815b49bcee3ff0645"}},{"ruleId":"D2","level":"warning","message":{"text":"Page.waitForFunction (cognitive 27): Page.waitForFunction has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (20 pts), error handling 2 (4 pts), boolean chains 2, loops 1 (nesting depth added 14). Most of this is not in the body itself: 3 of the 27 points are its own statements and the rest belongs to one function literal inside it that branches (line 1982). 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":"package/ego-browser/src/page-model.ts"},"region":{"startLine":1947}}}],"partialFingerprints":{"codehealthFindingId/v1":"985022b93050e62eaef033c93a76514fe0aafd43a05a18cd1687b42781204ec2"}},{"ruleId":"D2","level":"warning","message":{"text":"element-resolver.resolveElementCenter (cognitive 26): element-resolver.resolveElementCenter has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (20 pts), error handling 1 (3 pts), boolean chains 2, 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":"package/ego-browser/src/element-resolver.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"a087bfeeaef45977fe428d855d0822af66e7b7b1bb9123fe0fcddf2afedb9486"}},{"ruleId":"D2","level":"warning","message":{"text":"help-runtime.walkAliases (cognitive 26): help-runtime.walkAliases has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 6, loops 3 (6 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":"package/ego-browser/src/help-runtime.ts"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"614a8c74918dfbd6b185ff66c90fc0438771bbfa79fd8e5757228c5ad6b21d42"}},{"ruleId":"D2","level":"warning","message":{"text":"public-api-schema.validateOptionValue (cognitive 25): public-api-schema.validateOptionValue has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 10, match/switch 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":"package/ego-browser/src/public-api-schema.ts"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"10d098f030a23e1e4422fe46a7dd89beb004974fe6df90513f2bff53f84bf609"}},{"ruleId":"D2","level":"warning","message":{"text":"validate-learning-format.validateToolSchema (cognitive 24): validate-learning-format.validateToolSchema has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 6, 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":"package/ego-browser/src/learning/validate-learning-format.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"18898f2c3a71747abadeae811e88fb70b882d80adaea1992adfff4a453a16740"}},{"ruleId":"D2","level":"warning","message":{"text":"page-actions.resolveElementPoint (cognitive 24): page-actions.resolveElementPoint has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (11 pts), ternaries 7 (8 pts), boolean chains 4, 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":"package/ego-browser/src/driver/page-actions.ts"},"region":{"startLine":1343}}}],"partialFingerprints":{"codehealthFindingId/v1":"396faa0e7296fb6eabf119a0f202b694642903e09d9186047813cb781a9da459"}},{"ruleId":"D2","level":"warning","message":{"text":"element-resolver.parseLocatorCore (cognitive 23): element-resolver.parseLocatorCore has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 5 (11 pts), if/else 7 (8 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":"package/ego-browser/src/element-resolver.ts"},"region":{"startLine":2203}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad3bcb856237f956996061b67f5af2bb9e067f1c32cc0a69d8f4155b9eea6fb3"}},{"ruleId":"D2","level":"warning","message":{"text":"browser-runtime.recordNetworkEvent (cognitive 22): browser-runtime.recordNetworkEvent has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (11 pts), ternaries 3 (6 pts), boolean chains 5 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package/ego-browser/src/browser-runtime.ts"},"region":{"startLine":1274}}}],"partialFingerprints":{"codehealthFindingId/v1":"7585694f2bdf1a84475ce2cfa46f7ff7fb73e010cb584a526e2c3a3b65b0d364"}},{"ruleId":"D2","level":"warning","message":{"text":"element-resolver.collectBackendNodeMatches (cognitive 22): element-resolver.collectBackendNodeMatches has cognitive complexity 22 (threshold 15). Drivers by points: if/else 4 (9 pts), boolean chains 5, ternaries 2 (5 pts), loops 2 (3 pts) (nesting depth added 9). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package/ego-browser/src/element-resolver.ts"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"b815b79c6323236def2b6448a4541559bea13d1eeacf9702956260f0ce863f27"}},{"ruleId":"D2","level":"warning","message":{"text":"index.loadLearnedContext (cognitive 21): index.loadLearnedContext has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 7, loops 4 (7 pts), if/else 2 (4 pts), error handling 1 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package/ego-browser/src/learning/index.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"20f2feff7062e454dd0352eaefd4db95ed3c035c7fead4aa945b8ae792457886"}},{"ruleId":"D2","level":"warning","message":{"text":"index.installEgoSdk (cognitive 21): index.installEgoSdk has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (11 pts), ternaries 3 (5 pts), boolean chains 4, loops 1 (nesting depth added 5). Of this number, 16 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":"package/ego-browser/src/index.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6b9a179ca0c67e0db63f0c868c07767cd09bddea25c984dae09d0287d33f927"}},{"ruleId":"D2","level":"warning","message":{"text":"element-resolver.validateDomLocatorBackendNodes (cognitive 20): element-resolver.validateDomLocatorBackendNodes has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 5, error handling 3, ternaries 2, loops 1 (nesting depth added 2). Most of this is not in the body itself: 1 of the 20 points is its own statement and the rest belongs to 5 function literals inside it that branch (lines 580, 552, 597, \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":"package/ego-browser/src/element-resolver.ts"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"73c8e7279d5ef4e30ab780d7453848246aa29456b6f0e766905ddf88b162a623"}},{"ruleId":"D2","level":"warning","message":{"text":"keyboard.pressKeyInPage (cognitive 20): keyboard.pressKeyInPage has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (7 pts), error handling 3 (5 pts), ternaries 4, boolean chains 2, loops 2 (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":"package/ego-browser/src/driver/keyboard.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"c193516f73dc256786631f5bfe5056c632e0898d27893d05fae36008262c2ac9"}},{"ruleId":"D2","level":"warning","message":{"text":"page-waits.waitForURLInPage (cognitive 20): page-waits.waitForURLInPage has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (17 pts), error handling 1 (2 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package/ego-browser/src/driver/page-waits.ts"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"365d4ac7f12c703ad9b2ee3300ed52ba64e24e28da8d430543e94f27bad118c1"}},{"ruleId":"D2","level":"warning","message":{"text":"help-runtime.walkFunctions (cognitive 20): help-runtime.walkFunctions has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 5, loops 2 (4 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":"package/ego-browser/src/help-runtime.ts"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec02c6a9c37ea73d2bd102d2473ed1048b2465d4c389641c2d3a099de32a6c65"}},{"ruleId":"D2","level":"warning","message":{"text":"page-ledger.validateLedger (cognitive 20): page-ledger.validateLedger has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 12, if/else 4 (6 pts), loops 1, ternaries 1 (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":"package/ego-browser/src/page-ledger.ts"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"7474122017568a9ff0bd067ef6761e96da3e690cb7aeb01eba3743a52c6be7ac"}},{"ruleId":"D2","level":"warning","message":{"text":"Page.snapshot (cognitive 20): Page.snapshot has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 8, if/else 6 (8 pts), ternaries 3, loops 1 (nesting depth added 2). Most of this is not in the body itself: 8 of the 20 points are its own statements and the rest belongs to one function literal inside it that branches (line 1687). 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":"package/ego-browser/src/page-model.ts"},"region":{"startLine":1665}}}],"partialFingerprints":{"codehealthFindingId/v1":"03bd383b2c2f1877cbf09a5c964300c4c10a4860f30aa7e83bfa0b510c1560ad"}},{"ruleId":"D2","level":"warning","message":{"text":"Page.#runActionBoundary (cognitive 20): Page.#runActionBoundary has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (10 pts), ternaries 4, boolean chains 3, error handling 2, loops 1 (nesting depth added 2). 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 2754). 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":"package/ego-browser/src/page-model.ts"},"region":{"startLine":2733}}}],"partialFingerprints":{"codehealthFindingId/v1":"63fd87a868be369e68991f1f4234c9faba2fb4f9d0f36683482e889ce1a6285a"}},{"ruleId":"D2","level":"warning","message":{"text":"browser-runtime.enableNetworkTrackingForSession (cognitive 19): browser-runtime.enableNetworkTrackingForSession has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 3, ternaries 3, error handling 1 (nesting depth added 4). Of this number, 15 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":"package/ego-browser/src/browser-runtime.ts"},"region":{"startLine":1084}}}],"partialFingerprints":{"codehealthFindingId/v1":"b479a58a008603734857a262d98ab4088d94a8801b48d85a91e57cee4fbe4e9a"}},{"ruleId":"D2","level":"warning","message":{"text":"element-resolver.topLevelTokenPositions (cognitive 19): element-resolver.topLevelTokenPositions has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (16 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":"package/ego-browser/src/element-resolver.ts"},"region":{"startLine":2369}}}],"partialFingerprints":{"codehealthFindingId/v1":"da73402ea6de740dea1d6113937d8a2b301dab670017ef2c37ec8359262de8cc"}},{"ruleId":"D2","level":"warning","message":{"text":"snapshot-result.backfillSnapshotFrameIds (cognitive 19): snapshot-result.backfillSnapshotFrameIds has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (9 pts), loops 5 (7 pts), boolean chains 3 (nesting depth added 5). 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 into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package/ego-browser/src/snapshot-result.ts"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"086872fe5b1920e076610986da5200b02df1fc72075c2bac769a169013a3a7e2"}},{"ruleId":"D2","level":"warning","message":{"text":"snapshot-result.iframeDescendantRefIds (cognitive 19): snapshot-result.iframeDescendantRefIds has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (17 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":"package/ego-browser/src/snapshot-result.ts"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"db771b70f5f4f130cac0d1462a7f07a42d2b0ab49d6259d5fc444b6a591b233a"}},{"ruleId":"D2","level":"warning","message":{"text":"page-waits.waitForDocumentReadyState (cognitive 19): page-waits.waitForDocumentReadyState has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 3, error handling 1 (2 pts), loops 1, ternaries 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":"package/ego-browser/src/driver/page-waits.ts"},"region":{"startLine":801}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3befdad869f5829164f5f3d6cb8f8e7ef95fbcb1b4a3096aa5416f665ade31a"}},{"ruleId":"D2","level":"warning","message":{"text":"PageRefRegistry.#register (cognitive 19): PageRefRegistry.#register has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (8 pts), ternaries 2 (5 pts), boolean chains 3, loops 2 (3 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":"package/ego-browser/src/page-ref-registry.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb7ab1b299873ac327e4233c29e77b194e33e3672672b207157ff628384977f2"}},{"ruleId":"D2","level":"warning","message":{"text":"PageLedgerStore.reconcile (cognitive 19): PageLedgerStore.reconcile has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (8 pts), loops 5 (7 pts), boolean chains 4 (nesting depth added 4). Most of this is not in the body itself: 4 of the 19 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 304, 316). 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":"package/ego-browser/src/page-ledger.ts"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9e4ac6cdb048895c454aad5e74bc558dce69bf43fda504b8910758d0bfa4e15"}},{"ruleId":"D2","level":"warning","message":{"text":"Page.#retryElementAction (cognitive 19): Page.#retryElementAction has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 2 (7 pts), if/else 2 (6 pts), boolean chains 3, 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":"package/ego-browser/src/page-model.ts"},"region":{"startLine":2626}}}],"partialFingerprints":{"codehealthFindingId/v1":"c376f7d9692a5ef11fd115a5152113a2c9615f2557a1afe0c60403029b3177b4"}},{"ruleId":"D2","level":"warning","message":{"text":"helpers.completeTaskSpace (cognitive 18): helpers.completeTaskSpace has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package/ego-browser/src/helpers.ts"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"94d51590f800dc66aaac4dc16f20f6b6246315f48c6fec27d3fb52da0e5d8dc2"}},{"ruleId":"D2","level":"warning","message":{"text":"browser-runtime.browserCdp (cognitive 17): browser-runtime.browserCdp has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 4, ternaries 2 (4 pts), error handling 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":"package/ego-browser/src/browser-runtime.ts"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"dac82415e7dced661d6c5dd1357ffd02d4cc01611f270c3edba0395e886d0609"}},{"ruleId":"D2","level":"warning","message":{"text":"browser-runtime.recordCommandState (cognitive 17): browser-runtime.recordCommandState has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (14 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":"package/ego-browser/src/browser-runtime.ts"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"1626342350ffaf497c520c817b8e4f2e26c8a7579d47031282e528e30965f52b"}},{"ruleId":"D2","level":"warning","message":{"text":"page-actions.clickInPage (cognitive 17): page-actions.clickInPage has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 4, loops 1, 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":"package/ego-browser/src/driver/page-actions.ts"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"84c49b1e13969dfb025eb9317ed9a0c0819b433815dd6bc4cf7598597bd8428e"}},{"ruleId":"D2","level":"warning","message":{"text":"page-actions.fillInPage (cognitive 17): page-actions.fillInPage has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 2, ternaries 2 (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":"package/ego-browser/src/driver/page-actions.ts"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"39dbcaa8401b4240303be20cdab87abf9a150672065bd149653aacf2a6397f73"}},{"ruleId":"D2","level":"warning","message":{"text":"page-waits.navigateInPage (cognitive 17): page-waits.navigateInPage has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 2 (4 pts), boolean chains 3, error handling 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":"package/ego-browser/src/driver/page-waits.ts"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"39d9066a016693aeff61f90ea581bc3f29abf68b34d111b199efa4bb75a8fe54"}},{"ruleId":"D2","level":"warning","message":{"text":"element-resolver.isTopLevelPosition (cognitive 16): element-resolver.isTopLevelPosition has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (13 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":"package/ego-browser/src/element-resolver.ts"},"region":{"startLine":2403}}}],"partialFingerprints":{"codehealthFindingId/v1":"54c2699c341492d45a47df4b6546e4929902390bb58f469adca4c1f0ff6db71d"}},{"ruleId":"D2","level":"warning","message":{"text":"element-resolver.matchingParenPosition (cognitive 16): element-resolver.matchingParenPosition has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 2, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package/ego-browser/src/element-resolver.ts"},"region":{"startLine":2431}}}],"partialFingerprints":{"codehealthFindingId/v1":"04539ce04e7e12f774618dcdac782255dde8d844da3c9fd72ea97ca0ef62c593"}},{"ruleId":"D2","level":"warning","message":{"text":"page-actions.ensureFrameOwnerInView (cognitive 16): page-actions.ensureFrameOwnerInView has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 4, loops 1, ternaries 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package/ego-browser/src/driver/page-actions.ts"},"region":{"startLine":1501}}}],"partialFingerprints":{"codehealthFindingId/v1":"52a8cc54b16efb0f85ca30df2c84cf7cd673e9ba4778bbbd4da509debb2d3222"}},{"ruleId":"D2","level":"warning","message":{"text":"page-actions.cursorPointForElement (cognitive 16): page-actions.cursorPointForElement has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 6, loops 3 (4 pts), error handling 2, if/else 2, ternaries 1 (2 pts) (nesting depth added 2). Of this number, 13 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":"package/ego-browser/src/driver/page-actions.ts"},"region":{"startLine":1651}}}],"partialFingerprints":{"codehealthFindingId/v1":"171a9d8db86130f22120b8c39d0a2f0e7d68623362eed6d09733fb1da9050052"}},{"ruleId":"D2","level":"warning","message":{"text":"page-waits.waitForNetworkIdle (cognitive 16): page-waits.waitForNetworkIdle has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), error handling 1 (2 pts), boolean chains 1, 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":"package/ego-browser/src/driver/page-waits.ts"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"0822de81634cfd5c7a6f481ae95961c43869fb5cf9d14b0da912f5d05573930b"}},{"ruleId":"D2","level":"warning","message":{"text":"package-plugins.parseArguments (cognitive 16): package-plugins.parseArguments has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 3, 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":"plugins/scripts/package-plugins.mjs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"685c59ea3bcc7fe9ca11253d97ed1d0de4b22042e64e12ef6008d9afff60255c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/page-model.ts: FileTooLong \u2014 2672 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2172 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":"package/ego-browser/src/page-model.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c74a457e8a3faccc0322c049676761ed6224ddcf38dd604584954ee046629d0b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/element-resolver.ts: FileTooLong \u2014 1891 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1391 over it, 3.78\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package/ego-browser/src/element-resolver.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32a07e8e24534e247f15f60b34485e3c7b95f8d613d493e8c436fd09f5c653cf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: driver/page-actions.ts: FileTooLong \u2014 1487 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 987 over it, 2.97\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":"package/ego-browser/src/driver/page-actions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"17a4bc053e192771438a59798a6d00fa688f901bf05c5f45d0e7223282f16da3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Page: ClassTooLong \u2014 1032 significant lines (blank, comment-only and punctuation-only lines excluded), 51 methods. The bar is 400 significant lines; this is 632 over it, 2.58\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":"package/ego-browser/src/page-model.ts"},"region":{"startLine":1571}}}],"partialFingerprints":{"codehealthFindingId/v1":"10e3c65e547de9aaec5f9c64535197c0c06594e71b01601ce4af265b78e85df7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/browser-runtime.ts: FileTooLong \u2014 1104 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 604 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":"package/ego-browser/src/browser-runtime.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2842dbedf9474cd40e39e420bf9411e0ed0ad7f1ccb44bc106996a385be76457"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Page: TooManyMethods \u2014 51 methods. The bar is 30 methods; this is 21 over it, 1.70\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":"package/ego-browser/src/page-model.ts"},"region":{"startLine":1571}}}],"partialFingerprints":{"codehealthFindingId/v1":"14bc3c7b2f0f2a90ac4f53d9c433217ad6d4e32addff3bb5929d371c0d3e29be"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: page-keyboard.buildKeyboardLayout: FunctionTooLong \u2014 buildKeyboardLayout runs 146 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 46 over it, 1.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":"package/ego-browser/src/driver/page-keyboard.ts"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d5245d54c027aa917f245f57512d8149f48139236e8eec90ca8f762aae9b0d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: driver/page-waits.ts: FileTooLong \u2014 674 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 174 over it, 1.35\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package/ego-browser/src/driver/page-waits.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7f3a6a28e7bfb372c31bba924afeb0b9069d3cd9be3eacd94ee660da3203cda"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: browser-runtime.ensureFrameSessions: FunctionTooLong \u2014 ensureFrameSessions runs 131 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 31 over it, 1.31\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":"package/ego-browser/src/browser-runtime.ts"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"009adaf5399caeb2caf1b07ef9b0b85a77b75d3d3d36756422856336013d1317"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: package-plugins.packagePlugin: FunctionTooLong \u2014 packagePlugin 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":"plugins/scripts/package-plugins.mjs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"4846a2bc6cee8d1e36f3e1dab77f076afa60e984ee4b6ea8629fa6efbfefbed6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/public-api-schema.ts: FileTooLong \u2014 587 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 87 over it, 1.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":"package/ego-browser/src/public-api-schema.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"93dd29971b34423d56dfc9aa840552af4857af9df8de221c1a0a3e64b88df584"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: driver/page-keyboard.ts: FileTooLong \u2014 534 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 34 over it, 1.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":"package/ego-browser/src/driver/page-keyboard.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a84da23d60541dda4b9a9d0e4bd5efadfd84b028af20bcfa67ab7c9e2002188"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: element-resolver.validateDomLocatorBackendNodes: FunctionTooLong \u2014 validateDomLocatorBackendNodes 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":"package/ego-browser/src/element-resolver.ts"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad9e839a838650005c0356962834ef9fea9d163e1066a2397c1669ec3f546949"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: page-actions.selectOptionInPage: FunctionTooLong \u2014 selectOptionInPage runs 104 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package/ego-browser/src/driver/page-actions.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"317fec204fe9939eb13bb911bf895fc4966a36412253363524a4169216909f72"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: driver/pointer.ts: FileTooLong \u2014 516 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 16 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":"package/ego-browser/src/driver/pointer.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a66585dd73c0cc0277856fee1f06716df8ea9fbb04d3c46408f656b9d8a72db6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: package/ego-browser/src/public-api-schema.ts: package/ego-browser/src/public-api-schema.ts changed 36 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in public-api-schema.validateOptionValue at line 710. 15 of those changes were fix/bug commits, and the other 21 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-07-28..2026-10-26, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-28 02:17:13 -04:00\u0027 --until=\u00272026-10-26 02:17:13 -04:00\u0027 --full-history --no-merges -- package/ego-browser/src/public-api-schema.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":"package/ego-browser/src/public-api-schema.ts"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fba1e5720606c21b3b6e372a40732e10fae4c2dba49b39929e372f03af78288"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: package/ego-browser/scripts/real-browser-e2e/fixture.mjs: package/ego-browser/scripts/real-browser-e2e/fixture.mjs changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 74 in fixture.startFixtureServer.server at line 24. 2 of those changes were fix/bug commits, and the other 13 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-07-28..2026-10-26, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-28 02:17:13 -04:00\u0027 --until=\u00272026-10-26 02:17:13 -04:00\u0027 --full-history --no-merges -- package/ego-browser/scripts/real-browser-e2e/fixture.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":"package/ego-browser/scripts/real-browser-e2e/fixture.mjs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"64ff2f99ec2e2f0ff0ef6068e1bffdf2869139a2d4087c41807dbc44e91157f6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: package/ego-browser/src/page-model.ts: package/ego-browser/src/page-model.ts changed 52 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in Page.snapshot at line 1665. 16 of those changes were fix/bug commits, and the other 36 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-07-28..2026-10-26, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-28 02:17:13 -04:00\u0027 --until=\u00272026-10-26 02:17:13 -04:00\u0027 --full-history --no-merges -- package/ego-browser/src/page-model.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":"package/ego-browser/src/page-model.ts"},"region":{"startLine":1665}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccaafcf387a14ed077fc56b712d1b490fb796eeb072437fd779cdd926bc630a1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: package/ego-browser/src/browser-runtime.ts: package/ego-browser/src/browser-runtime.ts changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 48 in browser-runtime.handleMessage at line 1415. 5 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-07-28..2026-10-26, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-28 02:17:13 -04:00\u0027 --until=\u00272026-10-26 02:17:13 -04:00\u0027 --full-history --no-merges -- package/ego-browser/src/browser-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":"package/ego-browser/src/browser-runtime.ts"},"region":{"startLine":1415}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b6e979f580025cd56b5ff417b91ef97f51fd40e1533ac69eb7e086611e2a7f6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: package/ego-browser/src/page-ledger.ts: package/ego-browser/src/page-ledger.ts changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in page-ledger.validateLedger at line 518. 3 of those changes were fix/bug commits, and the other 8 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-28..2026-10-26, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-28 02:17:13 -04:00\u0027 --until=\u00272026-10-26 02:17:13 -04:00\u0027 --full-history --no-merges -- package/ego-browser/src/page-ledger.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":"package/ego-browser/src/page-ledger.ts"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"337ed68ed029be7c5605e51ab99958c6e44bc20021e4f618bf6d4787c244ecd4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: package/ego-browser/src/driver/page-actions.ts: package/ego-browser/src/driver/page-actions.ts changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in page-actions.resolveElementPoint at line 1343. 4 of those changes were fix/bug commits, and the other 12 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-07-28..2026-10-26, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-28 02:17:13 -04:00\u0027 --until=\u00272026-10-26 02:17:13 -04:00\u0027 --full-history --no-merges -- package/ego-browser/src/driver/page-actions.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":"package/ego-browser/src/driver/page-actions.ts"},"region":{"startLine":1343}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d8f12c78683f8c49b9e7e26f4a4f6a91924faca259cbd5710e7528a342708e1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: package/ego-browser/src/element-resolver.ts: package/ego-browser/src/element-resolver.ts changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in element-resolver.findUniqueRoleMatch at line 1252. 6 of those changes were fix/bug commits, and the other 8 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-28..2026-10-26, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-28 02:17:13 -04:00\u0027 --until=\u00272026-10-26 02:17:13 -04:00\u0027 --full-history --no-merges -- package/ego-browser/src/element-resolver.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":"package/ego-browser/src/element-resolver.ts"},"region":{"startLine":1252}}}],"partialFingerprints":{"codehealthFindingId/v1":"931b0c66879e715e6ab49db23006c4727f41149271a84a0ce5bcac541ff3608a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: package/ego-browser/scripts/real-browser-e2e/runner.mjs: package/ego-browser/scripts/real-browser-e2e/runner.mjs changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in runner.runRealBrowserE2e at line 68. 1 of those changes was a fix/bug commit, 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-07-28..2026-10-26, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-28 02:17:13 -04:00\u0027 --until=\u00272026-10-26 02:17:13 -04:00\u0027 --full-history --no-merges -- package/ego-browser/scripts/real-browser-e2e/runner.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":"package/ego-browser/scripts/real-browser-e2e/runner.mjs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"efae0936d48d01574fd27078195ec92d58b03c85ca9c39f376e8fccd5fa0d335"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: package/ego-browser/src/driver/page-waits.ts: package/ego-browser/src/driver/page-waits.ts changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in page-waits.waitForSelectorInPage at line 115. 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-07-28..2026-10-26, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-28 02:17:13 -04:00\u0027 --until=\u00272026-10-26 02:17:13 -04:00\u0027 --full-history --no-merges -- package/ego-browser/src/driver/page-waits.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":"package/ego-browser/src/driver/page-waits.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"76ac2aca8edb54a28ae98bf3e7c7d4a5cd611b467476efba5ec5e713e464fdf8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: package/ego-browser/src/index.ts: package/ego-browser/src/index.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in index.installEgoSdk at line 55. 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-07-28..2026-10-26, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-28 02:17:13 -04:00\u0027 --until=\u00272026-10-26 02:17:13 -04:00\u0027 --full-history --no-merges -- package/ego-browser/src/index.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":"package/ego-browser/src/index.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"392a762edfa4626c9facd7c1c8a600518c0333715ca811e6d9ce88390f3fcb0c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: package/ego-browser/src/driver/keyboard.ts: package/ego-browser/src/driver/keyboard.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in keyboard.pressKeyInPage at line 165. 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-07-28..2026-10-26, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-28 02:17:13 -04:00\u0027 --until=\u00272026-10-26 02:17:13 -04:00\u0027 --full-history --no-merges -- package/ego-browser/src/driver/keyboard.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":"package/ego-browser/src/driver/keyboard.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"6afc33d45d0f2a96f31c9a504287c3a7928569efbb6f34d6f299714eed1f8032"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: package/ego-browser/src/ego-errors.ts: package/ego-browser/src/ego-errors.ts changed 6 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is ego-errors.nativeErrorText at line 275), 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(ego-browser): report a user-owned task space name as in use\u201D; \u201Cfix(ego-browser): stop attributing finished or handed-off tasks to the user\u201D; \u201Cfix(ego-browser): address runtime review findings\u201D; \u201Cfix: handle Ego Lite user-control handoffs\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-07-28..2026-10-26, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-28 02:17:13 -04:00\u0027 --until=\u00272026-10-26 02:17:13 -04:00\u0027 --full-history --no-merges -- package/ego-browser/src/ego-errors.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":"package/ego-browser/src/ego-errors.ts"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"14f3095033e018fddbee0d8afbba620832e29a733f302d3515eb53f03b59ac43"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: package/ego-browser/src/clipboard.ts: package/ego-browser/src/clipboard.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 11 (its worst body is clipboard.validateClipboardInput at line 316), 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(ego-browser): name the invalid argument type in keyboard.paste errors\u201D; \u201Cfix(ego-browser): support keyboard.paste clipboard on Windows\u201D; \u201Cfix(ego-browser): address runtime review findings\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-07-28..2026-10-26, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-28 02:17:13 -04:00\u0027 --until=\u00272026-10-26 02:17:13 -04:00\u0027 --full-history --no-merges -- package/ego-browser/src/clipboard.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":"package/ego-browser/src/clipboard.ts"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"0437e9d06fccb13b20dabebe3108ec885c5de54be5981888fe5c3b0d993978c6"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: package/ego-browser/src/native-gate.ts: package/ego-browser/src/native-gate.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 6 (its worst body is NativeOperationGate.withPage at line 98), 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(ego-browser): harden runtime identity and locator validation\u201D; \u201Cfix(ego-browser): address runtime review findings\u201D; \u201Cfix: handle Ego Lite user-control handoffs\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-07-28..2026-10-26, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-28 02:17:13 -04:00\u0027 --until=\u00272026-10-26 02:17:13 -04:00\u0027 --full-history --no-merges -- package/ego-browser/src/native-gate.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":"package/ego-browser/src/native-gate.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fc5855e1205289b8a2ee009e1c010e279ff658715a80f51c4c1532860ec36e4"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 5 significant file(s) lose their only recent owner: package/ego-browser/src/driver/page-actions.ts, package/ego-browser/src/page-ledger.ts, package/ego-browser/src/driver/action-target.ts, package/ego-browser/src/native-gate.ts, package/ego-browser/src/driver/page-input.ts. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8a1684f616055f844f0e0fc6c31c9dd6c4d422ed21ad158813b399e6b05e7633"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 1 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 (6 single-owned of 32 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; 32 of the 55 production source files in this repository met that bar). They are anonymized user #2 (1 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: package/ego-browser/src/driver/downloads.ts."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"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":"a1f31e3fc38e806c632551480508ae27b2701acddad0a9d80c648ba1fc9463b3"},"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":"b15e7c4516957eb0ce628a71875180462280b3da835590c3e3ea26dfe36c7cc0"},"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":"dcfa4da9215284db6a6355a359d46e54ece6d33a8e6548e02570fa88e565fa20"},"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":"c1bb7814097052b3b9e49cf20adb5ffa3c94da3abc00863955683dc4725b2e91"},"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":"99c1ac5c2d753388aeec1f513d3f9399a3c733a9428debab20a07c653ad6aea2"},"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":"f9402530fa4d7a0d641f714739509dbc4865bafa92f4d1d5c5b5d487add88ab3"},"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":"68174471942b8c5506fa8f31f973c8dfc47781500baa2463ef887d9ec9ed518c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"50beb43b9b11ad11d214341b3f8ea9817f7c9cdaae6587a42b614fa822ff386a"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-552","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"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":"2f7017a060d0e4d12546ceeda7d43e47f500483e360e2ef47dd736722b94b7ed"},"properties":{"dependency":{"package":"deepmerge","version":"4.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"759dca709f1a032fb6f624ce672e6afb5558fce53ecf01fb73618c4d33923164"},"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":"de78e8a2371e4ecc08ea2ebc7d0a672d7de892ace1cd8ec727a55d77c88b4d36"},"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":"31390f5e8819d1a3454b336264043597c251443794406bd59366394284d822e8"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c593d4dbd23724f337bfb8d2c1653812f143ae255bd9b59d4b3e9c37779fa6f4"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M3","level":"note","message":{"text":"No src/ separation: Production code isn\u0027t grouped under a src/ folder \u2014 it\u0027s spread across several top-level directories, so there\u0027s no one place that says \u0027this is the product\u0027."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"fdf7f5b24e313364d10170a5c2542959902fe0d26ed70edef3eaa10ec5bcdb1d"}},{"ruleId":"P1","level":"note","message":{"text":"CI build step not evidenced: A CI pipeline exists but no build step was matched \u2014 changes may merge without the build ever running. A build step may be invoked directly as a command, or declared as a task that a runner named in the pipeline resolves."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"251015acef1a259fcc13b7c60660cc8917ccb3ae8056cb5165ae03312dd586e8"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add CodeQL\u0027s javascript-typescript pack, \u0060semgrep --config=p/javascript\u0060, or eslint-plugin-security as a CI step. What was searched, so you can tell an absence from a miss: the 12531 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/ci.yml"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060package/ego-browser/package.json\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package/ego-browser/package.json"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"14e2a1c5859fcc4a4140ee9be9ee775ce32634f04f5980f5cc3be14564a4457a"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"R1","level":"warning","message":{"text":"Type Safety: 0 typed \u00B7 15 plain JS \u2014 the untyped files are plugins/ego/dsh/src/index.js, plugins/ego/index.js, plugins/ego/tests/claude-plugin-mode-isolation.test.mjs, plugins/ego/tests/cross-host-plugin.test.mjs, plugins/ego/tests/dsh-plugin.test.mjs, plugins/ego/tests/plugin-packaging.test.mjs (\u002B9 more)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d00ee7953f55325a823d27e5db9657c80ca9b9861c0c0abf8fe487cd3fa586d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): skills/ego-browser/learnings/github/tools/search-repos.js:2 \u00B7 skills/ego-browser/learnings/google/tools/search-extract.js:2 \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":"skills/ego-browser/learnings/github/tools/search-repos.js"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"6606c5076aac967698340e61ba9ef5c19869d0177752b443df5d2d8f03dfa62a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): skills/ego-browser/learnings/github/tools/search-repos.js:2 \u00B7 skills/ego-browser/learnings/google/tools/search-extract.js:2 \u00B7 skills/ego-browser/learnings/x-com/tools/timeline.js:2 \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":"skills/ego-browser/learnings/github/tools/search-repos.js"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd1931d510b286fe73bdf4620b14241a5a42e53e8ca90d7194786d950b80406c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cdp (cyclomatic 96, cognitive 192): cdp has cyclomatic complexity 96 and cognitive complexity 192; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package/ego-browser/src/page-model.test.mjs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f70b1bff2fb8cf191fc7a7e5e5e04e334177ff369dfe315adb716420be05225"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function packagePlugin (cyclomatic 25, cognitive 44): packagePlugin has cyclomatic complexity 25 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":"plugins/scripts/package-plugins.mjs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"08d02742071491aa4e682968d667bccf0f3cca66959bdb00ad24eec9f97f8db3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertArtifacts (cyclomatic 18, cognitive 41): assertArtifacts has cyclomatic complexity 18 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":"plugins/ego/tests/plugin-packaging.test.mjs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0123d6992fa838631c8bba91c2e456c6af490e49b3aff2dcd1c790656c1e7ae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cdp (cyclomatic 14, cognitive 20): cdp has cyclomatic complexity 14 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":"package/ego-browser/src/page-actions.test.mjs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"603b006ac27a32a480d26e89d20f89827a51a75d0df5fc1b1f205e77cbc38e5f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cdp (cyclomatic 13, cognitive 18): cdp 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":"package/ego-browser/src/page-actions.test.mjs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"d191535664f8de043b4b18d6a02568a816acb9e12a6664d2d8a6a83223a03227"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArguments (cyclomatic 13, cognitive 16): parseArguments 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":"plugins/scripts/package-plugins.mjs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8614ef9629f3c982ce05ed38775a756116c32230cd1863810e08100d9a29300"}},{"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":"plugins/scripts/package-plugins.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3eab0f7eeafbf43ffe9a42d9237cdd8727ab79dc827c2cef56250974349a755"}},{"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":"skills/ego-browser/learnings/github/tools/search-repos.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f403698f5dd4ee8b2d2408718d3f2c8823e7dfee9aa2f9677a8f9083c826d20"}},{"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":"skills/ego-browser/learnings/google/tools/search-extract.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2318eaf010af3e573b474069ded3dba56c37f1b40676a5c07e777552d9887c68"}},{"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":"skills/ego-browser/learnings/github/tools/open-issues.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"98965a38d8101959e0b485b8f12428371f5a74b0857d1b87287bd92eb4d526da"}},{"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":"skills/ego-browser/learnings/x-com/tools/timeline.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4293e8c5d9b04d7023fbe06860a9a7e4ac01d1ddd79d184b20da2881a79ab4c2"}},{"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":"skills/ego-browser/learnings/x-com/tools/search-users.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9843863be6613c78ecb276607d779d3f646ded9af5106ce120d4945656545435"}},{"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":"skills/ego-browser/learnings/google/browser-tools/autocomplete.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e34b2c0254cdfc912384e44991e34095148889b75fc72f3e50ac6eeea8e789d"}},{"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":"skills/ego-browser/learnings/github/browser-tools/repo-stats.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"176a9445e1e4a56b30c20925c812a85f0b47e626bee3af1a517a2896a361d2f5"}},{"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":"skills/ego-browser/learnings/x-com/browser-tools/extract-post.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eff2e813a0805df8acd3acd8bd55297a05e1e15e5ead4232aba7a10b9d37640"}},{"ruleId":"R6","level":"warning","message":{"text":"No typecheck script: test \u2713 \u00B7 lint \u2713 \u00B7 typecheck \u2717 \u2014 read from this repository\u0027s package.json scripts and corroborated against its CI workflows. A script counts when its name or command matches the step: \u0060test\u0060 for the suite, \u0060lint\u0060 or \u0060prettier\u0060 for linting, \u0060typecheck\u0060/\u0060type-check\u0060/\u0060tsc\u0060 for type checking. \u2717 therefore means no script or CI step under those names was found, NOT that the step is absent from your pipeline \u2014 a task invoked by a runner this check does not read, or named something else entirely, is not seen and is worth confirming before acting on a cross. A \u2713 means the wiring is DECLARED \u2014 a script or CI step under those names exists. It is not a statement that the step passes, or that it runs at all: nothing here installs a dependency or executes a suite."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"912edc7f1fd20bf80ef68c3293e3048565115e48707dc5f9d492201598794658"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~30 LoC): no import path from any entry point (3 application, 1 tooling, 40 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":"skills/ego-browser/learnings/github/tools/search-repos.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"deff54073513a7cb23bd38041416ef881b04a70aa4674949cd07d5a1981197db"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~25 LoC): no import path from any entry point (3 application, 1 tooling, 40 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":"skills/ego-browser/learnings/google/tools/search-extract.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eed6929a3684c4cf5aefd76a680beb94ff168572e1f95e81e8f89224bd5fc49"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~24 LoC): no import path from any entry point (3 application, 1 tooling, 40 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":"skills/ego-browser/learnings/github/tools/open-issues.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2405d4c8f3906e0859de706e651c6759781c9fe4f8de8282685f3c8218a41a84"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~21 LoC): no import path from any entry point (3 application, 1 tooling, 40 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":"skills/ego-browser/learnings/x-com/tools/timeline.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b610525163e52762fa24064137f2d22189a025277bd968f872f8e5267c7e887"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~18 LoC): no import path from any entry point (3 application, 1 tooling, 40 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":"skills/ego-browser/learnings/x-com/tools/search-users.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32a4efe4da74f5f065403e319c033d57a7f0f085dfb12453c5217762e7884401"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~11 LoC): no import path from any entry point (3 application, 1 tooling, 40 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":"skills/ego-browser/learnings/google/browser-tools/autocomplete.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e454358525e0410f876a36480d9b9d241f12d3014cf143a74877be5ebb4dc7b5"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~10 LoC): no import path from any entry point (3 application, 1 tooling, 40 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":"skills/ego-browser/learnings/github/browser-tools/repo-stats.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ae2f541dd197972d0a575a7ef0e680d21400cc27595a0d6df2da7ad2d11bfa8"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~9 LoC): no import path from any entry point (3 application, 1 tooling, 40 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":"skills/ego-browser/learnings/x-com/browser-tools/extract-post.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35d424b654fe69d4f0fc9f7979dfe72367e203f1a08fd8d63cf73e33a5dd012c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Number.isInteger(spaceId) || spaceId \u003C 0\u0060 appears character-identically in 2 files \u2014 package/ego-browser/src/native-gate.ts, package/ego-browser/src/page-ledger.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":"package/ego-browser/src/native-gate.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"257a42640ac154ff289a295ee27b7129c9d42fe22b25b4d69fdae830bb542ca1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!value || typeof value !== \u0022object\u0022 || Array.isArray(value)\u0060 appears character-identically in 5 files \u2014 package/ego-browser/src/learning/check-domain-learning.ts, package/ego-browser/src/learning/validate-learning-format.ts, package/ego-browser/src/page-ledger.ts, package/ego-browser/src/page-model.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":"package/ego-browser/src/learning/check-domain-learning.ts"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3be2e3f6da29bebeb67a7e518ac08cb2ebe125f5566ad9031fe97219040d8ac"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060backendNodeId === undefined || backendNodeId === null\u0060 appears character-identically in 2 files \u2014 package/ego-browser/src/driver/page-actions.ts, package/ego-browser/src/element-resolver.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":"package/ego-browser/src/driver/page-actions.ts"},"region":{"startLine":1536}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4c37299406b839ee545ea9b10419dc3a569c0f8d0210b6623cbf70a2cf09c06"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error.message.includes(\u0022Execution context was destroyed\u0022) || error.message.includes(\u0022Cannot find context with specified id\u0022) || error.messag\u2026\u0060 appears character-identically in 2 files \u2014 package/ego-browser/src/driver/page-waits.ts, package/ego-browser/src/page-model.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":"package/ego-browser/src/driver/page-waits.ts"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"84838c676733fad44d548984df5c439e6e9f0f634c71034247748c1147205f02"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isCdpRequestTimeoutError(error) || isSessionLostError(error)\u0060 appears character-identically in 2 files \u2014 package/ego-browser/src/driver/page-waits.ts, package/ego-browser/src/driver/waits.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":"package/ego-browser/src/driver/page-waits.ts"},"region":{"startLine":922}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a9045f2a209531ebaddd5af4e76ae5b33041a1ec6f38cee2a4eb8a80ae489e4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isSessionLostError(error) \u0026\u0026 typeof error.sessionId === \u0022string\u0022 \u0026\u0026 error.sessionId !== pageSessionId\u0060 appears character-identically in 2 files \u2014 package/ego-browser/src/driver/page-waits.ts, package/ego-browser/src/page-model.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":"package/ego-browser/src/driver/page-waits.ts"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"47102cae81337f97ce75dd459035a809126b5602041439d515365dbea76f1b59"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result?.tabs || result?.targetInfos || []\u0060 appears character-identically in 2 files \u2014 package/ego-browser/src/browser-runtime.ts, package/ego-browser/src/page-model.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":"package/ego-browser/src/browser-runtime.ts"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"39473f92232b945a526686b2a5f2544d4a947ebaad1d607724be067148b1a5d7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof path !== \u0022string\u0022 || path.length === 0 || !isAbsolute(path)\u0060 appears character-identically in 2 files \u2014 package/ego-browser/src/driver/downloads.ts, package/ego-browser/src/page-model.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":"package/ego-browser/src/driver/downloads.ts"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1d04fb1b25861bfb2bce5bda9816660db0d6f196e45fff8647e008ccf85e0db"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof targetId !== \u0022string\u0022 || targetId.length === 0\u0060 appears character-identically in 4 files \u2014 package/ego-browser/src/browser-runtime.ts, package/ego-browser/src/page-ledger.ts, package/ego-browser/src/page-model.ts, package/ego-browser/src/page-ref-registry.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":"package/ego-browser/src/browser-runtime.ts"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"11e85fd08c5f15373d7ebfb2ec6b22b1d085a47a70a5a1a13b66ec24f9e90ba8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value?.x !== \u0022number\u0022 || typeof value?.y !== \u0022number\u0022\u0060 appears character-identically in 2 files \u2014 package/ego-browser/src/driver/pointer.ts, package/ego-browser/src/element-resolver.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":"package/ego-browser/src/driver/pointer.ts"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"99c9c78f96a33b7d04a2e8215cc6512cc53c47c17639dcb01c0aead54f1271e1"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060iterLearningDirs\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":"package/ego-browser/src/learning/check-domain-learning.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfe918ead12629b57b21cc712295a7937f41a2e6bc72b03d536cbe34b2f8b704"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060urlHostname\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":"package/ego-browser/src/learning/check-domain-learning.ts"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"88c5a91e0e13daf603d0608dd2fa7892af81bf41595ad0dd1599c0306651c7d5"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060validateDomLocatorBackendNodes\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":"package/ego-browser/src/element-resolver.ts"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"d84f7bd2c73df4c314f9f5056d52613b1587a47ea23c4b42194975fe2d60a0af"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060currentDocumentState\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":"package/ego-browser/src/driver/page-waits.ts"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"63e4e59c0d2ba51638a340ae1a2f1d46e90d897da26d96fabdaa76c3e0f9872b"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-552","guid":"3492436b-eca2-9c54-9ba3-5dade427c903","name":"Files or Directories Accessible to External Parties","shortDescription":{"text":"Files or Directories Accessible to External Parties"},"helpUri":"https://cwe.mitre.org/data/definitions/552.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-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":18,"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."]}]}